Class DrillMovementBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.components.actors.BlockBreakingMovementBehaviour
com.simibubi.create.content.contraptions.components.actors.DrillMovementBehaviour
- All Implemented Interfaces:
MovementBehaviour
-
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) createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld simulationWorld, MovementContext context) net.minecraft.world.phys.Vec3getActiveAreaOffset(MovementContext context) protected net.minecraft.world.damagesource.DamageSourcebooleanbooleanisActive(MovementContext context) voidrenderInContraption(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) Methods inherited from class com.simibubi.create.content.contraptions.components.actors.BlockBreakingMovementBehaviour
cancelStall, damageEntities, 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.content.contraptions.components.structureMovement.MovementBehaviour
dropItem, onSpeedChanged, renderAsNormalTileEntity, writeExtraData
-
Constructor Details
-
DrillMovementBehaviour
public DrillMovementBehaviour()
-
-
Method Details
-
isActive
-
getActiveAreaOffset
-
renderInContraption
public void renderInContraption(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) -
hasSpecialInstancedRendering
public boolean hasSpecialInstancedRendering() -
createInstance
@Nullable public ActorInstance createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld simulationWorld, MovementContext context) -
getDamageSource
protected net.minecraft.world.damagesource.DamageSource getDamageSource()- 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
-