From a184060e77a0bcbebe55613e7746dc11984f904a Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 12 Mar 2021 17:14:24 -0500 Subject: [PATCH] Add Extractor textures --- .../phycon/models/block/extractor_side.json | 35 ++++++------ .../assets/phycon/models/item/extractor.json | 50 ++++++++++++++++++ .../phycon/textures/block/extractor_back.png | Bin 0 -> 765 bytes .../phycon/textures/block/extractor_front.png | Bin 0 -> 990 bytes 4 files changed, 69 insertions(+), 16 deletions(-) create mode 100644 src/main/resources/assets/phycon/models/item/extractor.json create mode 100644 src/main/resources/assets/phycon/textures/block/extractor_back.png create mode 100644 src/main/resources/assets/phycon/textures/block/extractor_front.png 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 0000000000000000000000000000000000000000..320a5a36291b7d449018386e239fee8ca59bc633 GIT binary patch literal 765 zcmVEX>4Tx04R}tkv&MmKpe$iQ>9WW9qb_DkfAzR6cusQDionYs1;guFuC*#ni!H4 z7e~Rh;NZt%)xpJCR|i)?5c~jfb8}L3krMxx6k5c1aNLh~_a1le0HIN3n$%ovd`>)K(glehxvqHp#<}FOz%yfJHZw;YBNj^?taLCdn;P*Xaa`4O$`^7T ztDLtuYtq2V^-JVZ$W;L& z$2>NmL3aJ%fAG6ot2i<4B}I}z_lx6v3<05CpjmgE?_eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{007lVL_t(I%k7at4uUWcMIS0q(6}C0qpX3-v5*N@PC0X?DmJ3uj$f~7Z#mqwwra()F(sE4tf?PHm^`gDEc%~ z@;~_%9>)>nmB9Dg4S>-%7!Wv#RqG$X=2h1KkYu0*1Fg-BHT?#D@-$Mt=BY}%25z_s z`)eC(B&2i18F*x7W_7bZUdk* vJ#66MW}SXhDhc}yeApdTw#zgCv-zAiAPK0k{PD8L00000NkvXXu0mjfx1K{L literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1d4c01b348a22f11919a58933f185b75ae34751e GIT binary patch literal 990 zcmV<410np0P)EX>4Tx04R}tkv&MmKpe$iQ>9WW9qb_DkfAzR6cusQDionYs1;guFuC*#ni!H4 z7e~Rh;NZt%)xpJCR|i)?5c~jfb8}L3krMxx6k5c1aNLh~_a1le0HIN3n$%ovd`>)K(glehxvqHp#<}FOz%yfJHZw;YBNj^?taLCdn;P*Xaa`4O$`^7T ztDLtuYtq2V^-JVZ$W;L& z$2>NmL3aJ%fAG6ot2i<4B}I}z_lx6v3<05CpjmgE?_eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{00Fj1L_t(I%Vm?hZqz^&hCh4l@p!!nQHYR2gM^fHh>BD^ zKpp^zH;B?8QBb5wB$A2_M4p01 zZ|nH&c|-3+c}kL{Y^`mq)MwLw07%~@O$wYoRAo77QXqYo84G+*5(uf^2O9xZmg}L8 zf`2@Et&5L;o-*)+0pElnf1jKfJphiH+$}1&s|?`b_hSGiduI$h0ZD-k7?Qd$V5}9V zao?^x54y6yeEPs>D6xSGs~t?k?z0z2-))t8q8$(j$qk{g^V(?0n|;B9{c`}upAY!> z)k6AiE4`!I>B?4y0sNXo?2N|%%$FtLXgFF#NZ-91(En6TU9)rF#rypZfX#ajOf{J<>UN`uwF~ zmP)3&`C|J}XTqM&F7+*GQs^vHS-t`X!c8x!Ot|48W|LXJk(cbv%o&W#< M07*qoM6N<$f_K8S*8l(j literal 0 HcmV?d00001