Class BlockMovementChecksImpl
java.lang.Object
com.simibubi.create.impl.contraption.BlockMovementChecksImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBlockAttachedTowards(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction) static booleanisBrittle(net.minecraft.world.level.block.state.BlockState state) static booleanisMovementAllowed(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) static booleanisMovementNecessary(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) static booleanisNotSupportive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction facing) static voidstatic voidstatic voidstatic voidstatic void
-
Constructor Details
-
BlockMovementChecksImpl
public BlockMovementChecksImpl()
-
-
Method Details
-
registerMovementNecessaryCheck
-
registerMovementAllowedCheck
-
registerBrittleCheck
-
registerAttachedCheck
-
registerNotSupportiveCheck
-
isMovementNecessary
public static boolean isMovementNecessary(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) -
isMovementAllowed
public static boolean isMovementAllowed(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) -
isBrittle
public static boolean isBrittle(net.minecraft.world.level.block.state.BlockState state) -
isBlockAttachedTowards
public static boolean isBlockAttachedTowards(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction) -
isNotSupportive
public static boolean isNotSupportive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction facing)
-