Skip to content

Commit aa9d6ec

Browse files
committed
added item models/textures to 1996 stock, class 350/390/450 door
1 parent fd914d9 commit aa9d6ec

File tree

12 files changed

+32
-4
lines changed

12 files changed

+32
-4
lines changed

common/src/main/java/net/adeptstack/Core/Utils/ScreenUtils/TextureNames.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ public static String GetDoorTextureName(int variant) {
7777
case 16 -> "door_warsaw_tram.png";
7878
case 17 -> "door_warsaw_tram.png";
7979
case 18 -> "door_ice_modern.png";
80+
case 19 -> "door_class_350.png";
81+
case 20 -> "door_class_390.png";
82+
case 21 -> "door_class_450.png";
83+
case 22 -> "door_1996_stock.png";
8084
default -> "door_ic2.png";
8185
};
8286
return name;

common/src/main/resources/assets/trainutilities/models/block/door_class_390/left/block_top.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
4242
"faces": {
4343
"north": {"uv": [0, 5, 1.5, 10], "texture": "#1"},
44-
"east": {"uv": [3, 0, 6, 5], "texture": "#1"},
44+
"east": {"uv": [3.5, 0, 6, 5], "texture": "#1"},
4545
"south": {"uv": [1.5, 5, 3, 10], "texture": "#1"},
46-
"west": {"uv": [0, 0, 3, 5], "texture": "#1"},
46+
"west": {"uv": [0, 0, 2.5, 5], "texture": "#1"},
4747
"up": {"uv": [6, 6.5, 3, 5], "rotation": 270, "texture": "#1"},
4848
"down": {"uv": [9, 0, 6, 1.5], "rotation": 90, "texture": "#1"}
4949
}

common/src/main/resources/assets/trainutilities/models/block/door_class_390/right/block_top.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"rotation": {"angle": 0, "axis": "y", "origin": [3, 0, 8]},
4242
"faces": {
4343
"north": {"uv": [1.5, 5, 3, 10], "texture": "#1"},
44-
"east": {"uv": [0, 0, 3, 5], "texture": "#1"},
44+
"east": {"uv": [0, 0, 2.5, 5], "texture": "#1"},
4545
"south": {"uv": [0, 5, 1.5, 10], "texture": "#1"},
46-
"west": {"uv": [3, 0, 6, 5], "texture": "#1"},
46+
"west": {"uv": [3.5, 0, 6, 5], "texture": "#1"},
4747
"up": {"uv": [6, 6.5, 3, 5], "rotation": 90, "texture": "#1"},
4848
"down": {"uv": [9, 0, 6, 1.5], "rotation": 270, "texture": "#1"}
4949
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "trainutilities:item/door_1996_stock"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "trainutilities:item/door_class_350"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "trainutilities:item/door_class_390"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "trainutilities:item/door_class_450"
5+
}
6+
}
781 Bytes
Loading
414 Bytes
Loading
371 Bytes
Loading

0 commit comments

Comments
 (0)