Jump to content

Minecraft Mod Coding Axe


Recommended Posts

So I coded the Axe but i have a problem 

here is the code



the thick ones are the problem

return material != Material.WOOD && material != Material.PLANTS && material != Material.VINE ? super.getStrVsBlock(stack, state) : this.efficiencyOnProperMaterial;


thats what it says when i hover over it

-The method getStrVsBlock(ItemStack, IBlockState) is undefined for the type ItemTool
-efficiencyOnProperMaterial cannot be resolved or is not a field

Link to comment
Share on other sites

This topic is now closed to further replies.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.