#How to register sword in fabric yarn-1.21.5+build-1
4 messages · Page 1 of 1 (latest)
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"))));
that class doesn't exist anymore as shown above swords are registered with a component when in doubt just check how vanilla does it
Ahhh i see, thx for you answer