Class OverrideNearbyRespawnPointPage
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.OverrideNearbyRespawnPointPage
public class OverrideNearbyRespawnPointPage
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 intprivate final Vector3iprivate final RespawnBlockFields 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
ConstructorsConstructorDescriptionOverrideNearbyRespawnPointPage(PlayerRef playerRef, InteractionType interactionType, Vector3i respawnPointPosition, RespawnBlock respawnPointToAdd, PlayerRespawnPointData[] nearbyRespawnPoints, int radiusLimitRespawnPoint) -
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) 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
-
respawnPointPosition
-
respawnPointToAdd
-
nearbyRespawnPoints
-
radiusLimitRespawnPoint
private int radiusLimitRespawnPoint
-
-
Constructor Details
-
OverrideNearbyRespawnPointPage
public OverrideNearbyRespawnPointPage(@Nonnull PlayerRef playerRef, InteractionType interactionType, Vector3i respawnPointPosition, RespawnBlock respawnPointToAdd, PlayerRespawnPointData[] nearbyRespawnPoints, int radiusLimitRespawnPoint)
-
-
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>
-