Class PokemonSummaryPCScreen

java.lang.Object
com.pixelmonmod.pixelmon.client.gui.pc.PokemonSummaryPCScreen

public class PokemonSummaryPCScreen extends Object
The Pokemon Summary screen that appears when hovering over a Pokemon during PC operations.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected 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 PCScreen
    protected PCScreen
    The PC Screen this is attached to.
    protected Pokemon
    The Pokemon currently being displayed
    protected int
    The X size of the inventory window in pixels.
    protected int
    The Y size of the inventory window in pixels.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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)
     
    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 screen
    protected 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 void
    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
    drawName(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos, boolean showNickname)
     
    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 screen
    protected 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
     
    void
    lock(Pokemon pokemon)
     
    void
    render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     
    void
    setPadding(int padding)
     
    void
     
    void
    setVisible(boolean visible)
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • padding

      protected int padding
      The distance from the main PCScreen
    • xSize

      protected int xSize
      The X size of the inventory window in pixels.
    • ySize

      protected int ySize
      The Y size of the inventory window in pixels.
    • guiLeft

      protected int guiLeft
      Starting X position for the Gui. Inconsistent use for Gui backgrounds.
    • guiTop

      protected int guiTop
      Starting Y position for the Gui. Inconsistent use for Gui backgrounds.
    • pcScreen

      protected PCScreen pcScreen
      The PC Screen this is attached to.
    • pokemon

      protected Pokemon pokemon
      The Pokemon currently being displayed
    • isVisible

      protected boolean isVisible
    • isLocked

      protected boolean isLocked
  • Constructor Details

    • PokemonSummaryPCScreen

      public PokemonSummaryPCScreen(PCScreen parent)
  • 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)
    • init

      public void init()
    • setVisible

      public void setVisible(boolean visible)
    • setPokemon

      public void setPokemon(@Nullable Pokemon pokemon)
    • lock

      public void lock(@Nullable Pokemon pokemon)
    • 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 void 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)
    • drawName

      protected int drawName(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int xPos, int yPos, boolean showNickname)
    • 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

      protected Point[] getHexagonPoints(Point center, int radius, float[] factors)
    • getHexagonPoints

      protected Point[] getHexagonPoints(Point center, int radius)
    • 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)