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
  • Field Details

    • DEFAULT_RESPAWN_BUTTON_STYLE

      private static final Value<String> DEFAULT_RESPAWN_BUTTON_STYLE
    • SELECTED_RESPAWN_BUTTON_STYLE

      private static final Value<String> SELECTED_RESPAWN_BUTTON_STYLE
    • respawnPointToAddPosition

      private final Vector3i respawnPointToAddPosition
    • respawnPointToAdd

      private final RespawnBlock respawnPointToAdd
    • respawnPoints

      private final PlayerRespawnPointData[] respawnPoints
    • selectedRespawnPointIndex

      private int selectedRespawnPointIndex
  • Constructor Details

  • Method Details

    • build

      public void build(@Nonnull Ref<EntityStore> ref, @Nonnull UICommandBuilder commandBuilder, @Nonnull UIEventBuilder eventBuilder, @Nonnull Store<EntityStore> store)
      Specified by:
      build in class com.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:
      handleDataEvent in class InteractiveCustomUIPage<com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData>
    • setSelectedRespawnPoint

      private void setSelectedRespawnPoint(@Nonnull com.hypixel.hytale.builtin.beds.respawn.RespawnPointPage.RespawnPointEventData data)