RespawnPointPage

abstract class RespawnPointPage extends InteractiveCustomUIPage

Class RespawnPointPage. Provides respawnpointpage functionality for the Hytale server.

java.lang.Object > InteractiveCustomUIPage > RespawnPointPage

Field Summary

world

final World world

Field world.

playerComponent

final Player playerComponent

Field playerComponent.

chunk

final WorldChunk chunk

Field chunk.

blockType

final BlockType blockType

Field blockType.

rotationIndex

final int rotationIndex

Field rotationIndex.

hitbox

final Box hitbox

Field hitbox.

blockCenterWidthOffset

final double blockCenterWidthOffset

Field blockCenterWidthOffset.

blockCenterDepthOffset

final double blockCenterDepthOffset

Field blockCenterDepthOffset.

respawnPosition

final Vector3d respawnPosition

Field respawnPosition.

respawnPointData

final PlayerRespawnPointData respawnPointData

Field respawnPointData.

perWorldData

final PlayerWorldData perWorldData

Field perWorldData.

respawnPoints

final PlayerRespawnPointData[] respawnPoints

Field respawnPoints.

savedRespawnPointData

final PlayerRespawnPointData savedRespawnPointData

Field savedRespawnPointData.

chunkStore

final ChunkStore chunkStore

Field chunkStore.

respawnPointToRemove

final PlayerRespawnPointData respawnPointToRemove

Field respawnPointToRemove.

respawnPoint

final PlayerRespawnPointData respawnPoint

Field respawnPoint.

position

final Vector3i position

Field position.

chunkReference

final Ref chunkReference

Field chunkReference.

blockComponentChunk

final BlockComponentChunk blockComponentChunk

Field blockComponentChunk.

blockRef

final Ref blockRef

Field blockRef.

respawnBlock

final RespawnBlock respawnBlock

Field respawnBlock.

worldChunk

final WorldChunk worldChunk

Field worldChunk.

commandBuilder

final UICommandBuilder commandBuilder

Field commandBuilder.

action

private String action

Field action.

indexStr

private String indexStr

Field indexStr.

index

private int index

Field index.

respawnPointName

private String respawnPointName

Field respawnPointName.

Method Detail

RespawnPointPage

public public RespawnPointPage (@Nonnull final PlayerRef playerRef, final InteractionType interactionType)

Method RespawnPointPage.

Parameters:
@Nonnull final PlayerRef playerRef
final InteractionType interactionType

setRespawnPointForPlayer

protected void setRespawnPointForPlayer (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final Vector3i blockPosition, @Nonnull final RespawnBlock respawnBlock, @Nonnull String respawnPointName, @Nullable final PlayerRespawnPointData... respawnPointsToRemove)

Method setRespawnPointForPlayer.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final Vector3i blockPosition
@Nonnull final RespawnBlock respawnBlock
@Nonnull String respawnPointName
@Nullable final PlayerRespawnPointData... respawnPointsToRemove

Vector3d

public new Vector3d (blockPosition.getX()

Method Vector3d.

Parameters:
blockPosition.getX( blockPosition.getX(

handleRespawnPointsToRemove

private PlayerRespawnPointData[] handleRespawnPointsToRemove (@Nonnull PlayerRespawnPointData[] respawnPoints, @Nullable final PlayerRespawnPointData[] respawnPointsToRemove, @Nonnull final World world)

Method handleRespawnPointsToRemove.

Parameters:
@Nonnull PlayerRespawnPointData[] respawnPoints
@Nullable final PlayerRespawnPointData[] respawnPointsToRemove
@Nonnull final World world

displayError

protected void displayError (@Nonnull final Message errorMessage)

Method displayError.

Parameters:
@Nonnull final Message errorMessage

RespawnPointEventData

public public RespawnPointEventData ()

Method RespawnPointEventData.

getAction

public String getAction ()

Method getAction.

getIndex

public int getIndex ()

Method getIndex.

getRespawnPointName

public String getRespawnPointName ()

Method getRespawnPointName.