Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to create a item in minecraft modding

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)));
Source by minecraft.fandom.com #
 
PREVIOUS NEXT
Tagged: #create #item #minecraft #modding
ADD COMMENT
Topic
Name
1+1 =