Class PortableStorageInterfaceMovement
java.lang.Object
com.simibubi.create.content.contraptions.components.actors.PortableStorageInterfaceMovement
- All Implemented Interfaces:
MovementBehaviour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelStall(MovementContext context) @Nullable ActorInstancecreateInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld simulationWorld, MovementContext context) protected booleanfindInterface(MovementContext context, net.minecraft.core.BlockPos pos) net.minecraft.world.phys.Vec3getActiveAreaOffset(MovementContext context) static LerpedFloatgetAnimation(MovementContext context) booleanvoidrenderInContraption(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) voidreset(MovementContext context) voidstopMoving(MovementContext context) voidtick(MovementContext context) voidvisitNewPosition(MovementContext context, net.minecraft.core.BlockPos pos) Methods 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, isActive, onSpeedChanged, renderAsNormalTileEntity, startMoving, writeExtraData
-
Constructor Details
-
PortableStorageInterfaceMovement
public PortableStorageInterfaceMovement()
-
-
Method Details
-
getActiveAreaOffset
- Specified by:
getActiveAreaOffsetin interfaceMovementBehaviour
-
hasSpecialInstancedRendering
public boolean hasSpecialInstancedRendering()- Specified by:
hasSpecialInstancedRenderingin interfaceMovementBehaviour
-
createInstance
@Nullable public @Nullable ActorInstance createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld simulationWorld, MovementContext context) - Specified by:
createInstancein interfaceMovementBehaviour
-
renderInContraption
public void renderInContraption(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) - Specified by:
renderInContraptionin interfaceMovementBehaviour
-
visitNewPosition
- Specified by:
visitNewPositionin interfaceMovementBehaviour
-
tick
- Specified by:
tickin interfaceMovementBehaviour
-
findInterface
-
stopMoving
- Specified by:
stopMovingin interfaceMovementBehaviour
-
cancelStall
- Specified by:
cancelStallin interfaceMovementBehaviour
-
reset
-
getAnimation
-