diff --git a/src/main/resources/assets/phycon/models/block/inserter_side.json b/src/main/resources/assets/phycon/models/block/inserter_side.json index 6fb7d4e..310b50f 100644 --- a/src/main/resources/assets/phycon/models/block/inserter_side.json +++ b/src/main/resources/assets/phycon/models/block/inserter_side.json @@ -1,40 +1,44 @@ { "parent": "block/block", "textures": { + "switch": "phycon:block/switch", + "front": "phycon:block/inserter_front", + "front_middle": "phycon:block/inserter_front_middle", + "particle": "#front" }, "elements": [ { "from": [4, 0, 4], "to": [12, 2, 12], "faces": { - "down": {"texture": "phycon:block/extractor_front", "cullface": "down"}, - "north": {"texture": "phycon:block/extractor_side"}, - "south": {"texture": "phycon:block/extractor_side"}, - "west": {"texture": "phycon:block/extractor_side"}, - "east": {"texture": "phycon:block/extractor_side"} + "down": {"texture": "#front", "cullface": "down"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"texture": "#switch"}, + "east": {"texture": "#switch"} } }, { "from": [2, 2, 2], "to": [14, 4, 14], "faces": { - "down": {"texture": "phycon:block/extractor_front"}, - "north": {"texture": "phycon:block/extractor_side"}, - "south": {"texture": "phycon:block/extractor_side"}, - "west": {"texture": "phycon:block/extractor_side"}, - "east": {"texture": "phycon:block/extractor_side"} + "down": {"texture": "#front_middle"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"texture": "#switch"}, + "east": {"texture": "#switch"} } }, { "from": [0, 4, 0], "to": [16, 6, 16], "faces": { - "down": {"texture": "phycon:block/extractor_front"}, - "up": {"texture": "phycon:block/extractor_back"}, - "north": {"texture": "phycon:block/extractor_side"}, - "south": {"texture": "phycon:block/extractor_side"}, - "west": {"texture": "phycon:block/extractor_side"}, - "east": {"texture": "phycon:block/extractor_side"} + "down": {"texture": "#switch"}, + "up": {"texture": "#switch"}, + "north": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "south": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "west": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "east": {"texture": "#switch", "uv": [0, 0, 16, 2]} } } ] diff --git a/src/main/resources/assets/phycon/models/item/inserter.json b/src/main/resources/assets/phycon/models/item/inserter.json new file mode 100644 index 0000000..ccf2fb2 --- /dev/null +++ b/src/main/resources/assets/phycon/models/item/inserter.json @@ -0,0 +1,51 @@ +{ + "parent": "block/block", + "display": { + "firstperson_righthand": { + "rotation": [ 0, 215, 0 ], + "translation": [ 3, 0, -3 ], + "scale": [ 0.40, 0.40, 0.40 ] + } + }, + "textures": { + "switch": "phycon:block/switch", + "front": "phycon:block/inserter_front", + "front_middle": "phycon:block/inserter_front_middle" + }, + "elements": [ + { + "from": [14, 4, 4], + "to": [16, 12, 12], + "faces": { + "down": {"texture": "#switch"}, + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "east": {"texture": "#front"} + } + }, + { + "from": [12, 2, 2], + "to": [14, 14, 14], + "faces": { + "down": {"texture": "#switch"}, + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "east": {"texture": "#front_middle"} + } + }, + { + "from": [10, 0, 0], + "to": [12, 16, 16], + "faces": { + "down": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "up": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "north": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "south": {"texture": "#switch", "uv": [0, 0, 16, 2]}, + "west": {"texture": "#switch"}, + "east": {"texture": "#switch"} + } + } + ] +} diff --git a/src/main/resources/assets/phycon/textures/block/inserter_front.png b/src/main/resources/assets/phycon/textures/block/inserter_front.png new file mode 100644 index 0000000..2095552 Binary files /dev/null and b/src/main/resources/assets/phycon/textures/block/inserter_front.png differ diff --git a/src/main/resources/assets/phycon/textures/block/inserter_front_middle.png b/src/main/resources/assets/phycon/textures/block/inserter_front_middle.png new file mode 100644 index 0000000..3d7479c Binary files /dev/null and b/src/main/resources/assets/phycon/textures/block/inserter_front_middle.png differ