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 0000000..d520e7b Binary files /dev/null and b/src/main/resources/assets/mfmd2627/textures/item/raw_tin.png differ diff --git a/src/main/resources/assets/mfmd2627/textures/item/tin_ingot.png b/src/main/resources/assets/mfmd2627/textures/item/tin_ingot.png new file mode 100644 index 0000000..00ea394 Binary files /dev/null and b/src/main/resources/assets/mfmd2627/textures/item/tin_ingot.png differ