Sanysvo Posted December 5, 2023 Posted December 5, 2023 Hi, i try get block hardness. In old versions works this code: blockState.getBlockHardness(world, currentPos) But now in 1.20.1 this function cutting. Quote
Blaze98765 Posted May 17, 2024 Posted May 17, 2024 I know this is an old post, but incase anyone comes looking for the answer, you now have to use: getBlock().defaultDestroyTime() Quote
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.