Class BellMovementBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.components.actors.BellMovementBehaviour
- All Implemented Interfaces:
MovementBehaviour
- Direct Known Subclasses:
HauntedBellMovementBehaviour
-
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) booleanvoidstopMoving(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.content.contraptions.components.structureMovement.MovementBehaviour
cancelStall, createInstance, dropItem, getActiveAreaOffset, hasSpecialInstancedRendering, renderInContraption, startMoving, tick, visitNewPosition, writeExtraData
-
Constructor Details
-
BellMovementBehaviour
public BellMovementBehaviour()
-
-
Method Details
-
renderAsNormalTileEntity
public boolean renderAsNormalTileEntity()- Specified by:
renderAsNormalTileEntityin interfaceMovementBehaviour
-
isActive
- Specified by:
isActivein 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
-