detectivelll
detectivelll
You can check the Items.class code. This should work: ```java public static final Item YOUR_SWORD_ITEM = register( "your_sword_item", settings -> new Item( settings.sword(ToolMaterial.WOOD, 3.0f, -2.4f) ), new Item.Settings() ); ```
By the way, if you want your sword to have sweeping attacks and enchantment capabilities, create a swords.json file here: `src/main/resources/data/minecraft/tags/item/` "swords.json" can be like this: ``` { "replace": false,...