Home

Published

- 1 min read

how to create a item in minecraft modding

img of how to create a item in minecraft modding

The solution for this is noted below

how to create a item in minecraft modding

Solution

   public static final RegistryObject<SwordItem> NAME_SPEAR = ITEMS.register("name_spear", () -> new SwordItem(ModItemTier.CUSTOMNAMEHERE, 5, -2.8f, (new Item.Properties()).tab(ItemGroup.TAB_COMBAT)));

Try other methods by searching on the site. That is if this doesn’t work