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 UUIDworldUuid
getRelativeMask
public
byte
getRelativeMask
()
Method getRelativeMask.
setRelativeMask
public
void
setRelativeMask
(final byte relativeMask)
Method setRelativeMask.
- Parameters:
final byterelativeMask
getWarp
public
String
getWarp
()
Method getWarp.
setWarp
public
void
setWarp
(@Nullable final String warp)
Method setWarp.
- Parameters:
@Nullable final Stringwarp
getOwnedWarp
public
String
getOwnedWarp
()
Method getOwnedWarp.
setOwnedWarp
public
void
setOwnedWarp
(final String ownedWarp)
Method setOwnedWarp.
- Parameters:
final StringownedWarp
hasOwnedWarp
public
boolean
hasOwnedWarp
()
Method hasOwnedWarp.
setWarpNameWordListKey
public
void
setWarpNameWordListKey
(final String warpNameWordListKey)
Method setWarpNameWordListKey.
- Parameters:
final StringwarpNameWordListKey
isCustomName
public
boolean
isCustomName
()
Method isCustomName.
setIsCustomName
public
void
setIsCustomName
(final boolean customName)
Method setIsCustomName.
- Parameters:
final booleancustomName
getWarpNameWordListKey
public
String
getWarpNameWordListKey
()
Method getWarpNameWordListKey.
isValid
public
boolean
isValid
()
Method isValid.
toTeleport
public
Teleport
toTeleport
(@Nonnull final Vector3d currentPosition, @Nonnull final Vector3f currentRotation, @Nonnull final Vector3i blockPosition)
Method toTeleport.
- Parameters:
@Nonnull final Vector3dcurrentPosition@Nonnull final Vector3fcurrentRotation@Nonnull final Vector3iblockPosition