From f14df66360d48760c85721356e46b9dd7085f4af Mon Sep 17 00:00:00 2001 From: Jottyfan Date: Thu, 1 Oct 2026 00:38:47 +0200 Subject: [PATCH] added tin_ingot and raw_tin --- .../java/de/jottyfan/minecraft/item/ModItems.java | 6 +++++- .../resources/assets/mfmd2627/items/raw_tin.json | 6 ++++++ .../assets/mfmd2627/items/tin_ingot.json | 6 ++++++ .../resources/assets/mfmd2627/lang/de_de.json | 2 ++ .../resources/assets/mfmd2627/lang/en_us.json | 2 ++ .../assets/mfmd2627/models/item/raw_tin.json | 6 ++++++ .../assets/mfmd2627/models/item/tin_ingot.json | 6 ++++++ .../assets/mfmd2627/textures/item/raw_tin.png | Bin 0 -> 336 bytes .../assets/mfmd2627/textures/item/tin_ingot.png | Bin 0 -> 325 bytes 9 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/mfmd2627/items/raw_tin.json create mode 100644 src/main/resources/assets/mfmd2627/items/tin_ingot.json create mode 100644 src/main/resources/assets/mfmd2627/models/item/raw_tin.json create mode 100644 src/main/resources/assets/mfmd2627/models/item/tin_ingot.json create mode 100644 src/main/resources/assets/mfmd2627/textures/item/raw_tin.png create mode 100644 src/main/resources/assets/mfmd2627/textures/item/tin_ingot.png diff --git a/src/main/java/de/jottyfan/minecraft/item/ModItems.java b/src/main/java/de/jottyfan/minecraft/item/ModItems.java index 9f6d32b..8c2479b 100644 --- a/src/main/java/de/jottyfan/minecraft/item/ModItems.java +++ b/src/main/java/de/jottyfan/minecraft/item/ModItems.java @@ -11,13 +11,17 @@ import net.minecraft.world.item.Item; * */ public class ModItems extends ModItemsRegistrator { - public static final Item STUB = registerItem("stub"); + public static final Item RAW_TIN = registerItem("raw_tin"); public static final Item RUBY = registerItem("ruby"); + public static final Item STUB = registerItem("stub"); + public static final Item TIN_INGOT = registerItem("tin_ingot"); public static final List registerItems() { List registeredItems = new ArrayList<>(); registeredItems.add(STUB); registeredItems.add(RUBY); + registeredItems.add(RAW_TIN); + registeredItems.add(TIN_INGOT); return registeredItems; } } diff --git a/src/main/resources/assets/mfmd2627/items/raw_tin.json b/src/main/resources/assets/mfmd2627/items/raw_tin.json new file mode 100644 index 0000000..b851887 --- /dev/null +++ b/src/main/resources/assets/mfmd2627/items/raw_tin.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "mfmd2627:item/raw_tin" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/items/tin_ingot.json b/src/main/resources/assets/mfmd2627/items/tin_ingot.json new file mode 100644 index 0000000..ef1d43b --- /dev/null +++ b/src/main/resources/assets/mfmd2627/items/tin_ingot.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "mfmd2627:item/tin_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/lang/de_de.json b/src/main/resources/assets/mfmd2627/lang/de_de.json index 90330e6..7bbebb2 100644 --- a/src/main/resources/assets/mfmd2627/lang/de_de.json +++ b/src/main/resources/assets/mfmd2627/lang/de_de.json @@ -1,5 +1,7 @@ { "item.mfmd2627.stub": "Stummel", + "item.mfmd2627.raw_tin": "Zinn", "item.mfmd2627.ruby": "Rubin", + "item.mfmd2627.tin_ingot": "Zinnbarren", "tab.mfmd2627": "Mfmd2627" } \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/lang/en_us.json b/src/main/resources/assets/mfmd2627/lang/en_us.json index 3fbf68f..85d1f44 100644 --- a/src/main/resources/assets/mfmd2627/lang/en_us.json +++ b/src/main/resources/assets/mfmd2627/lang/en_us.json @@ -1,5 +1,7 @@ { "item.mfmd2627.stub": "Stub", + "item.mfmd2627.raw_tin": "Tin", "item.mfmd2627.ruby": "Ruby", + "item.mfmd2627.tin_ingot": "Tin Ingot", "tab.mfmd2627": "Mfmd2627" } \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/models/item/raw_tin.json b/src/main/resources/assets/mfmd2627/models/item/raw_tin.json new file mode 100644 index 0000000..22222e6 --- /dev/null +++ b/src/main/resources/assets/mfmd2627/models/item/raw_tin.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "mfmd2627:item/raw_tin" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/models/item/tin_ingot.json b/src/main/resources/assets/mfmd2627/models/item/tin_ingot.json new file mode 100644 index 0000000..4695e0f --- /dev/null +++ b/src/main/resources/assets/mfmd2627/models/item/tin_ingot.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "mfmd2627:item/tin_ingot" + } +} \ No newline at end of file diff --git a/src/main/resources/assets/mfmd2627/textures/item/raw_tin.png b/src/main/resources/assets/mfmd2627/textures/item/raw_tin.png new file mode 100644 index 0000000000000000000000000000000000000000..d520e7b0419bbc89f401e72029f5d4eab840540e GIT binary patch literal 336 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6XVU3I`u#fOS+@4BLl<6 ze(pbstU$g(vPY0F14ES>14Ba#1H&(%P{RubhEf9thF1v;3|2E37{m+a>Zx`z&h%wf(4U!2Q*v$p9o}~G*PE6{NBwurNRD>!?X9#bN!AK+ zSFtuJns8_qP#a@OkY6x^!?PP{Kn`btM`SSr1Gg{;GcwGYBLNg-FY)wsWq-vfCnjQW zjq$}IpisD{i(`ny<w4mM_(kAm+jmCWwr3GYL2GW T290$k44ofvPP)Tsw@SkfJR9T^xl z_H+M9WCijSl0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=d3- zBeIx*fm;}a85w5HkpK#^mw5WRvcKY#6BAU5IG?*7C^XyC#W6(V{MHK_c@H@VxLhp1 zRK zHe;#P9!aBF_TN}n^0nkoDZRMDdCjFT^GS;XW=vLE`{`^@gWu{6?~PNu-Q3N6+TypI zVywEWSY#^O7%na2bcZ!F^OujoK`EIc{=KYH&lz8d#+lBwyRg25y?cWGduNY=K%g@j NJYD@<);T3K0RSYXX)6E# literal 0 HcmV?d00001