HyCodeYourTale
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)

protectedfloat angle
protecteddouble cooldown
protecteddouble maxOffset
protecteddouble maxYOffset
protecteddouble minOffset
protectedBodyMotionTeleport.Orientation orientation
protectedint tries

Related Classes