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.
Like warjort already said, this is not possible to check easily. You can attempt to break any block, the block then determines how far along you are at breaking it (BlockState#getDestroyProgress). Unbreakable blocks like bedrock just keep returning 0 here no matter how long you mine them for, but this is not easy to detect. See ServerPlayerGameMode#incrementDestroyProgress and where it is used as well.
Recommended Posts
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.