Class PixelmonOverlayScreen
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.PixelmonOverlayScreen
The party interface when not in battle.
-
Field Summary
Modifier and TypeFieldDescriptionstatic OverlayScreenState
Whether the overlay is minimized.static final List<KeybindIcon>
static boolean
Whether the overlay is visible.protected static final KeybindIcon
static String
The name of the selectedMoveSkill
.static final int
static int
The entity id the pokemon is targetingprotected static final KeybindIcon
protected static final KeybindIcon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Moves the currently selection backwards if it is invalid.static UUID
Gets the UUID of the player displayed in the message.static void
hideSpectateMessage
(UUID playerUuid) Hides the spectate message.static void
Ticks the fading in/out of the spectate message.void
onRenderGameOverlay
(net.minecraftforge.client.event.RenderGuiEvent.Pre event) Renders the overlay.static void
Selects the next Pokémon in the party.static void
Selects the previous Pokémon in the party.static void
showSpectateMessage
(UUID playerUuid) Displays the spectate message.
-
Field Details
-
SIDE_BAR_HEIGHT
public static final int SIDE_BAR_HEIGHT- See Also:
-
POKEDEX_ICON
-
WIKI_ICON
-
TRAINER_CARD_ICON
-
ICONS
-
guiState
Whether the overlay is minimized. -
selectedMoveSkill
The name of the selectedMoveSkill
. -
targetId
public static int targetIdThe entity id the pokemon is targeting -
isVisible
public static boolean isVisibleWhether the overlay is visible.
-
-
Constructor Details
-
PixelmonOverlayScreen
public PixelmonOverlayScreen()
-
-
Method Details
-
onRenderGameOverlay
public void onRenderGameOverlay(net.minecraftforge.client.event.RenderGuiEvent.Pre 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
Displays the spectate message.- Parameters:
playerUuid
- The UUID of the player displayed in the message.
-
hideSpectateMessage
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
Gets the UUID of the player displayed in the message.- Returns:
- The UUID of the player displayed in the message.
-