Posted December 29, 20204 yr Nether Quarz Ore Block state does not returns the tool type. it returns null. ย
January 25, 20214 yr Author What would be the ideal way to check if I can break a a block by a pickaxe or a shovel?ย ย I rewrote the whole logic and now I use the Item.canHarvestBlock, but it doesn't work reliable neither. For dirt the shovel returns false. ๐ ย Here is my logic: Github code ย Do you have any suggestion?ย ย Thank you in advance and I will let you know when the PR is ready.ย Edited January 25, 20214 yr by DancZer
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.