Class AugmentMessagePage

java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.CustomUIPage
com.hypixel.hytale.builtin.augmentblocks.ui.AugmentMessagePage

public class AugmentMessagePage extends CustomUIPage
Plain message page whose text is authored in the asset: "Page": { "Id": "AugmentMessage", "Key": "server.customUI.augmentable.noPower" }. One registration serves every message-only page, typically as the Failed branch of an AugmentCondition chain.
  • Constructor Details

    • AugmentMessagePage

      public AugmentMessagePage(@Nonnull PlayerRef playerRef, @Nonnull String key)
  • Method Details

    • build

      public void build(@Nonnull Ref<EntityStore> ref, @Nonnull UICommandBuilder commandBuilder, @Nonnull UIEventBuilder eventBuilder, @Nonnull Store<EntityStore> store)
      Description copied from class: CustomUIPage
      Called to build this page
      Specified by:
      build in class CustomUIPage
      Parameters:
      ref - The entity ref of the affiliated player
      commandBuilder - The command builder used while building this UI
      eventBuilder - The event builder used while building this UI
      store - The entity store for component access