This commit is contained in:
@@ -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);
|
||||
|
||||
6
src/main/resources/assets/uno/items/ruby.json
Normal file
6
src/main/resources/assets/uno/items/ruby.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "minecraft:model",
|
||||
"model": "uno:item/ruby"
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"item.uno.stub": "Stummel"
|
||||
"item.uno.stub": "Stummel",
|
||||
"item.uno.ruby": "Rubin"
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"item.uno.stub": "Stub"
|
||||
"item.uno.stub": "Stub",
|
||||
"item.uno.ruby": "Ruby"
|
||||
}
|
||||
6
src/main/resources/assets/uno/models/item/ruby.json
Normal file
6
src/main/resources/assets/uno/models/item/ruby.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "uno:item/ruby"
|
||||
}
|
||||
}
|
||||
BIN
src/main/resources/assets/uno/textures/item/ruby.png
Normal file
BIN
src/main/resources/assets/uno/textures/item/ruby.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 470 B |
Reference in New Issue
Block a user