Class DrillMovementBehaviour
java.lang.Object
com.simibubi.create.content.kinetics.base.BlockBreakingMovementBehaviour
com.simibubi.create.content.kinetics.drill.DrillMovementBehaviour
- All Implemented Interfaces:
MovementBehaviour
-
Field Summary
Fields inherited from interface com.simibubi.create.api.behaviour.movement.MovementBehaviour
REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBreak(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos breakingPos, net.minecraft.world.level.block.state.BlockState state) @Nullable ActorVisualcreateVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext visualizationContext, VirtualRenderWorld simulationWorld, MovementContext movementContext) booleannet.minecraft.world.phys.Vec3getActiveAreaOffset(MovementContext context) protected net.minecraft.world.damagesource.DamageSourcegetDamageSource(net.minecraft.world.level.Level level) booleanisActive(MovementContext context) voidrenderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) Methods inherited from class com.simibubi.create.content.kinetics.base.BlockBreakingMovementBehaviour
cancelStall, damageEntities, destroyBlock, getBlockBreakingSpeed, onBlockBroken, shouldDestroyStartBlock, startMoving, stopMoving, throwEntity, throwsEntities, tick, tickBreaker, visitNewPositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.api.behaviour.movement.MovementBehaviour
canBeDisabledVia, dropItem, mustTickWhileDisabled, onDisabledByControls, onSpeedChanged, writeExtraData
-
Constructor Details
-
DrillMovementBehaviour
public DrillMovementBehaviour()
-
-
Method Details
-
isActive
-
getActiveAreaOffset
-
disableBlockEntityRendering
public boolean disableBlockEntityRendering() -
renderInContraption
public void renderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) -
createVisual
@Nullable public @Nullable ActorVisual createVisual(dev.engine_room.flywheel.api.visualization.VisualizationContext visualizationContext, VirtualRenderWorld simulationWorld, MovementContext movementContext) -
getDamageSource
protected net.minecraft.world.damagesource.DamageSource getDamageSource(net.minecraft.world.level.Level level) - Overrides:
getDamageSourcein classBlockBreakingMovementBehaviour
-
canBreak
public boolean canBreak(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos breakingPos, net.minecraft.world.level.block.state.BlockState state) - Overrides:
canBreakin classBlockBreakingMovementBehaviour
-