diff --git a/src/main/resources/assets/phycon/models/block/extractor_side.json b/src/main/resources/assets/phycon/models/block/extractor_side.json index 1b7176a..0ec591e 100644 --- a/src/main/resources/assets/phycon/models/block/extractor_side.json +++ b/src/main/resources/assets/phycon/models/block/extractor_side.json @@ -1,40 +1,43 @@ { "parent": "block/block", "textures": { + "switch": "phycon:block/switch", + "front": "phycon:block/extractor_front", + "particle": "#front" }, "elements": [ { "from": [0, 0, 0], "to": [16, 2, 16], "faces": { - "down": {"texture": "phycon:block/extractor_front", "cullface": "down"}, - "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": "#front", "cullface": "down"}, + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"texture": "#switch"}, + "east": {"texture": "#switch"} } }, { "from": [2, 2, 2], "to": [14, 4, 14], "faces": { - "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"} + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"texture": "#switch"}, + "east": {"texture": "#switch"} } }, { "from": [4, 4, 4], "to": [12, 6, 12], "faces": { - "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"} + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"texture": "#switch"}, + "east": {"texture": "#switch"} } } ] diff --git a/src/main/resources/assets/phycon/models/item/extractor.json b/src/main/resources/assets/phycon/models/item/extractor.json new file mode 100644 index 0000000..6dc4bc7 --- /dev/null +++ b/src/main/resources/assets/phycon/models/item/extractor.json @@ -0,0 +1,50 @@ +{ + "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/extractor_front" + }, + "elements": [ + { + "from": [14, 0, 0], + "to": [16, 16, 16], + "faces": { + "down": {"texture": "#switch"}, + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"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"}, + "west": {"texture": "#switch"} + } + }, + { + "from": [10, 4, 4], + "to": [12, 12, 12], + "faces": { + "down": {"texture": "#switch"}, + "up": {"texture": "#switch"}, + "north": {"texture": "#switch"}, + "south": {"texture": "#switch"}, + "west": {"texture": "#switch"} + } + } + ] +} diff --git a/src/main/resources/assets/phycon/textures/block/extractor_back.png b/src/main/resources/assets/phycon/textures/block/extractor_back.png new file mode 100644 index 0000000..320a5a3 Binary files /dev/null and b/src/main/resources/assets/phycon/textures/block/extractor_back.png differ diff --git a/src/main/resources/assets/phycon/textures/block/extractor_front.png b/src/main/resources/assets/phycon/textures/block/extractor_front.png new file mode 100644 index 0000000..1d4c01b Binary files /dev/null and b/src/main/resources/assets/phycon/textures/block/extractor_front.png differ