Skip to content

Commit

Permalink
[#151] Added 2 more switch stands for the left side of the switch
Browse files Browse the repository at this point in the history
(Also modified the right side switches)
  • Loading branch information
Danielxs01 committed Feb 15, 2024
1 parent 3d28b87 commit 6ebf438
Show file tree
Hide file tree
Showing 25 changed files with 5,133 additions and 7 deletions.
28 changes: 21 additions & 7 deletions src/main/java/net/landofrails/landofsignals/LOSBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -422,16 +422,30 @@ public static void register() {

registerLeverContentPack(
"switchstand_jake",
"Switch stand by Jake Steampson (left)",
models("models/block/landofsignals/switchstand_jake/left/switch_left_on.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})}),
models("models/block/landofsignals/switchstand_jake/left/switch_left_off.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})})
"Switch stand by Jake Steampson (right side, left turn)",
models("models/block/landofsignals/switchstand_jake/right_side_left_turn/right_side_left_turn_on.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})}),
models("models/block/landofsignals/switchstand_jake/right_side_left_turn/right_side_left_turn_off.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})})
);

registerLeverContentPack(
"switchstand_jake_right",
"Switch stand by Jake Steampson (right)",
models("models/block/landofsignals/switchstand_jake/right/switch_right_on.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})}),
models("models/block/landofsignals/switchstand_jake/right/switch_right_off.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})})
"switchstand_jake_right_side_left_turn",
"Switch stand by Jake Steampson (right side, right turn)",
models("models/block/landofsignals/switchstand_jake/right_side_right_turn/right_side_right_turn_on.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})}),
models("models/block/landofsignals/switchstand_jake/right_side_right_turn/right_side_right_turn_off.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})})
);

registerLeverContentPack(
"switchstand_jake_left_side_left_turn",
"Switch stand by Jake Steampson (left side, left turn)",
models("models/block/landofsignals/switchstand_jake/left_side_left_turn/left_side_left_turn_on.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})}),
models("models/block/landofsignals/switchstand_jake/left_side_left_turn/left_side_left_turn_off.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})})
);

registerLeverContentPack(
"switchstand_jake_left_side_right_turn",
"Switch stand by Jake Steampson (left side, right turn)",
models("models/block/landofsignals/switchstand_jake/left_side_right_turn/left_side_right_turn_on.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})}),
models("models/block/landofsignals/switchstand_jake/left_side_right_turn/left_side_right_turn_off.obj", new ContentPackModel[]{new ContentPackModel(new float[]{0.5f, 0f, 0.5f}, new float[]{0.5f, 0f, 0.5f}, new float[]{1f, 1f, 1f}, new float[]{1f, 1f, 1f}, new float[]{0f, 180f, 0f})})
);

}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Blender MTL File: 'left_side_left_turn_off.blend'
# Material Count: 1

newmtl None
Ns 0
Ka 0.000000 0.000000 0.000000
Kd 0.8 0.8 0.8
Ks 0.8 0.8 0.8
d 1
illum 2
map_Kd left_side_left_turn_off.png
Loading

0 comments on commit 6ebf438

Please sign in to comment.