Class SelectOverrideRespawnPointPage
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
com.hypixel.hytale.server.core.entity.entities.player.pages.InteractiveCustomUIPage<com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData>
com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage
com.hypixel.hytale.builtin.beds.respawn.SelectOverrideRespawnPointPage
public class SelectOverrideRespawnPointPage
extends com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage
com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerRespawnPointData[]private final RespawnBlockprivate final Vector3iprivate intFields inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.InteractiveCustomUIPage
eventDataCodecFields inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
lifetime, playerRef -
Constructor Summary
ConstructorsConstructorDescriptionSelectOverrideRespawnPointPage(PlayerRef playerRef, InteractionType interactionType, Vector3i respawnPointToAddPosition, RespawnBlock respawnPointToAdd, PlayerRespawnPointData[] respawnPoints) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(Ref<EntityStore> ref, UICommandBuilder commandBuilder, UIEventBuilder eventBuilder, Store<EntityStore> store) voidhandleDataEvent(Ref<EntityStore> ref, Store<EntityStore> store, com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData data) private voidsetSelectedRespawnPoint(com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData data) Methods inherited from class com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage
displayError, setRespawnPointForPlayerMethods inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.InteractiveCustomUIPage
handleDataEvent, sendUpdate, sendUpdateMethods inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
close, getLifetime, onDismiss, rebuild, sendUpdate, sendUpdate, setLifetime
-
Field Details
-
DEFAULT_RESPAWN_BUTTON_STYLE
-
SELECTED_RESPAWN_BUTTON_STYLE
-
respawnPointToAddPosition
-
respawnPointToAdd
-
respawnPoints
-
selectedRespawnPointIndex
private int selectedRespawnPointIndex
-
-
Constructor Details
-
SelectOverrideRespawnPointPage
public SelectOverrideRespawnPointPage(@Nonnull PlayerRef playerRef, InteractionType interactionType, Vector3i respawnPointToAddPosition, RespawnBlock respawnPointToAdd, PlayerRespawnPointData[] respawnPoints)
-
-
Method Details
-
build
public void build(@Nonnull Ref<EntityStore> ref, @Nonnull UICommandBuilder commandBuilder, @Nonnull UIEventBuilder eventBuilder, @Nonnull Store<EntityStore> store) - Specified by:
buildin classcom.hypixel.hytale.builtin.beds.respawn.RespawnPointPage
-
handleDataEvent
public void handleDataEvent(@Nonnull Ref<EntityStore> ref, @Nonnull Store<EntityStore> store, @Nonnull com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData data) - Overrides:
handleDataEventin classInteractiveCustomUIPage<com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData>
-
setSelectedRespawnPoint
private void setSelectedRespawnPoint(@Nonnull com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData data)
-