Class BellMovementBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.behaviour.BellMovementBehaviour
- All Implemented Interfaces:
MovementBehaviour
- Direct Known Subclasses:
HauntedBellMovementBehaviour
-
Field Summary
Fields inherited from interface com.simibubi.create.api.behaviour.movement.MovementBehaviour
REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive(MovementContext context) voidonSpeedChanged(MovementContext context, net.minecraft.world.phys.Vec3 oldMotion, net.minecraft.world.phys.Vec3 motion) static voidplaySound(MovementContext context) 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
canBeDisabledVia, cancelStall, collectOrDropItem, createVisual, disableBlockEntityRendering, dropItem, getActiveAreaOffset, mustTickWhileDisabled, onDisabledByControls, renderInContraption, startMoving, visitNewPosition, writeExtraData
-
Constructor Details
-
BellMovementBehaviour
public BellMovementBehaviour()
-
-
Method Details
-
isActive
- Specified by:
isActivein interfaceMovementBehaviour
-
tick
- Specified by:
tickin interfaceMovementBehaviour
-
onSpeedChanged
public void onSpeedChanged(MovementContext context, net.minecraft.world.phys.Vec3 oldMotion, net.minecraft.world.phys.Vec3 motion) - Specified by:
onSpeedChangedin interfaceMovementBehaviour
-
stopMoving
- Specified by:
stopMovingin interfaceMovementBehaviour
-
playSound
-