Class ControlsMovementBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.actors.trainControls.ControlsMovementBehaviour
- 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 TypeMethodDescriptionnet.minecraft.world.item.ItemStackcanBeDisabledVia(MovementContext context) voidrenderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) voidstopMoving(MovementContext context) voidtick(MovementContext context) Methods 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
cancelStall, collectOrDropItem, createVisual, disableBlockEntityRendering, dropItem, getActiveAreaOffset, isActive, mustTickWhileDisabled, onDisabledByControls, onSpeedChanged, startMoving, visitNewPosition, writeExtraData
-
Constructor Details
-
ControlsMovementBehaviour
public ControlsMovementBehaviour()
-
-
Method Details
-
canBeDisabledVia
- Specified by:
canBeDisabledViain interfaceMovementBehaviour
-
stopMoving
- Specified by:
stopMovingin interfaceMovementBehaviour
-
tick
- Specified by:
tickin interfaceMovementBehaviour
-
renderInContraption
public void renderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) - Specified by:
renderInContraptionin interfaceMovementBehaviour
-