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.
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 Storestore@Nonnull final Refref@Nonnull final Dequefrom@Nonnull final Dequetofinal intcountfinal booleanisForward
IllegalArgumentException
public
new
IllegalArgumentException
(String.valueOf(count)
Method IllegalArgumentException.
- Parameters:
String.valueOf(countString.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:
targetWorldtargetWorldpoint.positionpoint.positionpoint.rotationpoint.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 Worldworld@Nonnull final Vector3dpos@Nonnull final Vector3frotation@Nonnull final Stringkey
Waypoint
public
new
Waypoint
(world.getName()
Method Waypoint.
- Parameters:
world.getName(world.getName(
toString
public
String
toString
()
Method toString.