TeleportHistory

public class TeleportHistory implements Component

Class TeleportHistory. Provides teleporthistory functionality for the Hytale server.

java.lang.Object > TeleportHistory

Field Summary

store

final Store store

Field store.

playerRef

final PlayerRef playerRef

Field playerRef.

targetWorld

final World targetWorld

Field targetWorld.

pos

final Vector3d pos

Field pos.

remainingInDirection

final int remainingInDirection

Field remainingInDirection.

totalInOtherDirection

final int totalInOtherDirection

Field totalInOtherDirection.

cloned

final TeleportHistory cloned

Field cloned.

Method Detail

getComponentType

public TeleportHistory> getComponentType ()

Method getComponentType.

TeleportHistory

public public TeleportHistory ()

Method TeleportHistory.

forward

public void forward (@Nonnull final Ref ref, final int count)

Method forward.

Parameters:
@Nonnull final Ref ref
final int count

back

public void back (@Nonnull final Ref ref, final int count)

Method back.

Parameters:
@Nonnull final Ref ref
final int count

getForwardSize

public int getForwardSize ()

Method getForwardSize.

getBackSize

public int getBackSize ()

Method getBackSize.

go

static void go (@Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final Deque from, @Nonnull final Deque to, final int count, final boolean isForward)

Method go.

Parameters:
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final Deque from
@Nonnull final Deque to
final int count
final boolean isForward

IllegalArgumentException

public new IllegalArgumentException (String.valueOf(count)

Method IllegalArgumentException.

Parameters:
String.valueOf(count String.valueOf(count

NullPointerException

public new NullPointerException (to.toString()

Method NullPointerException.

Parameters:
to.toString( to.toString(

Teleport

public new Teleport (targetWorld, point.position, point.rotation)

Method Teleport.

Parameters:
targetWorld targetWorld
point.position point.position
point.rotation point.rotation

append

public void append (@Nonnull final World world, @Nonnull final Vector3d pos, @Nonnull final Vector3f rotation, @Nonnull final String key)

Method append.

Parameters:
@Nonnull final World world
@Nonnull final Vector3d pos
@Nonnull final Vector3f rotation
@Nonnull final String key

Waypoint

public new Waypoint (world.getName()

Method Waypoint.

Parameters:
world.getName( world.getName(

toString

public String toString ()

Method toString.

clone

public Component clone ()

Method clone.