added item ruby

This commit is contained in:
Jottyfan
2026-07-09 18:00:27 +02:00
parent a9817ebe7d
commit 55f13280e0
6 changed files with 16 additions and 0 deletions
@@ -12,10 +12,12 @@ import net.minecraft.world.item.Item;
*/ */
public class ModItems extends ModItemsRegistrator { public class ModItems extends ModItemsRegistrator {
public static final Item STUB = registerItem("stub"); public static final Item STUB = registerItem("stub");
public static final Item RUBY = registerItem("ruby");
public static final List<Item> registerItems() { public static final List<Item> registerItems() {
List<Item> registeredItems = new ArrayList<>(); List<Item> registeredItems = new ArrayList<>();
registeredItems.add(STUB); registeredItems.add(STUB);
registeredItems.add(RUBY);
return registeredItems; return registeredItems;
} }
} }
@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "mfmd2627:item/ruby"
}
}
@@ -1,4 +1,5 @@
{ {
"item.mfmd2627.stub": "Stummel", "item.mfmd2627.stub": "Stummel",
"item.mfmd2627.ruby": "Rubin",
"tab.mfmd2627": "Mfmd2627" "tab.mfmd2627": "Mfmd2627"
} }
@@ -1,4 +1,5 @@
{ {
"item.mfmd2627.stub": "Stub", "item.mfmd2627.stub": "Stub",
"item.mfmd2627.ruby": "Ruby",
"tab.mfmd2627": "Mfmd2627" "tab.mfmd2627": "Mfmd2627"
} }
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "mfmd2627:item/ruby"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B