Posted July 24, 20205 yr I am trying to check whether or not a block can be mined by the tool the player is currently holding. This is working fine with certain blocks like stone, sand and planks, but the method I'm using below returns false for concrete and terracotta if (slot.getToolTypes().contains(state.getHarvestTool))) { } Unless I understand this wrong, the various concrete and terracotta blocks should also return true when the player is holding a pickaxe... right? is this a bug or am I just doing this wrong? Edited July 24, 20205 yr by AreUThreateningMe Changed title
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.