From 3b4fb09929cfcd4d190799adc60210530dcb8c68 Mon Sep 17 00:00:00 2001 From: A_pythoner <62882800+Ruochenfu2011@users.noreply.github.com> Date: Thu, 15 Dec 2022 18:19:38 +0800 Subject: [PATCH] feat: All texture and recipes! --- .../ItemTransmitterTileEntity.java | 10 ++--- .../blockstates/chunk_loader.json | 7 ++++ .../blockstates/energy_transmitter.json | 36 ++++++++++++++++++ .../blockstates/fluid_transmitter.json | 7 ++++ .../blockstates/item_transmitter.json | 7 ++++ .../models/block/chunk_loader.json | 6 +++ .../block/encased_shaft/block_ender.json | 7 ++++ .../block/encased_shaft/item_ender.json | 7 ++++ .../models/block/fluid_transmitter.json | 10 +++++ .../models/block/item_transmitter.json | 8 ++++ .../models/item/chunk_loader.json | 3 ++ .../models/item/energy_transmitter.json | 3 ++ .../models/item/fluid_transmitter.json | 3 ++ .../models/item/item_transmitter.json | 3 ++ .../textures/block/chunk_loader.png | Bin 0 -> 1453 bytes .../textures/block/ender_casing.png | Bin 0 -> 279 bytes .../textures/block/fluid_transmitter.png | Bin 0 -> 1467 bytes .../block/fluid_transmitter_window.png | Bin 0 -> 599 bytes .../textures/block/item_transmitter.png | Bin 0 -> 2372 bytes .../recipes/chunk_loader.json | 20 ++++++++++ .../recipes/energy_transmitter.json | 31 +++++++++++++++ .../recipes/fluid_transmitter.json | 31 +++++++++++++++ .../recipes/item_transmitter.json | 31 +++++++++++++++ 23 files changed, 225 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/assets/createendertransmission/blockstates/chunk_loader.json create mode 100644 src/main/resources/assets/createendertransmission/blockstates/energy_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/blockstates/fluid_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/blockstates/item_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/models/block/chunk_loader.json create mode 100644 src/main/resources/assets/createendertransmission/models/block/encased_shaft/block_ender.json create mode 100644 src/main/resources/assets/createendertransmission/models/block/encased_shaft/item_ender.json create mode 100644 src/main/resources/assets/createendertransmission/models/block/fluid_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/models/block/item_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/models/item/chunk_loader.json create mode 100644 src/main/resources/assets/createendertransmission/models/item/energy_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/models/item/fluid_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/models/item/item_transmitter.json create mode 100644 src/main/resources/assets/createendertransmission/textures/block/chunk_loader.png create mode 100644 src/main/resources/assets/createendertransmission/textures/block/ender_casing.png create mode 100644 src/main/resources/assets/createendertransmission/textures/block/fluid_transmitter.png create mode 100644 src/main/resources/assets/createendertransmission/textures/block/fluid_transmitter_window.png create mode 100644 src/main/resources/assets/createendertransmission/textures/block/item_transmitter.png create mode 100644 src/main/resources/data/createendertransmission/recipes/chunk_loader.json create mode 100644 src/main/resources/data/createendertransmission/recipes/energy_transmitter.json create mode 100644 src/main/resources/data/createendertransmission/recipes/fluid_transmitter.json create mode 100644 src/main/resources/data/createendertransmission/recipes/item_transmitter.json diff --git a/src/main/java/net/forsteri/createendertransmission/blocks/itemTransmitter/ItemTransmitterTileEntity.java b/src/main/java/net/forsteri/createendertransmission/blocks/itemTransmitter/ItemTransmitterTileEntity.java index cd8e248..214e8e2 100644 --- a/src/main/java/net/forsteri/createendertransmission/blocks/itemTransmitter/ItemTransmitterTileEntity.java +++ b/src/main/java/net/forsteri/createendertransmission/blocks/itemTransmitter/ItemTransmitterTileEntity.java @@ -42,11 +42,11 @@ public ItemStackHandler getInv(){ return pair.getSecond(); } - @Override - public void setRemoved() { - super.setRemoved(); - capability.invalidate(); - } +// @Override +// public void setRemoved() { +// super.setRemoved(); +// capability.invalidate(); +// } @Override public void reloadSettings() { diff --git a/src/main/resources/assets/createendertransmission/blockstates/chunk_loader.json b/src/main/resources/assets/createendertransmission/blockstates/chunk_loader.json new file mode 100644 index 0000000..d743e51 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/blockstates/chunk_loader.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "createendertransmission:block/chunk_loader" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/blockstates/energy_transmitter.json b/src/main/resources/assets/createendertransmission/blockstates/energy_transmitter.json new file mode 100644 index 0000000..48b6fb0 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/blockstates/energy_transmitter.json @@ -0,0 +1,36 @@ +{ + "variants": { + "facing=west": { + "model": "createendertransmission:block/encased_shaft/block_ender", + "x": 90, + "y": 90, + "uvlock": true + }, + "facing=east": { + "model": "createendertransmission:block/encased_shaft/block_ender", + "x": 90, + "y": 90, + "uvlock": true + }, + "facing=up": { + "model": "createendertransmission:block/encased_shaft/block_ender", + "uvlock": true + }, + "facing=down": { + "model": "createendertransmission:block/encased_shaft/block_ender", + "uvlock": true + }, + "facing=north": { + "model": "createendertransmission:block/encased_shaft/block_ender", + "x": 90, + "y": 180, + "uvlock": true + }, + "facing=south": { + "model": "createendertransmission:block/encased_shaft/block_ender", + "x": 90, + "y": 180, + "uvlock": true + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/blockstates/fluid_transmitter.json b/src/main/resources/assets/createendertransmission/blockstates/fluid_transmitter.json new file mode 100644 index 0000000..89355e8 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/blockstates/fluid_transmitter.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "createendertransmission:block/fluid_transmitter" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/blockstates/item_transmitter.json b/src/main/resources/assets/createendertransmission/blockstates/item_transmitter.json new file mode 100644 index 0000000..8c5b003 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/blockstates/item_transmitter.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "createendertransmission:block/item_transmitter" + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/block/chunk_loader.json b/src/main/resources/assets/createendertransmission/models/block/chunk_loader.json new file mode 100644 index 0000000..0bbfa2e --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/block/chunk_loader.json @@ -0,0 +1,6 @@ +{ + "parent": "block/beacon", + "textures": { + "beacon": "createendertransmission:block/chunk_loader" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/block/encased_shaft/block_ender.json b/src/main/resources/assets/createendertransmission/models/block/encased_shaft/block_ender.json new file mode 100644 index 0000000..315043d --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/block/encased_shaft/block_ender.json @@ -0,0 +1,7 @@ +{ + "parent": "create:block/encased_shaft/block", + "textures": { + "casing": "createendertransmission:block/ender_casing", + "opening": "create:block/shadow_steel_casing" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/block/encased_shaft/item_ender.json b/src/main/resources/assets/createendertransmission/models/block/encased_shaft/item_ender.json new file mode 100644 index 0000000..f13a1cc --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/block/encased_shaft/item_ender.json @@ -0,0 +1,7 @@ +{ + "parent": "create:block/encased_shaft/item", + "textures": { + "casing": "createendertransmission:block/ender_casing", + "opening": "create:block/shadow_steel_casing" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/block/fluid_transmitter.json b/src/main/resources/assets/createendertransmission/models/block/fluid_transmitter.json new file mode 100644 index 0000000..fd2a391 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/block/fluid_transmitter.json @@ -0,0 +1,10 @@ +{ + "parent": "create:block/fluid_tank/block_single_window", + "textures": { + "5": "createendertransmission:block/fluid_transmitter_window", + "1": "createendertransmission:block/fluid_transmitter", + "particle": "createendertransmission:block/fluid_transmitter", + "4": "createendertransmission:block/ender_casing", + "0": "createendertransmission:block/ender_casing" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/block/item_transmitter.json b/src/main/resources/assets/createendertransmission/models/block/item_transmitter.json new file mode 100644 index 0000000..5f7974c --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/block/item_transmitter.json @@ -0,0 +1,8 @@ +{ + "parent": "create:block/crate/single", + "textures": { + "crate": "createendertransmission:block/item_transmitter", + "side": "createendertransmission:block/item_transmitter", + "casing": "createendertransmission:block/ender_casing" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/item/chunk_loader.json b/src/main/resources/assets/createendertransmission/models/item/chunk_loader.json new file mode 100644 index 0000000..a735c88 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/item/chunk_loader.json @@ -0,0 +1,3 @@ +{ + "parent": "createendertransmission:block/chunk_loader" +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/item/energy_transmitter.json b/src/main/resources/assets/createendertransmission/models/item/energy_transmitter.json new file mode 100644 index 0000000..ad5a5b0 --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/item/energy_transmitter.json @@ -0,0 +1,3 @@ +{ + "parent": "createendertransmission:block/encased_shaft/item_ender" +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/item/fluid_transmitter.json b/src/main/resources/assets/createendertransmission/models/item/fluid_transmitter.json new file mode 100644 index 0000000..cd60a1a --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/item/fluid_transmitter.json @@ -0,0 +1,3 @@ +{ + "parent": "createendertransmission:block/fluid_transmitter" +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/models/item/item_transmitter.json b/src/main/resources/assets/createendertransmission/models/item/item_transmitter.json new file mode 100644 index 0000000..7b13ceb --- /dev/null +++ b/src/main/resources/assets/createendertransmission/models/item/item_transmitter.json @@ -0,0 +1,3 @@ +{ + "parent": "createendertransmission:block/item_transmitter" +} \ No newline at end of file diff --git a/src/main/resources/assets/createendertransmission/textures/block/chunk_loader.png b/src/main/resources/assets/createendertransmission/textures/block/chunk_loader.png new file mode 100644 index 0000000000000000000000000000000000000000..a00105a013b293abcf44c3c4e3183d9f2b37afc7 GIT binary patch literal 1453 zcmeAS@N?(olH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)^RW-(oeGubi3G?X|_`amz`{vIc{&okykm)=EpggBM dr~fZg;}?TTcg%P(!TA6H002ovPDHLkV1nE?bW{KU literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/createendertransmission/textures/block/fluid_transmitter.png b/src/main/resources/assets/createendertransmission/textures/block/fluid_transmitter.png new file mode 100644 index 0000000000000000000000000000000000000000..812ed8ca88583a79ba85657c924091aae007381c GIT binary patch literal 1467 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|jKx9jP7LeL$-D$|mZe5`ruq6Z zXaU(A3~Y=-49p-UK*+!-#lQ+?GcbfPO2gT4j2ciiKrQ&?xfOIj~R9FF-xv3?I z3Kh9IdBs*0wn|_XRzNmLSYJs2tfVB{Rw=?aK*2e`C{@8s&p^*W$&O1wLBXadCCw_x z#SN+*$g@?-C@Cqh($_C9FV`zK*2^zS*Eh7ZwA42+(l;{F1**_3uFNY*tkBIXR)!b? zGsh*hIJqdZpd>RtPXT0ZVp4u-iLH_n$Rap^xHGjP6Jb+cG1OZ?59)(t^bPe4^s#9J zdKT_J6kQdG1voX8WTxS;3nT;41`Z5}8*M-?umVSDq)TRQYF;tWKX!&@Hejb=NFY3i zq%i`QMkEO&jX-Z%ITxjZl21r}evTcs)MTTNt_sZnUtn~nB$gz)B$lMw85scM$`FW5 zLk!KW3@xn;&9n_HtPBhw#-ON0G6xhORuMs|#rZj{dglZOCF!^)~vT^oW!`A&DO>3QYZW zT)<#~^U_Gey-z`Skd>EaloA=(@CHm^lNfaS^OocoKuGt~YU&q~&xzO73kUY0M} zWMk&fjeKv;8Cg56*I(}zf8zhOH#+W5gY(ZUUH@RG+tO6OnWbw?3pdX`CTXD~*Yb7C z)2J<%eKa}^8K*dHx%m4HC*#XG-LkrR3#aJR{cJ9H>3iMKCRJBmNE0kjTuC zh>{3jAFJg2T)o7U{G?R9irfN_0tTB3D*7iAWdWaj57fXq!y$}cUk zRZ;?31P2gzmSmTMBM`0!c1 z09$9{6A6yScg^XAT1=8o9`?eDtSwL6c@q*6Zr;Clut7#x{@y;O_Sp>^B%DKI_!b(- gOqJ(lEZ|^ZnEq7bdBOIA9iV9PboFyt=akR{04Oh{X8-^I literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/createendertransmission/textures/block/item_transmitter.png b/src/main/resources/assets/createendertransmission/textures/block/item_transmitter.png new file mode 100644 index 0000000000000000000000000000000000000000..c0d7763964ef541542865f2f3605d57037fc206e GIT binary patch literal 2372 zcmeAS@N?(olHy`uVBq!ia0vp^av;pX1|+Qw)-3{3jKx9jP7LeL$-D$|Hl;>*ruq6Z zXaU(A4D5_-49p-U3`{^m2+C#zvZWYU!Qu=INsQ8Pb{3-sl6pgsE(TE`E^5zYV1cUd z0Ma1f0mML)Aap=xMQToNVo83HLO@Zzg0Y^Fo)J)vc>yEB&IL?xGvpR9BiKN73|&H# z9Do#Ofk$L90|U1(2s1Lwnj^u$z#^6z5>XQ2>tmIipR1RclAn~SSCLx)(#2p?VFhI7 zrj{fsROII56h?X&sHg;q@=(~U%$M(T(8_%FTW^V-_X+1Qs2Nx-^fT8s6w~6GOr}DLN~8i z8Da>`9GBGM7+qm9d$Xk&(86g_Qx&7a(I$)FPP!3O=i#)Z+Y{ zQc#?S=4F=H8QJJ#6Gqn+kda@K4@{s%naQ4cC8o7=;?wdiP}j&t25cf*+T zmp8sWvu~#FZf~)-e%!mK{_Z=!xFteM=fLOMih12W4_>F===o*PQ&PWWlALRx3b$U2 z`QCe(>(G>kLJ7=|G#*qoPExOw)Rrv&`pdR;76-FnmeQoaALY|2Uc ze$b&t=idgq8v7MrazDxJ5<6$`M7Z}jb0gE7@XZHZrM&*78#Qk7tI;v)Jm!|2r zpATl-x#lAIPP4jGeP2;X$DX6-*g~sVpSAu|aIxF2vxcR`-ZJ?wQ=*T-`Q#L4!y}`;WQh)i0|FcigS#WPx;a_gk zxJTMi#f!eo-1|`Vqb-tZhse7|QJIo_#wqCsTEmkM>HDY4>NQe!LjQmMv}m@n`yL=Y)jcyQ@FVvx+z| z{bH8<(u@Kv$q(s8C25{p^{=NyUg_DkpgjNoiiV$02UQw##{(|YJ=Jy4p z9(g0HzjE7}Nqy_p-KJP`{dx5Mx5AC}SCzu}%09f=`SACvR94pI4W3c9zjRr1)Y7Mi zOmhuR>wTRQd1dv)zYd%xytc>Lsff9hJgvsYV)1YEkcaOUK7>(};Jcqi;#yTs_n z46mG(n|6d~9H{=%pLb>7y)dc&g$;XO+5PERza=8#$m3ITpKdbr&wukm^7h1yyh@io zn(h1N7MUVv<|n@K-nYU{ySlFWHAJmk@;!W-_b2zY{WW&oo8Cyx6$kZ-GmtJ!btG4Zlq)Ia@7*y_%zzot^X zY;oMVX0t!d?OJ(Wqx<^0I-TpuQ%-mH2-F1Kxo}DR_?1ly_*?Goj=A$>;*yJ{#@?^i xY`T%rb7q;$$qES`&O=iU#;BHZ_4DugqyOtfnSj9eOW#3_15Z~!mvv4FO#phXb;|$% literal 0 HcmV?d00001 diff --git a/src/main/resources/data/createendertransmission/recipes/chunk_loader.json b/src/main/resources/data/createendertransmission/recipes/chunk_loader.json new file mode 100644 index 0000000..084886d --- /dev/null +++ b/src/main/resources/data/createendertransmission/recipes/chunk_loader.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "#D#", + "###" + ], + "key": { + "#": { + "item": "minecraft:obsidian" + }, + "D": { + "item": "minecraft:beacon" + } + }, + "result": { + "item": "createendertransmission:chunk_loader", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/createendertransmission/recipes/energy_transmitter.json b/src/main/resources/data/createendertransmission/recipes/energy_transmitter.json new file mode 100644 index 0000000..e46c339 --- /dev/null +++ b/src/main/resources/data/createendertransmission/recipes/energy_transmitter.json @@ -0,0 +1,31 @@ +{ + "type": "create:mechanical_crafting", + "pattern": [ + "OOSOO", + "OMPMO", + "OMEMO", + "OMPMO", + "OOSOO" + ], + "key": { + "S": { + "item": "create:shaft" + }, + "O": { + "item": "minecraft:obsidian" + }, + "P": { + "item": "create:precision_mechanism" + }, + "E": { + "item": "minecraft:ender_eye" + }, + "M": { + "item": "minecraft:ender_pearl" + } + }, + "result": { + "item": "createendertransmission:energy_transmitter" + }, + "acceptMirrored": true +} \ No newline at end of file diff --git a/src/main/resources/data/createendertransmission/recipes/fluid_transmitter.json b/src/main/resources/data/createendertransmission/recipes/fluid_transmitter.json new file mode 100644 index 0000000..7b72e4c --- /dev/null +++ b/src/main/resources/data/createendertransmission/recipes/fluid_transmitter.json @@ -0,0 +1,31 @@ +{ + "type": "create:mechanical_crafting", + "pattern": [ + "OOSOO", + "OMPMO", + "OMEMO", + "OMPMO", + "OOSOO" + ], + "key": { + "S": { + "item": "create:mechanical_pump" + }, + "O": { + "item": "minecraft:obsidian" + }, + "P": { + "item": "create:precision_mechanism" + }, + "E": { + "item": "minecraft:ender_eye" + }, + "M": { + "item": "minecraft:ender_pearl" + } + }, + "result": { + "item": "createendertransmission:fluid_transmitter" + }, + "acceptMirrored": true +} \ No newline at end of file diff --git a/src/main/resources/data/createendertransmission/recipes/item_transmitter.json b/src/main/resources/data/createendertransmission/recipes/item_transmitter.json new file mode 100644 index 0000000..c4b2904 --- /dev/null +++ b/src/main/resources/data/createendertransmission/recipes/item_transmitter.json @@ -0,0 +1,31 @@ +{ + "type": "create:mechanical_crafting", + "pattern": [ + "OOSOO", + "OMPMO", + "OMEMO", + "OMPMO", + "OOSOO" + ], + "key": { + "S": { + "item": "create:chute" + }, + "O": { + "item": "minecraft:obsidian" + }, + "P": { + "item": "create:precision_mechanism" + }, + "E": { + "item": "minecraft:ender_eye" + }, + "M": { + "item": "minecraft:ender_pearl" + } + }, + "result": { + "item": "createendertransmission:item_transmitter" + }, + "acceptMirrored": true +} \ No newline at end of file