This PR adds a block_condition field to the block_collision entity condition type. There used to be an overload for the CollisionView#getBlockCollisions method that accepts a BiPredicate<BlockState, BlockPos> but that doesn't seem to exist anymore starting from 1.18, so I had to use another way
This PR adds a
block_condition
field to theblock_collision
entity condition type. There used to be an overload for theCollisionView#getBlockCollisions
method that accepts aBiPredicate<BlockState, BlockPos>
but that doesn't seem to exist anymore starting from 1.18, so I had to use another way