Started by
Creator2024
on
Topic category: Help with Minecraft modding (Java Edition)
hi, when I was working on my mod I noticed that the custom tools I created didn't work as they should. for example, with the custom axes I can't strip the Minecraft blocks that I added with my mod, the custom pickaxes don't work with the sustom loot of the ore blocks and the remaining tools don't work as they should. reversed swords work normally.
Edited by Creator2024 on Wed, 01/24/2024 - 15:26
Did you make sure to set them to the correct tool types? Custom axes should be able to strip logs- if you're having trouble with pickaxes, it's more likely that you just need to set the 'tier' to a higher value, by default they're set to 1, (wooden pickaxe tier), meaning they don't drop blocks. Otherwise I'm not sure what might be the issue.
the custom axe doesn't do the stripping and for the custom pickaxe they don't work with the custom drop set with the custom loot.
maybe for the axe i have to make a tag for them to work like the normal axe and make the procedure but for the pickaxe i don't know what to do.
You made these as tools, not regular items, right? If they're classified as the correct tooltype, they should just do this automatically. Your custom blocks are probably set to only drop loot if mined with the correct tool, (a pickaxe), and if your custom tool is not classified as a pickaxe, they won't drop anything.
understand now, thank you.