classpublicPriority 3
BodyMotionTeleport
com.hypixel.hytale.server.npc.corecomponents.movement.BodyMotionTeleport
extends BodyMotionBase
2
Methods
2
Public Methods
7
Fields
1
Constructors
Constants
ComponentType<EntityStore, BoundingBox>BOUNDING_BOX_COMPONENT_TYPE= BoundingBox.getComponentType()
intMAX_TRIES= 10
intMIN_MOVE_CHANGE= 1
doubleTELEPORT_COOLDOWN= 0.5
ComponentType<EntityStore, TransformComponent>TRANSFORM_COMPONENT_TYPE= TransformComponent.getComponentType()
Constructors
public
BodyMotionTeleport(BuilderBodyMotionTeleport builder)Methods
Public Methods (2)
public
void activate(Ref<EntityStore> ref, Role role, ComponentAccessor<EntityStore> componentAccessor)@Override
public
String get()Fields
Protected Fields (7)
protected
float angleprotected
double cooldownprotected
double maxOffsetprotected
double maxYOffsetprotected
double minOffsetprotected
BodyMotionTeleport.Orientation orientationprotected
int tries