- 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
isMovementAllowed(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.level.Level world,
net.minecraft.core.BlockPos pos)
Determine if the given block is movable.
-
Method Details
-
isMovementAllowed
BlockMovementChecks.CheckResult isMovementAllowed(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.level.Level world,
net.minecraft.core.BlockPos pos)
Determine if the given block is movable. Immobile blocks will generally prevent a contraption from assembling.
- See Also:
-