Hey, so basically I want to remake the Ultimate Fist mod in minecraft, just in the newest version of it. I pretty much got it to work, every block will break instantly, just leaves dont.
so this is what i already tried to make:
@SubscribeEvent
public static void registerItems(final RegistryEvent.Register<Item> event) {
event.getRegistry().register(new PickaxeItem(ModItemTier.EXAMPLE , 250000, 500000.0f, new Item.Properties().group(ItemGroup.TOOLS).addToolType(ToolType.AXE, 3).addToolType(ToolType.SHOVEL, 3)).setRegistryName("ultimate_fist"));
//event.getRegistry().register(new ShearsItem(new Item.Properties().group(ItemGroup.TOOLS).addToolType(ToolType.AXE, 4).addToolType(ToolType.SHOVEL, 3).addToolType(ToolType.PICKAXE, 3)).setRegistryName("ultimate_fist"));
//event.getRegistry().register(new SpecialItem(new Item.Properties().group(ItemGroup.TOOLS).addToolType(ToolType.AXE, ModItemTier.EXAMPLE).addToolType(ToolType.SHOVEL, ModItemTier.EXAMPLE)).setRegistryName("ultimate_fist"));
}
With the new PickaxeItem, it works the best;
With the new ShearsItem, it will break the leaves instantly, but wont break every other block
And with the new SpecialItem i got nothing to work.
In the ShearsItem i tried to add in the addToolType my own level which is the ModItemTier.EXAMPLE, but that doesn't work.
Has anyone an idea how i could fix this problem? I would really appreciate it. :D Thanks!