Posted June 29, 20223 yr Is there an easy way to check if a block is intangible? I mean blocks that can be passed through, like grass, air, torch, etc.
June 29, 20223 yr You can get the collision shape of a block using the BlockState#getCollisionShape method. You can then call the isEmpty method on the result, and if is true it means that the block you get the collision shape from has no collision Don't blame me if i always ask for your help. I just want to learn to be better
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.