- 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
isMovementNecessary(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.level.Level world,
net.minecraft.core.BlockPos pos)
Determine if it's necessary to move the given block.
-
Method Details
-
isMovementNecessary
BlockMovementChecks.CheckResult isMovementNecessary(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.level.Level world,
net.minecraft.core.BlockPos pos)
Determine if it's necessary to move the given block. Contraptions
will generally ignore blocks that are unnecessary to move.