- Enclosing class:
BlockMovementChecks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
isNotSupportive(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.core.Direction direction)
Check if the given block is non-supportive in the given direction.
-
Method Details
-
isNotSupportive
Check if the given block is non-supportive in the given direction.
Non-supportive blocks stop block collection propagation.
Examples:
- Drills are not supportive for the block in front of them
- Carpets are not supportive for the block above them
- Non-extended stickers are not supportive of the block in front of them