Reformat All
This commit is contained in:
parent
42f06e5d69
commit
efa108d336
12 changed files with 801 additions and 797 deletions
|
@ -1,291 +1,291 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<profiles version="12">
|
||||
<profile kind="CodeFormatterProfile" name="Assembly Line Standard" version="12">
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="48"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="1000"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="9999"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<profiles version="12">
|
||||
<profile kind="CodeFormatterProfile" name="Calclavia Standard" version="12">
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="48"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.source" value="1.7"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="1000"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="tab"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.7"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="100"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.7"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
||||
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
|
|
@ -1,476 +1,475 @@
|
|||
package assemblyline.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
public class ModelCraneRail extends ModelBase
|
||||
{
|
||||
// left
|
||||
ModelRenderer SegmentUBLeft;
|
||||
ModelRenderer SegmentUFLeft;
|
||||
ModelRenderer SegmentBFLeft;
|
||||
ModelRenderer SegmentBBLeft;
|
||||
// back
|
||||
ModelRenderer SegmentBLBack;
|
||||
ModelRenderer SegmentLUBack;
|
||||
ModelRenderer SegmentRUBack;
|
||||
ModelRenderer SegmentBRBack;
|
||||
// front
|
||||
ModelRenderer SegmentBLFront;
|
||||
ModelRenderer SegmentLUFront;
|
||||
ModelRenderer SegmentRUFront;
|
||||
ModelRenderer SegmentBRFront;
|
||||
// up
|
||||
ModelRenderer SegmentLBUp;
|
||||
ModelRenderer SegmentRBUp;
|
||||
ModelRenderer SegmentLFUp;
|
||||
ModelRenderer SegmentRFUp;
|
||||
// right
|
||||
ModelRenderer SegmentUBRight;
|
||||
ModelRenderer SegmentBFRight;
|
||||
ModelRenderer SegmentUFRight;
|
||||
ModelRenderer SegmentBBRight;
|
||||
// down
|
||||
ModelRenderer SegmentLFDown;
|
||||
ModelRenderer SegmentLBDown;
|
||||
ModelRenderer SegmentRBDown;
|
||||
ModelRenderer SegmentRFDown;
|
||||
|
||||
// middle
|
||||
ModelRenderer SegmentBFMid;
|
||||
ModelRenderer SegmentUBMid;
|
||||
ModelRenderer SegmentBBMid;
|
||||
ModelRenderer SegmentUFMid;
|
||||
ModelRenderer SegmentLBMid;
|
||||
ModelRenderer SegmentLFMid;
|
||||
ModelRenderer SegmentRBMid;
|
||||
ModelRenderer SegmentRFMid;
|
||||
ModelRenderer SegmentRUMid;
|
||||
ModelRenderer SegmentBRMid;
|
||||
ModelRenderer SegmentBLMid;
|
||||
ModelRenderer SegmentLUMid;
|
||||
ModelRenderer SegmentMidDiag1;
|
||||
ModelRenderer SegmentMidDiag2;
|
||||
ModelRenderer SegmentMidDiag3;
|
||||
ModelRenderer SegmentMidDiag4;
|
||||
ModelRenderer SegmentMidDiag5;
|
||||
ModelRenderer SegmentMidDiag6;
|
||||
ModelRenderer SegmentMidDiag7;
|
||||
ModelRenderer SegmentMidDiag8;
|
||||
ModelRenderer FootBottom;
|
||||
ModelRenderer FootTop;
|
||||
|
||||
public ModelCraneRail()
|
||||
{
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
SegmentBLBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentBLBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBLBack.setRotationPoint(3F, 19F, 4F);
|
||||
SegmentBLBack.setTextureSize(64, 32);
|
||||
SegmentBLBack.mirror = true;
|
||||
setRotation(SegmentBLBack, 0F, 0F, 0F);
|
||||
SegmentLUBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentLUBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentLUBack.setRotationPoint(3F, 12F, 4F);
|
||||
SegmentLUBack.setTextureSize(64, 32);
|
||||
SegmentLUBack.mirror = true;
|
||||
setRotation(SegmentLUBack, 0F, 0F, 0F);
|
||||
SegmentRUBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentRUBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentRUBack.setRotationPoint(-4F, 12F, 4F);
|
||||
SegmentRUBack.setTextureSize(64, 32);
|
||||
SegmentRUBack.mirror = true;
|
||||
setRotation(SegmentRUBack, 0F, 0F, 0F);
|
||||
SegmentBRBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentBRBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBRBack.setRotationPoint(-4F, 19F, 4F);
|
||||
SegmentBRBack.setTextureSize(64, 32);
|
||||
SegmentBRBack.mirror = true;
|
||||
setRotation(SegmentBRBack, 0F, 0F, 0F);
|
||||
SegmentBLFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentBLFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBLFront.setRotationPoint(3F, 19F, -8F);
|
||||
SegmentBLFront.setTextureSize(64, 32);
|
||||
SegmentBLFront.mirror = true;
|
||||
setRotation(SegmentBLFront, 0F, 0F, 0F);
|
||||
SegmentLUFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentLUFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentLUFront.setRotationPoint(3F, 12F, -8F);
|
||||
SegmentLUFront.setTextureSize(64, 32);
|
||||
SegmentLUFront.mirror = true;
|
||||
setRotation(SegmentLUFront, 0F, 0F, 0F);
|
||||
SegmentRUFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentRUFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentRUFront.setRotationPoint(-4F, 12F, -8F);
|
||||
SegmentRUFront.setTextureSize(64, 32);
|
||||
SegmentRUFront.mirror = true;
|
||||
setRotation(SegmentRUFront, 0F, 0F, 0F);
|
||||
SegmentBRFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentBRFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBRFront.setRotationPoint(-4F, 19F, -8F);
|
||||
SegmentBRFront.setTextureSize(64, 32);
|
||||
SegmentBRFront.mirror = true;
|
||||
setRotation(SegmentBRFront, 0F, 0F, 0F);
|
||||
SegmentLBUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentLBUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLBUp.setRotationPoint(3F, 8F, 3F);
|
||||
SegmentLBUp.setTextureSize(64, 32);
|
||||
SegmentLBUp.mirror = true;
|
||||
setRotation(SegmentLBUp, 0F, 0F, 0F);
|
||||
SegmentRBUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentRBUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRBUp.setRotationPoint(-4F, 8F, 3F);
|
||||
SegmentRBUp.setTextureSize(64, 32);
|
||||
SegmentRBUp.mirror = true;
|
||||
setRotation(SegmentRBUp, 0F, 0F, 0F);
|
||||
SegmentLFUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentLFUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLFUp.setRotationPoint(3F, 8F, -4F);
|
||||
SegmentLFUp.setTextureSize(64, 32);
|
||||
SegmentLFUp.mirror = true;
|
||||
setRotation(SegmentLFUp, 0F, 0F, 0F);
|
||||
SegmentRFUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentRFUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRFUp.setRotationPoint(-4F, 8F, -4F);
|
||||
SegmentRFUp.setTextureSize(64, 32);
|
||||
SegmentRFUp.mirror = true;
|
||||
setRotation(SegmentRFUp, 0F, 0F, 0F);
|
||||
SegmentUBRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentUBRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUBRight.setRotationPoint(-8F, 12F, 3F);
|
||||
SegmentUBRight.setTextureSize(64, 32);
|
||||
SegmentUBRight.mirror = true;
|
||||
setRotation(SegmentUBRight, 0F, 0F, 0F);
|
||||
SegmentBFRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentBFRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBFRight.setRotationPoint(-8F, 19F, -4F);
|
||||
SegmentBFRight.setTextureSize(64, 32);
|
||||
SegmentBFRight.mirror = true;
|
||||
setRotation(SegmentBFRight, 0F, 0F, 0F);
|
||||
SegmentUFRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentUFRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUFRight.setRotationPoint(-8F, 12F, -4F);
|
||||
SegmentUFRight.setTextureSize(64, 32);
|
||||
SegmentUFRight.mirror = true;
|
||||
setRotation(SegmentUFRight, 0F, 0F, 0F);
|
||||
SegmentBBRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentBBRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBBRight.setRotationPoint(-8F, 19F, 3F);
|
||||
SegmentBBRight.setTextureSize(64, 32);
|
||||
SegmentBBRight.mirror = true;
|
||||
setRotation(SegmentBBRight, 0F, 0F, 0F);
|
||||
SegmentLFDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentLFDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLFDown.setRotationPoint(3F, 20F, -4F);
|
||||
SegmentLFDown.setTextureSize(64, 32);
|
||||
SegmentLFDown.mirror = true;
|
||||
setRotation(SegmentLFDown, 0F, 0F, 0F);
|
||||
SegmentLBDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentLBDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLBDown.setRotationPoint(3F, 20F, 3F);
|
||||
SegmentLBDown.setTextureSize(64, 32);
|
||||
SegmentLBDown.mirror = true;
|
||||
setRotation(SegmentLBDown, 0F, 0F, 0F);
|
||||
SegmentRBDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentRBDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRBDown.setRotationPoint(-4F, 20F, 3F);
|
||||
SegmentRBDown.setTextureSize(64, 32);
|
||||
SegmentRBDown.mirror = true;
|
||||
setRotation(SegmentRBDown, 0F, 0F, 0F);
|
||||
FootTop = new ModelRenderer(this, 24, 0);
|
||||
FootTop.addBox(0F, 0F, 0F, 10, 2, 10);
|
||||
FootTop.setRotationPoint(-5F, 20F, -5F);
|
||||
FootTop.setTextureSize(64, 32);
|
||||
FootTop.mirror = true;
|
||||
setRotation(FootTop, 0F, 0F, 0F);
|
||||
SegmentRFDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentRFDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRFDown.setRotationPoint(-4F, 20F, -4F);
|
||||
SegmentRFDown.setTextureSize(64, 32);
|
||||
SegmentRFDown.mirror = true;
|
||||
setRotation(SegmentRFDown, 0F, 0F, 0F);
|
||||
FootBottom = new ModelRenderer(this, 0, 18);
|
||||
FootBottom.addBox(0F, 0F, 0F, 12, 2, 12);
|
||||
FootBottom.setRotationPoint(-6F, 22F, -6F);
|
||||
FootBottom.setTextureSize(64, 32);
|
||||
FootBottom.mirror = true;
|
||||
setRotation(FootBottom, 0F, 0F, 0F);
|
||||
SegmentBFMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentBFMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentBFMid.setRotationPoint(-4F, 19F, -4F);
|
||||
SegmentBFMid.setTextureSize(64, 32);
|
||||
SegmentBFMid.mirror = true;
|
||||
setRotation(SegmentBFMid, 0F, 0F, 0F);
|
||||
SegmentUBMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentUBMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentUBMid.setRotationPoint(-4F, 12F, 3F);
|
||||
SegmentUBMid.setTextureSize(64, 32);
|
||||
SegmentUBMid.mirror = true;
|
||||
setRotation(SegmentUBMid, 0F, 0F, 0F);
|
||||
SegmentBBMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentBBMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentBBMid.setRotationPoint(-4F, 19F, 3F);
|
||||
SegmentBBMid.setTextureSize(64, 32);
|
||||
SegmentBBMid.mirror = true;
|
||||
setRotation(SegmentBBMid, 0F, 0F, 0F);
|
||||
SegmentUFMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentUFMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentUFMid.setRotationPoint(-4F, 12F, -4F);
|
||||
SegmentUFMid.setTextureSize(64, 32);
|
||||
SegmentUFMid.mirror = true;
|
||||
setRotation(SegmentUFMid, 0F, 0F, 0F);
|
||||
SegmentLBMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentLBMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentLBMid.setRotationPoint(3F, 13F, 3F);
|
||||
SegmentLBMid.setTextureSize(64, 32);
|
||||
SegmentLBMid.mirror = true;
|
||||
setRotation(SegmentLBMid, 0F, 0F, 0F);
|
||||
SegmentLFMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentLFMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentLFMid.setRotationPoint(3F, 13F, -4F);
|
||||
SegmentLFMid.setTextureSize(64, 32);
|
||||
SegmentLFMid.mirror = true;
|
||||
setRotation(SegmentLFMid, 0F, 0F, 0F);
|
||||
SegmentRBMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentRBMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentRBMid.setRotationPoint(-4F, 13F, 3F);
|
||||
SegmentRBMid.setTextureSize(64, 32);
|
||||
SegmentRBMid.mirror = true;
|
||||
setRotation(SegmentRBMid, 0F, 0F, 0F);
|
||||
SegmentRFMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentRFMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentRFMid.setRotationPoint(-4F, 13F, -4F);
|
||||
SegmentRFMid.setTextureSize(64, 32);
|
||||
SegmentRFMid.mirror = true;
|
||||
setRotation(SegmentRFMid, 0F, 0F, 0F);
|
||||
SegmentMidDiag4 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag4.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag4.setRotationPoint(-3.99F, 12F, -3F);
|
||||
SegmentMidDiag4.setTextureSize(64, 32);
|
||||
SegmentMidDiag4.mirror = true;
|
||||
setRotation(SegmentMidDiag4, -0.7853982F, 0F, 0F);
|
||||
SegmentRUMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentRUMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentRUMid.setRotationPoint(-4F, 12F, -3F);
|
||||
SegmentRUMid.setTextureSize(64, 32);
|
||||
SegmentRUMid.mirror = true;
|
||||
setRotation(SegmentRUMid, 0F, 0F, 0F);
|
||||
SegmentBRMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentBRMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentBRMid.setRotationPoint(-4F, 19F, -3F);
|
||||
SegmentBRMid.setTextureSize(64, 32);
|
||||
SegmentBRMid.mirror = true;
|
||||
setRotation(SegmentBRMid, 0F, 0F, 0F);
|
||||
SegmentBLMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentBLMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentBLMid.setRotationPoint(3F, 19F, -3F);
|
||||
SegmentBLMid.setTextureSize(64, 32);
|
||||
SegmentBLMid.mirror = true;
|
||||
setRotation(SegmentBLMid, 0F, 0F, 0F);
|
||||
SegmentLUMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentLUMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentLUMid.setRotationPoint(3F, 12F, -3F);
|
||||
SegmentLUMid.setTextureSize(64, 32);
|
||||
SegmentLUMid.mirror = true;
|
||||
setRotation(SegmentLUMid, 0F, 0F, 0F);
|
||||
SegmentMidDiag3 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag3.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag3.setRotationPoint(-4F, 19F, -4F);
|
||||
SegmentMidDiag3.setTextureSize(64, 32);
|
||||
SegmentMidDiag3.mirror = true;
|
||||
setRotation(SegmentMidDiag3, 0.7853982F, 0F, 0F);
|
||||
SegmentMidDiag7 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag7.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag7.setRotationPoint(-2.99F, 12F, 4F);
|
||||
SegmentMidDiag7.setTextureSize(64, 32);
|
||||
SegmentMidDiag7.mirror = true;
|
||||
setRotation(SegmentMidDiag7, -0.7853982F, 1.570796F, 0F);
|
||||
SegmentMidDiag8 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag8.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag8.setRotationPoint(-4F, 19F, 4F);
|
||||
SegmentMidDiag8.setTextureSize(64, 32);
|
||||
SegmentMidDiag8.mirror = true;
|
||||
setRotation(SegmentMidDiag8, 0.7853982F, 1.570796F, 0F);
|
||||
SegmentMidDiag1 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag1.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag1.setRotationPoint(3F, 19F, -4F);
|
||||
SegmentMidDiag1.setTextureSize(64, 32);
|
||||
SegmentMidDiag1.mirror = true;
|
||||
setRotation(SegmentMidDiag1, 0.7853982F, 0F, 0F);
|
||||
SegmentMidDiag2 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag2.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag2.setRotationPoint(3.01F, 12F, -3F);
|
||||
SegmentMidDiag2.setTextureSize(64, 32);
|
||||
SegmentMidDiag2.mirror = true;
|
||||
setRotation(SegmentMidDiag2, -0.7853982F, 0F, 0F);
|
||||
SegmentMidDiag6 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag6.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag6.setRotationPoint(-4F, 19F, -3F);
|
||||
SegmentMidDiag6.setTextureSize(64, 32);
|
||||
SegmentMidDiag6.mirror = true;
|
||||
setRotation(SegmentMidDiag6, 0.7853982F, 1.570796F, 0F);
|
||||
SegmentMidDiag5 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag5.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag5.setRotationPoint(-2.99F, 12F, -3F);
|
||||
SegmentMidDiag5.setTextureSize(64, 32);
|
||||
SegmentMidDiag5.mirror = true;
|
||||
setRotation(SegmentMidDiag5, -0.7853982F, 1.570796F, 0F);
|
||||
SegmentUBLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentUBLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUBLeft.setRotationPoint(4F, 12F, 3F);
|
||||
SegmentUBLeft.setTextureSize(64, 32);
|
||||
SegmentUBLeft.mirror = true;
|
||||
setRotation(SegmentUBLeft, 0F, 0F, 0F);
|
||||
SegmentUFLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentUFLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUFLeft.setRotationPoint(4F, 12F, -4F);
|
||||
SegmentUFLeft.setTextureSize(64, 32);
|
||||
SegmentUFLeft.mirror = true;
|
||||
setRotation(SegmentUFLeft, 0F, 0F, 0F);
|
||||
SegmentBFLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentBFLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBFLeft.setRotationPoint(4F, 19F, -4F);
|
||||
SegmentBFLeft.setTextureSize(64, 32);
|
||||
SegmentBFLeft.mirror = true;
|
||||
setRotation(SegmentBFLeft, 0F, 0F, 0F);
|
||||
SegmentBBLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentBBLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBBLeft.setRotationPoint(4F, 19F, 3F);
|
||||
SegmentBBLeft.setTextureSize(64, 32);
|
||||
SegmentBBLeft.mirror = true;
|
||||
setRotation(SegmentBBLeft, 0F, 0F, 0F);
|
||||
fixPositions();
|
||||
}
|
||||
|
||||
// this offsets some positions to avoid Z-Fighting
|
||||
public void fixPositions()
|
||||
{
|
||||
SegmentBLBack.setRotationPoint(3F, 19F, 4F);
|
||||
SegmentLUBack.setRotationPoint(3F, 12F, 4F);
|
||||
SegmentRUBack.setRotationPoint(-4F, 12F, 4F);
|
||||
SegmentBRBack.setRotationPoint(-4F, 19F, 4F);
|
||||
SegmentBLFront.setRotationPoint(3F, 19F, -8F);
|
||||
SegmentLUFront.setRotationPoint(3F, 12F, -8F);
|
||||
SegmentRUFront.setRotationPoint(-4F, 12F, -8F);
|
||||
SegmentBRFront.setRotationPoint(-4F, 19F, -8F);
|
||||
SegmentLBUp.setRotationPoint(3F, 8F, 3F);
|
||||
SegmentRBUp.setRotationPoint(-4F, 8F, 3F);
|
||||
SegmentLFUp.setRotationPoint(3F, 8F, -4F);
|
||||
SegmentRFUp.setRotationPoint(-4F, 8F, -4F);
|
||||
SegmentUBRight.setRotationPoint(-8F, 12F, 3F);
|
||||
SegmentBFRight.setRotationPoint(-8F, 19F, -4F);
|
||||
SegmentUFRight.setRotationPoint(-8F, 12F, -4F);
|
||||
SegmentBBRight.setRotationPoint(-8F, 19F, 3F);
|
||||
SegmentLFDown.setRotationPoint(3F, 20F, -4F);
|
||||
SegmentLBDown.setRotationPoint(3F, 20F, 3F);
|
||||
SegmentRBDown.setRotationPoint(-4F, 20F, 3F);
|
||||
SegmentRFDown.setRotationPoint(-4F, 20F, -4F);
|
||||
SegmentBFMid.setRotationPoint(-4F, 19F, -4F);
|
||||
SegmentUBMid.setRotationPoint(-4F, 12F, 3F);
|
||||
SegmentBBMid.setRotationPoint(-4F, 19F, 3F);
|
||||
SegmentUFMid.setRotationPoint(-4F, 12F, -4F);
|
||||
SegmentLBMid.setRotationPoint(3F, 13F, 3F);
|
||||
SegmentLFMid.setRotationPoint(3F, 13F, -4F);
|
||||
SegmentRBMid.setRotationPoint(-4F, 13F, 3F);
|
||||
SegmentRFMid.setRotationPoint(-4F, 13F, -4F);
|
||||
SegmentRUMid.setRotationPoint(-4F, 12F, -3F);
|
||||
SegmentBRMid.setRotationPoint(-4F, 19F, -3F);
|
||||
SegmentBLMid.setRotationPoint(3F, 19F, -3F);
|
||||
SegmentLUMid.setRotationPoint(3F, 12F, -3F);
|
||||
SegmentMidDiag1.setRotationPoint(2.99F, 19.1F, -4F);
|
||||
SegmentMidDiag2.setRotationPoint(2.99F, 12F, -3.1F);
|
||||
SegmentMidDiag3.setRotationPoint(-3.99F, 19.1F, -4F);
|
||||
SegmentMidDiag4.setRotationPoint(-3.99F, 12F, -3.1F);
|
||||
SegmentMidDiag5.setRotationPoint(-3.1F, 12F, -2.99F);
|
||||
SegmentMidDiag6.setRotationPoint(-4F, 19.1F, -2.99F);
|
||||
SegmentMidDiag7.setRotationPoint(-3.1F, 12F, 3.99F);
|
||||
SegmentMidDiag8.setRotationPoint(-4F, 19F, 3.99F);
|
||||
SegmentUBLeft.setRotationPoint(4F, 12F, 3F);
|
||||
SegmentUFLeft.setRotationPoint(4F, 12F, -4F);
|
||||
SegmentBFLeft.setRotationPoint(4F, 19F, -4F);
|
||||
SegmentBBLeft.setRotationPoint(4F, 19F, 3F);
|
||||
}
|
||||
|
||||
public void render(boolean up, boolean down, boolean left, boolean right, boolean front, boolean back, boolean foot)
|
||||
{
|
||||
float scale = 0.0625f;
|
||||
if (up)
|
||||
{
|
||||
SegmentLBUp.render(scale);
|
||||
SegmentRBUp.render(scale);
|
||||
SegmentLFUp.render(scale);
|
||||
SegmentRFUp.render(scale);
|
||||
}
|
||||
if (down)
|
||||
{
|
||||
SegmentLFDown.render(scale);
|
||||
SegmentLBDown.render(scale);
|
||||
SegmentRBDown.render(scale);
|
||||
SegmentRFDown.render(scale);
|
||||
}
|
||||
if (left)
|
||||
{
|
||||
SegmentUBLeft.render(scale);
|
||||
SegmentUFLeft.render(scale);
|
||||
SegmentBFLeft.render(scale);
|
||||
SegmentBBLeft.render(scale);
|
||||
}
|
||||
if (right)
|
||||
{
|
||||
SegmentUBRight.render(scale);
|
||||
SegmentBFRight.render(scale);
|
||||
SegmentUFRight.render(scale);
|
||||
SegmentBBRight.render(scale);
|
||||
}
|
||||
if (front)
|
||||
{
|
||||
SegmentBLFront.render(scale);
|
||||
SegmentLUFront.render(scale);
|
||||
SegmentRUFront.render(scale);
|
||||
SegmentBRFront.render(scale);
|
||||
}
|
||||
if (back)
|
||||
{
|
||||
SegmentBLBack.render(scale);
|
||||
SegmentLUBack.render(scale);
|
||||
SegmentRUBack.render(scale);
|
||||
SegmentBRBack.render(scale);
|
||||
}
|
||||
if (foot)
|
||||
{
|
||||
FootBottom.render(scale);
|
||||
FootTop.render(scale);
|
||||
}
|
||||
SegmentBFMid.render(scale);
|
||||
SegmentUBMid.render(scale);
|
||||
SegmentBBMid.render(scale);
|
||||
SegmentUFMid.render(scale);
|
||||
SegmentLBMid.render(scale);
|
||||
SegmentLFMid.render(scale);
|
||||
SegmentRBMid.render(scale);
|
||||
SegmentRFMid.render(scale);
|
||||
SegmentRUMid.render(scale);
|
||||
SegmentBRMid.render(scale);
|
||||
SegmentBLMid.render(scale);
|
||||
SegmentLUMid.render(scale);
|
||||
SegmentMidDiag1.render(scale);
|
||||
SegmentMidDiag2.render(scale);
|
||||
SegmentMidDiag3.render(scale);
|
||||
SegmentMidDiag4.render(scale);
|
||||
SegmentMidDiag5.render(scale);
|
||||
SegmentMidDiag6.render(scale);
|
||||
SegmentMidDiag7.render(scale);
|
||||
SegmentMidDiag8.render(scale);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z)
|
||||
{
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
}
|
||||
package assemblyline.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
|
||||
public class ModelCraneRail extends ModelBase
|
||||
{
|
||||
// left
|
||||
ModelRenderer SegmentUBLeft;
|
||||
ModelRenderer SegmentUFLeft;
|
||||
ModelRenderer SegmentBFLeft;
|
||||
ModelRenderer SegmentBBLeft;
|
||||
// back
|
||||
ModelRenderer SegmentBLBack;
|
||||
ModelRenderer SegmentLUBack;
|
||||
ModelRenderer SegmentRUBack;
|
||||
ModelRenderer SegmentBRBack;
|
||||
// front
|
||||
ModelRenderer SegmentBLFront;
|
||||
ModelRenderer SegmentLUFront;
|
||||
ModelRenderer SegmentRUFront;
|
||||
ModelRenderer SegmentBRFront;
|
||||
// up
|
||||
ModelRenderer SegmentLBUp;
|
||||
ModelRenderer SegmentRBUp;
|
||||
ModelRenderer SegmentLFUp;
|
||||
ModelRenderer SegmentRFUp;
|
||||
// right
|
||||
ModelRenderer SegmentUBRight;
|
||||
ModelRenderer SegmentBFRight;
|
||||
ModelRenderer SegmentUFRight;
|
||||
ModelRenderer SegmentBBRight;
|
||||
// down
|
||||
ModelRenderer SegmentLFDown;
|
||||
ModelRenderer SegmentLBDown;
|
||||
ModelRenderer SegmentRBDown;
|
||||
ModelRenderer SegmentRFDown;
|
||||
|
||||
// middle
|
||||
ModelRenderer SegmentBFMid;
|
||||
ModelRenderer SegmentUBMid;
|
||||
ModelRenderer SegmentBBMid;
|
||||
ModelRenderer SegmentUFMid;
|
||||
ModelRenderer SegmentLBMid;
|
||||
ModelRenderer SegmentLFMid;
|
||||
ModelRenderer SegmentRBMid;
|
||||
ModelRenderer SegmentRFMid;
|
||||
ModelRenderer SegmentRUMid;
|
||||
ModelRenderer SegmentBRMid;
|
||||
ModelRenderer SegmentBLMid;
|
||||
ModelRenderer SegmentLUMid;
|
||||
ModelRenderer SegmentMidDiag1;
|
||||
ModelRenderer SegmentMidDiag2;
|
||||
ModelRenderer SegmentMidDiag3;
|
||||
ModelRenderer SegmentMidDiag4;
|
||||
ModelRenderer SegmentMidDiag5;
|
||||
ModelRenderer SegmentMidDiag6;
|
||||
ModelRenderer SegmentMidDiag7;
|
||||
ModelRenderer SegmentMidDiag8;
|
||||
ModelRenderer FootBottom;
|
||||
ModelRenderer FootTop;
|
||||
|
||||
public ModelCraneRail()
|
||||
{
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
SegmentBLBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentBLBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBLBack.setRotationPoint(3F, 19F, 4F);
|
||||
SegmentBLBack.setTextureSize(64, 32);
|
||||
SegmentBLBack.mirror = true;
|
||||
setRotation(SegmentBLBack, 0F, 0F, 0F);
|
||||
SegmentLUBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentLUBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentLUBack.setRotationPoint(3F, 12F, 4F);
|
||||
SegmentLUBack.setTextureSize(64, 32);
|
||||
SegmentLUBack.mirror = true;
|
||||
setRotation(SegmentLUBack, 0F, 0F, 0F);
|
||||
SegmentRUBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentRUBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentRUBack.setRotationPoint(-4F, 12F, 4F);
|
||||
SegmentRUBack.setTextureSize(64, 32);
|
||||
SegmentRUBack.mirror = true;
|
||||
setRotation(SegmentRUBack, 0F, 0F, 0F);
|
||||
SegmentBRBack = new ModelRenderer(this, 10, 13);
|
||||
SegmentBRBack.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBRBack.setRotationPoint(-4F, 19F, 4F);
|
||||
SegmentBRBack.setTextureSize(64, 32);
|
||||
SegmentBRBack.mirror = true;
|
||||
setRotation(SegmentBRBack, 0F, 0F, 0F);
|
||||
SegmentBLFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentBLFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBLFront.setRotationPoint(3F, 19F, -8F);
|
||||
SegmentBLFront.setTextureSize(64, 32);
|
||||
SegmentBLFront.mirror = true;
|
||||
setRotation(SegmentBLFront, 0F, 0F, 0F);
|
||||
SegmentLUFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentLUFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentLUFront.setRotationPoint(3F, 12F, -8F);
|
||||
SegmentLUFront.setTextureSize(64, 32);
|
||||
SegmentLUFront.mirror = true;
|
||||
setRotation(SegmentLUFront, 0F, 0F, 0F);
|
||||
SegmentRUFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentRUFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentRUFront.setRotationPoint(-4F, 12F, -8F);
|
||||
SegmentRUFront.setTextureSize(64, 32);
|
||||
SegmentRUFront.mirror = true;
|
||||
setRotation(SegmentRUFront, 0F, 0F, 0F);
|
||||
SegmentBRFront = new ModelRenderer(this, 10, 13);
|
||||
SegmentBRFront.addBox(0F, 0F, 0F, 1, 1, 4);
|
||||
SegmentBRFront.setRotationPoint(-4F, 19F, -8F);
|
||||
SegmentBRFront.setTextureSize(64, 32);
|
||||
SegmentBRFront.mirror = true;
|
||||
setRotation(SegmentBRFront, 0F, 0F, 0F);
|
||||
SegmentLBUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentLBUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLBUp.setRotationPoint(3F, 8F, 3F);
|
||||
SegmentLBUp.setTextureSize(64, 32);
|
||||
SegmentLBUp.mirror = true;
|
||||
setRotation(SegmentLBUp, 0F, 0F, 0F);
|
||||
SegmentRBUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentRBUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRBUp.setRotationPoint(-4F, 8F, 3F);
|
||||
SegmentRBUp.setTextureSize(64, 32);
|
||||
SegmentRBUp.mirror = true;
|
||||
setRotation(SegmentRBUp, 0F, 0F, 0F);
|
||||
SegmentLFUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentLFUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLFUp.setRotationPoint(3F, 8F, -4F);
|
||||
SegmentLFUp.setTextureSize(64, 32);
|
||||
SegmentLFUp.mirror = true;
|
||||
setRotation(SegmentLFUp, 0F, 0F, 0F);
|
||||
SegmentRFUp = new ModelRenderer(this, 20, 13);
|
||||
SegmentRFUp.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRFUp.setRotationPoint(-4F, 8F, -4F);
|
||||
SegmentRFUp.setTextureSize(64, 32);
|
||||
SegmentRFUp.mirror = true;
|
||||
setRotation(SegmentRFUp, 0F, 0F, 0F);
|
||||
SegmentUBRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentUBRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUBRight.setRotationPoint(-8F, 12F, 3F);
|
||||
SegmentUBRight.setTextureSize(64, 32);
|
||||
SegmentUBRight.mirror = true;
|
||||
setRotation(SegmentUBRight, 0F, 0F, 0F);
|
||||
SegmentBFRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentBFRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBFRight.setRotationPoint(-8F, 19F, -4F);
|
||||
SegmentBFRight.setTextureSize(64, 32);
|
||||
SegmentBFRight.mirror = true;
|
||||
setRotation(SegmentBFRight, 0F, 0F, 0F);
|
||||
SegmentUFRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentUFRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUFRight.setRotationPoint(-8F, 12F, -4F);
|
||||
SegmentUFRight.setTextureSize(64, 32);
|
||||
SegmentUFRight.mirror = true;
|
||||
setRotation(SegmentUFRight, 0F, 0F, 0F);
|
||||
SegmentBBRight = new ModelRenderer(this, 0, 13);
|
||||
SegmentBBRight.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBBRight.setRotationPoint(-8F, 19F, 3F);
|
||||
SegmentBBRight.setTextureSize(64, 32);
|
||||
SegmentBBRight.mirror = true;
|
||||
setRotation(SegmentBBRight, 0F, 0F, 0F);
|
||||
SegmentLFDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentLFDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLFDown.setRotationPoint(3F, 20F, -4F);
|
||||
SegmentLFDown.setTextureSize(64, 32);
|
||||
SegmentLFDown.mirror = true;
|
||||
setRotation(SegmentLFDown, 0F, 0F, 0F);
|
||||
SegmentLBDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentLBDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentLBDown.setRotationPoint(3F, 20F, 3F);
|
||||
SegmentLBDown.setTextureSize(64, 32);
|
||||
SegmentLBDown.mirror = true;
|
||||
setRotation(SegmentLBDown, 0F, 0F, 0F);
|
||||
SegmentRBDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentRBDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRBDown.setRotationPoint(-4F, 20F, 3F);
|
||||
SegmentRBDown.setTextureSize(64, 32);
|
||||
SegmentRBDown.mirror = true;
|
||||
setRotation(SegmentRBDown, 0F, 0F, 0F);
|
||||
FootTop = new ModelRenderer(this, 24, 0);
|
||||
FootTop.addBox(0F, 0F, 0F, 10, 2, 10);
|
||||
FootTop.setRotationPoint(-5F, 20F, -5F);
|
||||
FootTop.setTextureSize(64, 32);
|
||||
FootTop.mirror = true;
|
||||
setRotation(FootTop, 0F, 0F, 0F);
|
||||
SegmentRFDown = new ModelRenderer(this, 20, 13);
|
||||
SegmentRFDown.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
SegmentRFDown.setRotationPoint(-4F, 20F, -4F);
|
||||
SegmentRFDown.setTextureSize(64, 32);
|
||||
SegmentRFDown.mirror = true;
|
||||
setRotation(SegmentRFDown, 0F, 0F, 0F);
|
||||
FootBottom = new ModelRenderer(this, 0, 18);
|
||||
FootBottom.addBox(0F, 0F, 0F, 12, 2, 12);
|
||||
FootBottom.setRotationPoint(-6F, 22F, -6F);
|
||||
FootBottom.setTextureSize(64, 32);
|
||||
FootBottom.mirror = true;
|
||||
setRotation(FootBottom, 0F, 0F, 0F);
|
||||
SegmentBFMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentBFMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentBFMid.setRotationPoint(-4F, 19F, -4F);
|
||||
SegmentBFMid.setTextureSize(64, 32);
|
||||
SegmentBFMid.mirror = true;
|
||||
setRotation(SegmentBFMid, 0F, 0F, 0F);
|
||||
SegmentUBMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentUBMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentUBMid.setRotationPoint(-4F, 12F, 3F);
|
||||
SegmentUBMid.setTextureSize(64, 32);
|
||||
SegmentUBMid.mirror = true;
|
||||
setRotation(SegmentUBMid, 0F, 0F, 0F);
|
||||
SegmentBBMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentBBMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentBBMid.setRotationPoint(-4F, 19F, 3F);
|
||||
SegmentBBMid.setTextureSize(64, 32);
|
||||
SegmentBBMid.mirror = true;
|
||||
setRotation(SegmentBBMid, 0F, 0F, 0F);
|
||||
SegmentUFMid = new ModelRenderer(this, 30, 12);
|
||||
SegmentUFMid.addBox(0F, 0F, 0F, 8, 1, 1);
|
||||
SegmentUFMid.setRotationPoint(-4F, 12F, -4F);
|
||||
SegmentUFMid.setTextureSize(64, 32);
|
||||
SegmentUFMid.mirror = true;
|
||||
setRotation(SegmentUFMid, 0F, 0F, 0F);
|
||||
SegmentLBMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentLBMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentLBMid.setRotationPoint(3F, 13F, 3F);
|
||||
SegmentLBMid.setTextureSize(64, 32);
|
||||
SegmentLBMid.mirror = true;
|
||||
setRotation(SegmentLBMid, 0F, 0F, 0F);
|
||||
SegmentLFMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentLFMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentLFMid.setRotationPoint(3F, 13F, -4F);
|
||||
SegmentLFMid.setTextureSize(64, 32);
|
||||
SegmentLFMid.mirror = true;
|
||||
setRotation(SegmentLFMid, 0F, 0F, 0F);
|
||||
SegmentRBMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentRBMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentRBMid.setRotationPoint(-4F, 13F, 3F);
|
||||
SegmentRBMid.setTextureSize(64, 32);
|
||||
SegmentRBMid.mirror = true;
|
||||
setRotation(SegmentRBMid, 0F, 0F, 0F);
|
||||
SegmentRFMid = new ModelRenderer(this, 48, 19);
|
||||
SegmentRFMid.addBox(0F, 0F, 0F, 1, 6, 1);
|
||||
SegmentRFMid.setRotationPoint(-4F, 13F, -4F);
|
||||
SegmentRFMid.setTextureSize(64, 32);
|
||||
SegmentRFMid.mirror = true;
|
||||
setRotation(SegmentRFMid, 0F, 0F, 0F);
|
||||
SegmentMidDiag4 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag4.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag4.setRotationPoint(-3.99F, 12F, -3F);
|
||||
SegmentMidDiag4.setTextureSize(64, 32);
|
||||
SegmentMidDiag4.mirror = true;
|
||||
setRotation(SegmentMidDiag4, -0.7853982F, 0F, 0F);
|
||||
SegmentRUMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentRUMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentRUMid.setRotationPoint(-4F, 12F, -3F);
|
||||
SegmentRUMid.setTextureSize(64, 32);
|
||||
SegmentRUMid.mirror = true;
|
||||
setRotation(SegmentRUMid, 0F, 0F, 0F);
|
||||
SegmentBRMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentBRMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentBRMid.setRotationPoint(-4F, 19F, -3F);
|
||||
SegmentBRMid.setTextureSize(64, 32);
|
||||
SegmentBRMid.mirror = true;
|
||||
setRotation(SegmentBRMid, 0F, 0F, 0F);
|
||||
SegmentBLMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentBLMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentBLMid.setRotationPoint(3F, 19F, -3F);
|
||||
SegmentBLMid.setTextureSize(64, 32);
|
||||
SegmentBLMid.mirror = true;
|
||||
setRotation(SegmentBLMid, 0F, 0F, 0F);
|
||||
SegmentLUMid = new ModelRenderer(this, 48, 12);
|
||||
SegmentLUMid.addBox(0F, 0F, 0F, 1, 1, 6);
|
||||
SegmentLUMid.setRotationPoint(3F, 12F, -3F);
|
||||
SegmentLUMid.setTextureSize(64, 32);
|
||||
SegmentLUMid.mirror = true;
|
||||
setRotation(SegmentLUMid, 0F, 0F, 0F);
|
||||
SegmentMidDiag3 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag3.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag3.setRotationPoint(-4F, 19F, -4F);
|
||||
SegmentMidDiag3.setTextureSize(64, 32);
|
||||
SegmentMidDiag3.mirror = true;
|
||||
setRotation(SegmentMidDiag3, 0.7853982F, 0F, 0F);
|
||||
SegmentMidDiag7 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag7.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag7.setRotationPoint(-2.99F, 12F, 4F);
|
||||
SegmentMidDiag7.setTextureSize(64, 32);
|
||||
SegmentMidDiag7.mirror = true;
|
||||
setRotation(SegmentMidDiag7, -0.7853982F, 1.570796F, 0F);
|
||||
SegmentMidDiag8 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag8.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag8.setRotationPoint(-4F, 19F, 4F);
|
||||
SegmentMidDiag8.setTextureSize(64, 32);
|
||||
SegmentMidDiag8.mirror = true;
|
||||
setRotation(SegmentMidDiag8, 0.7853982F, 1.570796F, 0F);
|
||||
SegmentMidDiag1 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag1.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag1.setRotationPoint(3F, 19F, -4F);
|
||||
SegmentMidDiag1.setTextureSize(64, 32);
|
||||
SegmentMidDiag1.mirror = true;
|
||||
setRotation(SegmentMidDiag1, 0.7853982F, 0F, 0F);
|
||||
SegmentMidDiag2 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag2.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag2.setRotationPoint(3.01F, 12F, -3F);
|
||||
SegmentMidDiag2.setTextureSize(64, 32);
|
||||
SegmentMidDiag2.mirror = true;
|
||||
setRotation(SegmentMidDiag2, -0.7853982F, 0F, 0F);
|
||||
SegmentMidDiag6 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag6.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag6.setRotationPoint(-4F, 19F, -3F);
|
||||
SegmentMidDiag6.setTextureSize(64, 32);
|
||||
SegmentMidDiag6.mirror = true;
|
||||
setRotation(SegmentMidDiag6, 0.7853982F, 1.570796F, 0F);
|
||||
SegmentMidDiag5 = new ModelRenderer(this, 0, 0);
|
||||
SegmentMidDiag5.addBox(0F, 0F, 0F, 1, 1, 10);
|
||||
SegmentMidDiag5.setRotationPoint(-2.99F, 12F, -3F);
|
||||
SegmentMidDiag5.setTextureSize(64, 32);
|
||||
SegmentMidDiag5.mirror = true;
|
||||
setRotation(SegmentMidDiag5, -0.7853982F, 1.570796F, 0F);
|
||||
SegmentUBLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentUBLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUBLeft.setRotationPoint(4F, 12F, 3F);
|
||||
SegmentUBLeft.setTextureSize(64, 32);
|
||||
SegmentUBLeft.mirror = true;
|
||||
setRotation(SegmentUBLeft, 0F, 0F, 0F);
|
||||
SegmentUFLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentUFLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentUFLeft.setRotationPoint(4F, 12F, -4F);
|
||||
SegmentUFLeft.setTextureSize(64, 32);
|
||||
SegmentUFLeft.mirror = true;
|
||||
setRotation(SegmentUFLeft, 0F, 0F, 0F);
|
||||
SegmentBFLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentBFLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBFLeft.setRotationPoint(4F, 19F, -4F);
|
||||
SegmentBFLeft.setTextureSize(64, 32);
|
||||
SegmentBFLeft.mirror = true;
|
||||
setRotation(SegmentBFLeft, 0F, 0F, 0F);
|
||||
SegmentBBLeft = new ModelRenderer(this, 0, 13);
|
||||
SegmentBBLeft.addBox(0F, 0F, 0F, 4, 1, 1);
|
||||
SegmentBBLeft.setRotationPoint(4F, 19F, 3F);
|
||||
SegmentBBLeft.setTextureSize(64, 32);
|
||||
SegmentBBLeft.mirror = true;
|
||||
setRotation(SegmentBBLeft, 0F, 0F, 0F);
|
||||
fixPositions();
|
||||
}
|
||||
|
||||
// this offsets some positions to avoid Z-Fighting
|
||||
public void fixPositions()
|
||||
{
|
||||
SegmentBLBack.setRotationPoint(3F, 19F, 4F);
|
||||
SegmentLUBack.setRotationPoint(3F, 12F, 4F);
|
||||
SegmentRUBack.setRotationPoint(-4F, 12F, 4F);
|
||||
SegmentBRBack.setRotationPoint(-4F, 19F, 4F);
|
||||
SegmentBLFront.setRotationPoint(3F, 19F, -8F);
|
||||
SegmentLUFront.setRotationPoint(3F, 12F, -8F);
|
||||
SegmentRUFront.setRotationPoint(-4F, 12F, -8F);
|
||||
SegmentBRFront.setRotationPoint(-4F, 19F, -8F);
|
||||
SegmentLBUp.setRotationPoint(3F, 8F, 3F);
|
||||
SegmentRBUp.setRotationPoint(-4F, 8F, 3F);
|
||||
SegmentLFUp.setRotationPoint(3F, 8F, -4F);
|
||||
SegmentRFUp.setRotationPoint(-4F, 8F, -4F);
|
||||
SegmentUBRight.setRotationPoint(-8F, 12F, 3F);
|
||||
SegmentBFRight.setRotationPoint(-8F, 19F, -4F);
|
||||
SegmentUFRight.setRotationPoint(-8F, 12F, -4F);
|
||||
SegmentBBRight.setRotationPoint(-8F, 19F, 3F);
|
||||
SegmentLFDown.setRotationPoint(3F, 20F, -4F);
|
||||
SegmentLBDown.setRotationPoint(3F, 20F, 3F);
|
||||
SegmentRBDown.setRotationPoint(-4F, 20F, 3F);
|
||||
SegmentRFDown.setRotationPoint(-4F, 20F, -4F);
|
||||
SegmentBFMid.setRotationPoint(-4F, 19F, -4F);
|
||||
SegmentUBMid.setRotationPoint(-4F, 12F, 3F);
|
||||
SegmentBBMid.setRotationPoint(-4F, 19F, 3F);
|
||||
SegmentUFMid.setRotationPoint(-4F, 12F, -4F);
|
||||
SegmentLBMid.setRotationPoint(3F, 13F, 3F);
|
||||
SegmentLFMid.setRotationPoint(3F, 13F, -4F);
|
||||
SegmentRBMid.setRotationPoint(-4F, 13F, 3F);
|
||||
SegmentRFMid.setRotationPoint(-4F, 13F, -4F);
|
||||
SegmentRUMid.setRotationPoint(-4F, 12F, -3F);
|
||||
SegmentBRMid.setRotationPoint(-4F, 19F, -3F);
|
||||
SegmentBLMid.setRotationPoint(3F, 19F, -3F);
|
||||
SegmentLUMid.setRotationPoint(3F, 12F, -3F);
|
||||
SegmentMidDiag1.setRotationPoint(2.99F, 19.1F, -4F);
|
||||
SegmentMidDiag2.setRotationPoint(2.99F, 12F, -3.1F);
|
||||
SegmentMidDiag3.setRotationPoint(-3.99F, 19.1F, -4F);
|
||||
SegmentMidDiag4.setRotationPoint(-3.99F, 12F, -3.1F);
|
||||
SegmentMidDiag5.setRotationPoint(-3.1F, 12F, -2.99F);
|
||||
SegmentMidDiag6.setRotationPoint(-4F, 19.1F, -2.99F);
|
||||
SegmentMidDiag7.setRotationPoint(-3.1F, 12F, 3.99F);
|
||||
SegmentMidDiag8.setRotationPoint(-4F, 19F, 3.99F);
|
||||
SegmentUBLeft.setRotationPoint(4F, 12F, 3F);
|
||||
SegmentUFLeft.setRotationPoint(4F, 12F, -4F);
|
||||
SegmentBFLeft.setRotationPoint(4F, 19F, -4F);
|
||||
SegmentBBLeft.setRotationPoint(4F, 19F, 3F);
|
||||
}
|
||||
|
||||
public void render(boolean up, boolean down, boolean left, boolean right, boolean front, boolean back, boolean foot)
|
||||
{
|
||||
float scale = 0.0625f;
|
||||
if (up)
|
||||
{
|
||||
SegmentLBUp.render(scale);
|
||||
SegmentRBUp.render(scale);
|
||||
SegmentLFUp.render(scale);
|
||||
SegmentRFUp.render(scale);
|
||||
}
|
||||
if (down)
|
||||
{
|
||||
SegmentLFDown.render(scale);
|
||||
SegmentLBDown.render(scale);
|
||||
SegmentRBDown.render(scale);
|
||||
SegmentRFDown.render(scale);
|
||||
}
|
||||
if (left)
|
||||
{
|
||||
SegmentUBLeft.render(scale);
|
||||
SegmentUFLeft.render(scale);
|
||||
SegmentBFLeft.render(scale);
|
||||
SegmentBBLeft.render(scale);
|
||||
}
|
||||
if (right)
|
||||
{
|
||||
SegmentUBRight.render(scale);
|
||||
SegmentBFRight.render(scale);
|
||||
SegmentUFRight.render(scale);
|
||||
SegmentBBRight.render(scale);
|
||||
}
|
||||
if (front)
|
||||
{
|
||||
SegmentBLFront.render(scale);
|
||||
SegmentLUFront.render(scale);
|
||||
SegmentRUFront.render(scale);
|
||||
SegmentBRFront.render(scale);
|
||||
}
|
||||
if (back)
|
||||
{
|
||||
SegmentBLBack.render(scale);
|
||||
SegmentLUBack.render(scale);
|
||||
SegmentRUBack.render(scale);
|
||||
SegmentBRBack.render(scale);
|
||||
}
|
||||
if (foot)
|
||||
{
|
||||
FootBottom.render(scale);
|
||||
FootTop.render(scale);
|
||||
}
|
||||
SegmentBFMid.render(scale);
|
||||
SegmentUBMid.render(scale);
|
||||
SegmentBBMid.render(scale);
|
||||
SegmentUFMid.render(scale);
|
||||
SegmentLBMid.render(scale);
|
||||
SegmentLFMid.render(scale);
|
||||
SegmentRBMid.render(scale);
|
||||
SegmentRFMid.render(scale);
|
||||
SegmentRUMid.render(scale);
|
||||
SegmentBRMid.render(scale);
|
||||
SegmentBLMid.render(scale);
|
||||
SegmentLUMid.render(scale);
|
||||
SegmentMidDiag1.render(scale);
|
||||
SegmentMidDiag2.render(scale);
|
||||
SegmentMidDiag3.render(scale);
|
||||
SegmentMidDiag4.render(scale);
|
||||
SegmentMidDiag5.render(scale);
|
||||
SegmentMidDiag6.render(scale);
|
||||
SegmentMidDiag7.render(scale);
|
||||
SegmentMidDiag8.render(scale);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z)
|
||||
{
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -84,7 +84,8 @@ public class BlockRenderingHandler implements ISimpleBlockRenderingHandler
|
|||
RenderCraneController.MODEL.render(0.0625f);
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
else if (block.blockID == AssemblyLine.blockCraneRail.blockID){
|
||||
else if (block.blockID == AssemblyLine.blockCraneRail.blockID)
|
||||
{
|
||||
GL11.glBindTexture(GL11.GL_TEXTURE_2D, FMLClientHandler.instance().getClient().renderEngine.getTexture(AssemblyLine.TEXTURE_PATH + RenderCraneRail.TEXTURE));
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef(0f, 1f, 0f);
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
package assemblyline.client.render;
|
||||
|
||||
import static org.lwjgl.opengl.GL11.*;
|
||||
import static org.lwjgl.opengl.GL11.GL_LIGHTING;
|
||||
import static org.lwjgl.opengl.GL11.glEnable;
|
||||
import static org.lwjgl.opengl.GL11.glPopMatrix;
|
||||
import static org.lwjgl.opengl.GL11.glPushMatrix;
|
||||
import static org.lwjgl.opengl.GL11.glRotatef;
|
||||
import static org.lwjgl.opengl.GL11.glTranslated;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import assemblyline.client.model.ModelCraneRail;
|
||||
|
@ -24,13 +29,13 @@ public class RenderCraneRail extends RenderImprintable
|
|||
tZ = tileEntity.zCoord;
|
||||
boolean renderUp = CraneHelper.canFrameConnectTo(tileEntity, tX, tY + 1, tZ, ForgeDirection.DOWN);
|
||||
boolean renderDown = CraneHelper.canFrameConnectTo(tileEntity, tX, tY - 1, tZ, ForgeDirection.UP);
|
||||
//EAST, X-
|
||||
// EAST, X-
|
||||
boolean renderLeft = CraneHelper.canFrameConnectTo(tileEntity, tX - 1, tY, tZ, ForgeDirection.EAST);
|
||||
//WAST, X+
|
||||
// WAST, X+
|
||||
boolean renderRight = CraneHelper.canFrameConnectTo(tileEntity, tX + 1, tY, tZ, ForgeDirection.WEST);
|
||||
//SOUTH, Z-
|
||||
// SOUTH, Z-
|
||||
boolean renderFront = CraneHelper.canFrameConnectTo(tileEntity, tX, tY, tZ - 1, ForgeDirection.SOUTH);
|
||||
//NORTH, Z+
|
||||
// NORTH, Z+
|
||||
boolean renderBack = CraneHelper.canFrameConnectTo(tileEntity, tX, tY, tZ + 1, ForgeDirection.NORTH);
|
||||
boolean renderFoot = tileEntity.worldObj.isBlockSolidOnSide(tX, tY - 1, tZ, ForgeDirection.UP);
|
||||
this.bindTextureByName(AssemblyLine.TEXTURE_PATH + TEXTURE);
|
||||
|
|
|
@ -177,7 +177,7 @@ public class AssemblyLine
|
|||
|
||||
// Manipulator
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockManipulator, 2), new Object[] { Block.dispenser, "basicCircuit" }));
|
||||
|
||||
|
||||
FMLog.info("Ready to Use");
|
||||
}
|
||||
|
||||
|
|
|
@ -52,8 +52,6 @@ public class CommandBreak extends Command
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
|
|
|
@ -32,9 +32,9 @@ public class CommandPowerTo extends Command
|
|||
Block block = Block.blocksList[this.world.getBlockId(tileEntity.getHandPosition().intX(), tileEntity.getHandPosition().intY(), tileEntity.getHandPosition().intZ())];
|
||||
TileEntity targetTile = this.tileEntity.getHandPosition().getTileEntity(this.world);
|
||||
|
||||
if (tileEntity.getGrabbedEntities().size() > 0 && tileEntity.getGrabbedEntities().get(0) instanceof EntityItem && ((EntityItem)tileEntity.getGrabbedEntities().get(0)).getEntityItem().itemID == Block.torchRedstoneIdle.blockID)
|
||||
if (tileEntity.getGrabbedEntities().size() > 0 && tileEntity.getGrabbedEntities().get(0) instanceof EntityItem && ((EntityItem) tileEntity.getGrabbedEntities().get(0)).getEntityItem().itemID == Block.torchRedstoneIdle.blockID)
|
||||
{
|
||||
//TODO have armbot cause redstone power at location
|
||||
// TODO have armbot cause redstone power at location
|
||||
DebugToPlayer.SendToClosest(this.tileEntity, 10, "powering");
|
||||
}
|
||||
else
|
||||
|
|
|
@ -52,16 +52,18 @@ public class CommandUse extends Command
|
|||
}
|
||||
|
||||
}
|
||||
else if(block != null)
|
||||
else if (block != null)
|
||||
{
|
||||
try{
|
||||
boolean f = block.onBlockActivated(this.world, tileEntity.getHandPosition().intX(), tileEntity.getHandPosition().intY(), tileEntity.getHandPosition().intZ(), null, 0, 0, 0, 0);
|
||||
}catch(Exception e)
|
||||
try
|
||||
{
|
||||
|
||||
boolean f = block.onBlockActivated(this.world, tileEntity.getHandPosition().intX(), tileEntity.getHandPosition().intY(), tileEntity.getHandPosition().intZ(), null, 0, 0, 0, 0);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
this.curTimes++;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
|
@ -11,6 +9,8 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import universalelectricity.prefab.BlockMachine;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class BlockCraneRail extends BlockMachine
|
||||
{
|
||||
|
@ -20,14 +20,14 @@ public class BlockCraneRail extends BlockMachine
|
|||
this.setCreativeTab(TabAssemblyLine.INSTANCE);
|
||||
this.setBlockBounds(0.25f, 0.25f, 0.25f, 0.75f, 0.75f, 0.75f);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int x, int y, int z)
|
||||
{
|
||||
return super.getSelectedBoundingBoxFromPool(world, x, y, z);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
|
||||
public interface ICraneConnectable
|
||||
{
|
||||
|
||||
}
|
||||
package assemblyline.common.machine.crane;
|
||||
|
||||
public interface ICraneConnectable
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import assemblyline.common.machine.TileEntityAssemblyNetwork;
|
||||
|
||||
public class TileEntityCraneController extends TileEntityAssemblyNetwork implements ICraneConnectable
|
||||
|
@ -8,6 +7,6 @@ public class TileEntityCraneController extends TileEntityAssemblyNetwork impleme
|
|||
@Override
|
||||
public void updateEntity()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@ import assemblyline.common.machine.TileEntityAssemblyNetwork;
|
|||
|
||||
public class TileEntityCraneRail extends TileEntityAssemblyNetwork implements ICraneConnectable
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue