Posted February 7, 20205 yr I am trying to add a tool to my mod and i do not know how to add durability to it. Minecraft Forge 1.15.2 Code for the tool: event.getRegistry().register(new Item(new Item.Properties().group(ItemGroup.TOOLS).addToolType(net.minecraftforge.common.ToolType.PICKAXE, 3)).setRegistryName("infinity_pickaxe"));
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.