Class PixelmonOverlayScreen

java.lang.Object
com.pixelmonmod.pixelmon.client.gui.PixelmonOverlayScreen

public class PixelmonOverlayScreen extends Object
The party interface when not in battle.
  • Field Details

    • POKEDEX_ICON

      protected static final KeybindIcon POKEDEX_ICON
    • WIKI_ICON

      protected static final KeybindIcon WIKI_ICON
    • TRAINER_CARD_ICON

      protected static final KeybindIcon TRAINER_CARD_ICON
    • QUEST_ICON

      protected static final KeybindIcon QUEST_ICON
    • ICONS

      public static final List<KeybindIcon> ICONS
    • guiState

      public static OverlayScreenState guiState
      Whether the overlay is minimized.
    • selectedMoveSkill

      public static String selectedMoveSkill
      The name of the selected MoveSkill.
    • targetId

      public static int targetId
      The entity id the pokemon is targeting
    • isVisible

      public static boolean isVisible
      Whether the overlay is visible.
  • Constructor Details

    • PixelmonOverlayScreen

      public PixelmonOverlayScreen()
  • Method Details

    • onRenderGameOverlay

      public void onRenderGameOverlay(net.minecraftforge.client.event.RenderGuiEvent.Post event)
      Renders the overlay.
      Parameters:
      event - The event that triggered the render.
    • selectNextPixelmon

      public static void selectNextPixelmon()
      Selects the next Pokémon in the party.
    • selectPreviousPixelmon

      public static void selectPreviousPixelmon()
      Selects the previous Pokémon in the party.
    • checkSelection

      public static void checkSelection()
      Moves the currently selection backwards if it is invalid.
    • showSpectateMessage

      public static void showSpectateMessage(UUID playerUuid)
      Displays the spectate message.
      Parameters:
      playerUuid - The UUID of the player displayed in the message.
    • hideSpectateMessage

      public static void hideSpectateMessage(UUID playerUuid)
      Hides the spectate message.
      Parameters:
      playerUuid - The UUID of the player displayed in the message.
    • onPlayerTick

      public static void onPlayerTick()
      Ticks the fading in/out of the spectate message.
    • getCurrentSpectatingUUID

      public static UUID getCurrentSpectatingUUID()
      Gets the UUID of the player displayed in the message.
      Returns:
      The UUID of the player displayed in the message.