added second item ruby
Some checks failed
build / build (push) Has been cancelled

This commit is contained in:
Jottyfan
2026-02-13 22:31:47 +01:00
parent 4d4e331d28
commit b94e150a19
6 changed files with 17 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ import net.minecraft.world.item.Item.Properties;
public class UnoItems {
public static final Item STUB = registerItem(Identifier.fromNamespaceAndPath(Uno.MOD_ID, "stub"));
public static final Item RUBY = registerItem(Identifier.fromNamespaceAndPath(Uno.MOD_ID, "ruby"));
private static final Item registerItem(Identifier identifier) {
return registerItem(identifier, new Item.Properties(), Item::new);

View File

@@ -0,0 +1,6 @@
{
"model": {
"type": "minecraft:model",
"model": "uno:item/ruby"
}
}

View File

@@ -1,3 +1,4 @@
{
"item.uno.stub": "Stummel"
"item.uno.stub": "Stummel",
"item.uno.ruby": "Rubin"
}

View File

@@ -1,3 +1,4 @@
{
"item.uno.stub": "Stub"
"item.uno.stub": "Stub",
"item.uno.ruby": "Ruby"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "uno:item/ruby"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B