1

I know it's possible to make block breakable by items, but I wonder if I could make an item which can only break the specified blocks if they're facing a given direction.

1 Answer 1

1

This is not possible. `CanDestroy" simply does not have that feature.

You could try using raycasting to determine whether the player is looking at a block with the right block state or not and then give a shovel that can or can not break blocks, but that is very complicated and not fully reliable.

1
  • 1
    Although this is not the answer I hoped for, I'd still like to thank you for your time and for giving a new option(ray casting). Thank you very much. Commented Apr 22, 2020 at 8:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.