Teleporter

public class Teleporter implements Component

Class Teleporter. Provides teleporter functionality for the Hytale server.

java.lang.Object > Teleporter

Field Summary

worldUuid

private UUID worldUuid

Field worldUuid.

transform

private Transform transform

Field transform.

relativeMask

private byte relativeMask

Field relativeMask.

warp

private String warp

Field warp.

ownedWarp

private String ownedWarp

Field ownedWarp.

isCustomName

private boolean isCustomName

Field isCustomName.

warpNameWordListKey

private String warpNameWordListKey

Field warpNameWordListKey.

teleporter

final Teleporter teleporter

Field teleporter.

targetWarp

final Warp targetWarp

Field targetWarp.

world

final World world

Field world.

teleportTransform

final Transform teleportTransform

Field teleportTransform.

teleportTransform2

final Transform teleportTransform2

Field teleportTransform2.

Method Detail

Teleporter

public public Teleporter ()

Method Teleporter.

getComponentType

public Teleporter> getComponentType ()

Method getComponentType.

getWorldUuid

public UUID getWorldUuid ()

Method getWorldUuid.

setWorldUuid

public void setWorldUuid (@Nullable final UUID worldUuid)

Method setWorldUuid.

Parameters:
@Nullable final UUID worldUuid

getTransform

public Transform getTransform ()

Method getTransform.

setTransform

public void setTransform (@Nullable final Transform transform)

Method setTransform.

Parameters:
@Nullable final Transform transform

getRelativeMask

public byte getRelativeMask ()

Method getRelativeMask.

setRelativeMask

public void setRelativeMask (final byte relativeMask)

Method setRelativeMask.

Parameters:
final byte relativeMask

getWarp

public String getWarp ()

Method getWarp.

setWarp

public void setWarp (@Nullable final String warp)

Method setWarp.

Parameters:
@Nullable final String warp

getOwnedWarp

public String getOwnedWarp ()

Method getOwnedWarp.

setOwnedWarp

public void setOwnedWarp (final String ownedWarp)

Method setOwnedWarp.

Parameters:
final String ownedWarp

hasOwnedWarp

public boolean hasOwnedWarp ()

Method hasOwnedWarp.

setWarpNameWordListKey

public void setWarpNameWordListKey (final String warpNameWordListKey)

Method setWarpNameWordListKey.

Parameters:
final String warpNameWordListKey

isCustomName

public boolean isCustomName ()

Method isCustomName.

setIsCustomName

public void setIsCustomName (final boolean customName)

Method setIsCustomName.

Parameters:
final boolean customName

getWarpNameWordListKey

public String getWarpNameWordListKey ()

Method getWarpNameWordListKey.

getWarpNameWordList

public WordList getWarpNameWordList ()

Method getWarpNameWordList.

isValid

public boolean isValid ()

Method isValid.

clone

public Component clone ()

Method clone.

toTeleport

public Teleport toTeleport (@Nonnull final Vector3d currentPosition, @Nonnull final Vector3f currentRotation, @Nonnull final Vector3i blockPosition)

Method toTeleport.

Parameters:
@Nonnull final Vector3d currentPosition
@Nonnull final Vector3f currentRotation
@Nonnull final Vector3i blockPosition