From 6db3df3037e7ce596ce58ef8f7a3ac6b117b7bbb Mon Sep 17 00:00:00 2001 From: Ayutac Date: Mon, 17 Jan 2022 23:41:50 +0100 Subject: [PATCH] Added sponge piece + recipes, texture by Spearkiller (#2751) --- src/main/java/techreborn/init/TRContent.java | 1 + .../resources/assets/techreborn/lang/en_us.json | 1 + .../techreborn/models/item/sponge_piece.json | 6 ++++++ .../textures/item/part/sponge_piece.png | Bin 0 -> 487 bytes .../crafting_table/misc_block/sponge.json | 16 ++++++++++++++++ .../recipes/extractor/sponge_piece.json | 16 ++++++++++++++++ 6 files changed, 40 insertions(+) create mode 100644 src/main/resources/assets/techreborn/models/item/sponge_piece.json create mode 100644 src/main/resources/assets/techreborn/textures/item/part/sponge_piece.png create mode 100644 src/main/resources/data/techreborn/recipes/crafting_table/misc_block/sponge.json create mode 100644 src/main/resources/data/techreborn/recipes/extractor/sponge_piece.json diff --git a/src/main/java/techreborn/init/TRContent.java b/src/main/java/techreborn/init/TRContent.java index 5c4036fda..17c258587 100644 --- a/src/main/java/techreborn/init/TRContent.java +++ b/src/main/java/techreborn/init/TRContent.java @@ -833,6 +833,7 @@ public class TRContent { UU_MATTER, PLANTBALL, COMPRESSED_PLANTBALL, + SPONGE_PIECE, SYNTHETIC_REDSTONE_CRYSTAL; diff --git a/src/main/resources/assets/techreborn/lang/en_us.json b/src/main/resources/assets/techreborn/lang/en_us.json index 9b4742c2e..e07304ac0 100644 --- a/src/main/resources/assets/techreborn/lang/en_us.json +++ b/src/main/resources/assets/techreborn/lang/en_us.json @@ -639,6 +639,7 @@ "item.techreborn.uu_matter": "UU-Matter", "item.techreborn.plantball": "Plantball", "item.techreborn.compressed_plantball": "Compressed Plantball", + "item.techreborn.sponge_piece": "Piece of Sponge", "item.techreborn.synthetic_redstone_crystal": "Synthetic Redstone Crystal", "_comment14": "Items-Armor", diff --git a/src/main/resources/assets/techreborn/models/item/sponge_piece.json b/src/main/resources/assets/techreborn/models/item/sponge_piece.json new file mode 100644 index 000000000..81628f07e --- /dev/null +++ b/src/main/resources/assets/techreborn/models/item/sponge_piece.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "techreborn:item/part/sponge_piece" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/techreborn/textures/item/part/sponge_piece.png b/src/main/resources/assets/techreborn/textures/item/part/sponge_piece.png new file mode 100644 index 0000000000000000000000000000000000000000..a4678a9994a27db72b3820fce6198654a971fb91 GIT binary patch literal 487 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc4K zm}cOZX>ntt*#mnIV=O=^|@W>=6)Jo_vSc)$ZU~w?<*gR#8M2xZ30fPqb2lh7v zCY)7BNYLjnV_71ZB4FiU$go86N&N(Khnxv&Gu%XD12;&31VsuIc;oMFJdn(g_ImE= z^#@I?4t!ubp*ACFLfVA23i=HUCzwhagt!%|^7cQipRnI?9Ybb=rSuUt$tf`vGOAw> zSw?Yf;<+wwml!a8YMO@jq~>a|CtNeQv!e5j?5aQaIXZbvc=+>nd4l1FvkEdHp-j(q zKTkE%@b)&)@a$}kWj=IikrPjlk`vFxt)dC0`$Am{Y75%jBjq9{NjwOd#eBVelDG#u b4-do1D>sbyXNUO$BZtA$)z4*}Q$iB}ztytj literal 0 HcmV?d00001 diff --git a/src/main/resources/data/techreborn/recipes/crafting_table/misc_block/sponge.json b/src/main/resources/data/techreborn/recipes/crafting_table/misc_block/sponge.json new file mode 100644 index 000000000..c272f2e04 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/crafting_table/misc_block/sponge.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "techreborn:sponge_piece" + } + }, + "result": { + "item": "minecraft:sponge" + } +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/extractor/sponge_piece.json b/src/main/resources/data/techreborn/recipes/extractor/sponge_piece.json new file mode 100644 index 000000000..b5dec6b8a --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/extractor/sponge_piece.json @@ -0,0 +1,16 @@ +{ + "type": "techreborn:extractor", + "power": 10, + "time": 1000, + "ingredients" : [ + { + "item": "minecraft:cod", + "count": 64 + } + ], + "results" : [ + { + "item": "techreborn:sponge_piece" + } + ] +} \ No newline at end of file