From e99ed35e6b6de49b1fa4a87790f5558c5d23c825 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 12 Mar 2021 17:14:11 -0500 Subject: [PATCH] Add Inserter textures --- .../phycon/models/block/inserter_side.json | 36 +++++++------ .../assets/phycon/models/item/inserter.json | 51 ++++++++++++++++++ .../phycon/textures/block/inserter_front.png | Bin 0 -> 866 bytes .../textures/block/inserter_front_middle.png | Bin 0 -> 868 bytes 4 files changed, 71 insertions(+), 16 deletions(-) create mode 100644 src/main/resources/assets/phycon/models/item/inserter.json create mode 100644 src/main/resources/assets/phycon/textures/block/inserter_front.png create mode 100644 src/main/resources/assets/phycon/textures/block/inserter_front_middle.png 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 0000000000000000000000000000000000000000..209555215f973d9a5321ba1cde52ff3e3e4fad66 GIT binary patch literal 866 zcmV-o1D*VdP)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?_8GC8xR3Y7o=02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{00BBlL_t(I%k7dqPQySDMxPzq**GCcfI<;PRDlB^?vNUB z22MarL75JT9D$aC6HsskI6)*N5JHJz*K5Z=6vm5joEtFZXukJGvkU)a)f<;rv%KDu zu_lZ(av?bw4XtY5X`j?vG1Z?$uE+!s>$qaz`{W&)e z1*i;v1p&Z1K*kz?rx(e1J_q1qnV8Yi44}hR^9FgAG2V4)KTiSJ*>=dY41h4wq*06x zS17HT0hVpkN;FAQn6lKtvWw9&4B!iY9nkdz0N0P=Pk;HT%-TvTeBmQH?mFQ0{f(pJ zQd_GzSxrTbTJZx7r>6_NE_Jy>_*#VY!f-0cALi sViT-Z8pVi?+YG3O0b?!A0KI;nZ%tvI(Z7<}od5s;07*qoM6N<$fEX>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?_8H6sCqWheju02y>eSad^gZEa<4bO1wgWnpw> zWFU8GbZ8()Nlj2!fese{00BHnL_t(I%f*s0PQySDMPFiUukB!^prXntkfw4Kl37)Gs7!v?8G zI=DwgKAkjm70AHsf3_vt_nkB)36xu4*c$^dxZ5XIu^HMzuWj5MJ({=APcJO={AZB{ u#}{~E@M{aDqufbnvD&yuB6|~@XE|SqLEGfx{tG_<0000