classpublicPriority 3
TeleportHistory
com.hypixel.hytale.builtin.teleport.components.TeleportHistory
implements Component
8
Methods
8
Public Methods
0
Fields
1
Constructors
Constants
intMAX_TELEPORT_HISTORY= 100
MessageMESSAGE_COMMANDS_TELEPORT_NOT_FURTHER= Message.translation("server.commands.teleport.notFurther")
MessageMESSAGE_COMMANDS_TELEPORT_TELEPORTED_BACK_TO_COORDINATES= Message.translation(
"server.commands.teleport.teleportedBackToCoordinates"
)
MessageMESSAGE_COMMANDS_TELEPORT_TELEPORTED_BACK_TO_WAYPOINT= Message.translation("server.commands.teleport.teleportedBackToWaypoint")
MessageMESSAGE_COMMANDS_TELEPORT_TELEPORTED_FORWARD_TO_COORDINATES= Message.translation(
"server.commands.teleport.teleportedForwardToCoordinates"
)
MessageMESSAGE_COMMANDS_TELEPORT_TELEPORTED_FORWARD_TO_WAYPOINT= Message.translation(
"server.commands.teleport.teleportedForwardToWaypoint"
)
MessageMESSAGE_COMMANDS_TELEPORT_WORLD_NOT_LOADED= Message.translation("server.commands.teleport.worldNotLoaded")
Constructors
public
TeleportHistory()Methods
Public Methods (8)
public
void append(World world, Vector3d pos, Vector3f rotation, String key)public
void back(Ref<EntityStore> ref, int count)public
Component<EntityStore> clone()@Nonnull@Override
public
void forward(Ref<EntityStore> ref, int count)public
int getBackSize()publicstatic
ComponentType<EntityStore, TeleportHistory> getComponentType()@Nonnull
public
int getForwardSize()public
String toString()@Nonnull@Override