#Is it possible to check if a given block has gravity?

2 messages · Page 1 of 1 (latest)

mossy ember
#

Given a block position or a block state or so on, is it possible to check if it's a block like Sand or Gravel? Or any other block that has gravity, like an Anvil or whatever else is out there, without writing them one by one?

calm mirage
#

every block that has gravity is some subclass of FallingBlock