#How to register sword in fabric yarn-1.21.5+build-1

4 messages · Page 1 of 1 (latest)

fathom ferry
#

hi, i want to ask a question, how to register sword? i finding the SwordItem and cant found, i hear that the register method is changed, but how

random shoal
#

Here is an example from my mod:

public static final Item COPPER_SWORD = registerItem("copper_sword", new Item(new Item.Settings().sword(MGToolMaterials.COPPER_TIER, 3, -2.4F).registryKey(createItemKey("copper_sword"))));
crude jacinth
fathom ferry