Class BellMovementBehaviour
java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.MovementBehaviour
com.simibubi.create.content.contraptions.components.actors.BellMovementBehaviour
- Direct Known Subclasses:
HauntedBellMovementBehaviour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSpeedChanged(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 com.simibubi.create.content.contraptions.components.structureMovement.MovementBehaviour
createInstance, dropItem, getActiveAreaOffset, hasSpecialInstancedRendering, isActive, renderInContraption, startMoving, tick, visitNewPosition, writeExtraData
-
Constructor Details
-
BellMovementBehaviour
public BellMovementBehaviour()
-
-
Method Details
-
renderAsNormalTileEntity
public boolean renderAsNormalTileEntity()- Overrides:
renderAsNormalTileEntityin classMovementBehaviour
-
onSpeedChanged
public void onSpeedChanged(MovementContext context, net.minecraft.world.phys.Vec3 oldMotion, net.minecraft.world.phys.Vec3 motion) - Overrides:
onSpeedChangedin classMovementBehaviour
-
stopMoving
- Overrides:
stopMovingin classMovementBehaviour
-
playSound
-