Class PokemonSummaryPCScreen
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.pc.PokemonSummaryPCScreen
The Pokemon Summary screen that appears when hovering over a Pokemon during PC operations.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
Starting X position for the Gui.protected int
Starting Y position for the Gui.protected boolean
protected boolean
protected int
The distance from the main PCScreenprotected PCScreen
The PC Screen this is attached to.protected Pokemon
The Pokemon currently being displayedprotected int
The X size of the inventory window in pixels.protected int
The Y size of the inventory window in pixels. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
drawAbility
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) void
drawBackgroundFromSprite
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.resources.ResourceLocation sprite, int x, int y, int width, int height) static void
drawCenteredOutlinedString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int fillColor, int outlineColor) static void
drawCenteredString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color) static void
drawCenteredString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean shadow) static void
drawCenteredString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component component, int x, int y, int color) static void
drawCenteredString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component component, int x, int y, int color, boolean shadow) protected void
drawDexNo
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected int
drawEggInfo
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) void
drawExtraPokemonInfo
(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) Draws the secondary (right) summary screenprotected int
drawForm
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected int
drawGender
(net.minecraft.client.gui.GuiGraphics graphics, int xPos, int yPos) protected int
drawGrowth
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) void
drawGuiContainerBackgroundLayer
(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY) protected int
drawHeader
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected void
drawHP
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected int
drawItem
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected void
drawIVText
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, String label) protected int
drawLevel
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected int
drawMoves
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected int
drawName
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) protected int
drawNature
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) static void
drawOutlinedString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int fillColor, int outlineColor) protected int
drawPalette
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) void
drawPokemonInfo
(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) Draws the primary (left) summary screenprotected int
drawRibbons
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos, int width, int height) protected int
drawSprite
(net.minecraft.client.gui.GuiGraphics graphics, int xPos, int yPos) protected int
drawStatHexagon
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos, int radius) protected void
drawStatLabel
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String label, int x, int y, boolean drawParticles) static void
drawString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color) static void
drawString
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean shadow) protected Point[]
getHexagonPoints
(Point center, int radius) protected Point[]
getHexagonPoints
(Point center, int radius, float[] factors) void
init()
void
void
render
(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) void
setPadding
(int padding) void
setPokemon
(Pokemon pokemon) void
setVisible
(boolean visible) boolean
-
Field Details
-
padding
protected int paddingThe distance from the main PCScreen -
xSize
protected int xSizeThe X size of the inventory window in pixels. -
ySize
protected int ySizeThe Y size of the inventory window in pixels. -
guiLeft
protected int guiLeftStarting X position for the Gui. Inconsistent use for Gui backgrounds. -
guiTop
protected int guiTopStarting Y position for the Gui. Inconsistent use for Gui backgrounds. -
pcScreen
The PC Screen this is attached to. -
pokemon
The Pokemon currently being displayed -
isVisible
protected boolean isVisible -
isLocked
protected boolean isLocked
-
-
Constructor Details
-
PokemonSummaryPCScreen
-
-
Method Details
-
drawOutlinedString
public static void drawOutlinedString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int fillColor, int outlineColor) -
drawCenteredOutlinedString
public static void drawCenteredOutlinedString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int fillColor, int outlineColor) -
drawString
public static void drawString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color) -
drawString
public static void drawString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean shadow) -
drawCenteredString
public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color) -
drawCenteredString
public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean shadow) -
drawCenteredString
public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component component, int x, int y, int color) -
drawCenteredString
public static void drawCenteredString(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component component, int x, int y, int color, boolean shadow) -
init
public void init() -
setVisible
public void setVisible(boolean visible) -
setPokemon
-
lock
-
setPadding
public void setPadding(int padding) -
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) -
drawHeader
protected int drawHeader(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawDexNo
protected void drawDexNo(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawLevel
protected int drawLevel(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawSprite
protected int drawSprite(net.minecraft.client.gui.GuiGraphics graphics, int xPos, int yPos) -
drawGender
protected int drawGender(net.minecraft.client.gui.GuiGraphics graphics, int xPos, int yPos) -
drawName
protected int drawName(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawHP
protected void drawHP(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawAbility
protected int drawAbility(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawNature
protected int drawNature(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawItem
protected int drawItem(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawMoves
protected int drawMoves(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawEggInfo
protected int drawEggInfo(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawStatHexagon
protected int drawStatHexagon(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos, int radius) -
shouldSeeIVs
public boolean shouldSeeIVs() -
drawPalette
protected int drawPalette(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawForm
protected int drawForm(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawRibbons
protected int drawRibbons(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos, int width, int height) -
drawGrowth
protected int drawGrowth(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos) -
drawPokemonInfo
public void drawPokemonInfo(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) Draws the primary (left) summary screen -
drawExtraPokemonInfo
public void drawExtraPokemonInfo(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) Draws the secondary (right) summary screen -
drawGuiContainerBackgroundLayer
public void drawGuiContainerBackgroundLayer(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY) -
drawBackgroundFromSprite
public void drawBackgroundFromSprite(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.resources.ResourceLocation sprite, int x, int y, int width, int height) -
getHexagonPoints
-
getHexagonPoints
-
drawIVText
protected void drawIVText(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, String label) -
drawStatLabel
protected void drawStatLabel(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String label, int x, int y, boolean drawParticles)
-