added new item: helmet_on_a_stick

This commit is contained in:
Jonas_Jones 2023-04-18 19:03:11 +02:00
parent b44b0b720d
commit b5d7ae346a
5 changed files with 12 additions and 0 deletions

View file

@ -19,6 +19,7 @@ public class ModItems {
private static Item LETTER_ITEM;
private static Item CHAINMAIL_ITEM;
private static Item AK47_ITEM;
private static Item HELMET_ON_A_STICK_ITEM;
public static void register() {
TieredItem DIRT_SWORD = new SwordItem(DirtToolMaterial.INSTANCE, 1, -3.0F, new Item.Properties());
@ -44,5 +45,9 @@ public class ModItems {
Item AK47 = new Item(new FabricItemSettings());
AK47_ITEM = Registry.register(ITEM, new ResourceLocation(MOD_ID, "ak_47"), AK47);
ModRegistries.register_item(AK47_ITEM);
Item HELMET_ON_A_STICK = new Item(new FabricItemSettings());
HELMET_ON_A_STICK_ITEM = Registry.register(ITEM, new ResourceLocation(MOD_ID, "helmet_on_a_stick"), HELMET_ON_A_STICK);
ModRegistries.register_item(HELMET_ON_A_STICK_ITEM);
}
}

View file

@ -22,6 +22,7 @@
"item.nec.ak_47": "AK-47",
"item.nec.chainmail": "Chainmail",
"item.nec.dirt_sword": "Dirt Sword",
"item.nec.helmet_on_a_stick": "Helmet on a Stick",
"item.nec.letter": "Letter",
"item.nec.negative_flint": "Negative Flint",
"item.nec.steel": "Steel",

View file

@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "nec:item/helmet_on_a_stick"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B