Jump to content

Recommended Posts

Posted

So I coded the Axe but i have a problem 

here is the code

https://pastebin.com/3FRE6MUp

 

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

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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