apace100 / apoli

MIT License
40 stars 46 forks source link

Add a `block_condition` field to `block_collision` #67

Closed eggohito closed 1 year ago

eggohito commented 2 years ago

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