Class ContraptionControlsMovement
java.lang.Object
com.simibubi.create.content.contraptions.actors.contraptionControls.ContraptionControlsMovement
- All Implemented Interfaces:
MovementBehaviour
-
Nested Class Summary
Nested Classes -
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) static net.minecraft.world.item.ItemStackgetFilter(MovementContext ctx) static booleanstatic booleanisSameFilter(net.minecraft.world.item.ItemStack stack1, net.minecraft.world.item.ItemStack stack2) voidrenderInContraption(MovementContext ctx, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) voidstartMoving(MovementContext context) voidstopMoving(MovementContext context) voidtick(MovementContext ctx) static voidMethods 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, createVisual, disableBlockEntityRendering, dropItem, getActiveAreaOffset, isActive, mustTickWhileDisabled, onDisabledByControls, onSpeedChanged, visitNewPosition, writeExtraData
-
Constructor Details
-
ContraptionControlsMovement
public ContraptionControlsMovement()
-
-
Method Details
-
canBeDisabledVia
- Specified by:
canBeDisabledViain interfaceMovementBehaviour
-
startMoving
- Specified by:
startMovingin interfaceMovementBehaviour
-
stopMoving
- Specified by:
stopMovingin interfaceMovementBehaviour
-
isSameFilter
public static boolean isSameFilter(net.minecraft.world.item.ItemStack stack1, net.minecraft.world.item.ItemStack stack2) -
getFilter
-
isDisabledInitially
-
tick
- Specified by:
tickin interfaceMovementBehaviour
-
tickFloorSelection
public static void tickFloorSelection(ContraptionControlsMovement.ElevatorFloorSelection efs, ElevatorContraption ec) -
renderInContraption
public void renderInContraption(MovementContext ctx, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) - Specified by:
renderInContraptionin interfaceMovementBehaviour
-