java.lang.Object
com.pixelmonmod.pixelmon.client.gui.inventory.tabs.impl.SimpleSurvivalTab
All Implemented Interfaces:
SurvivalTab, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement
Direct Known Subclasses:
DayCareTab, StatefulSurvivalTab

public class SimpleSurvivalTab extends Object implements SurvivalTab
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final List<net.minecraft.client.gui.components.events.GuiEventListener>
     
    protected int
     
    protected int
     
    protected final net.minecraft.client.Minecraft
     
    protected final boolean
     

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleSurvivalTab(int id, int column, boolean topRow, boolean alignedRight, boolean showParty, net.minecraft.world.item.ItemStack iconItem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addRenderableWidget(net.minecraft.client.gui.components.Button button)
     
    int
     
    protected int
     
    protected int
     
    protected int
     
    net.minecraft.world.item.ItemStack
     
    int
     
    protected int
     
    boolean
     
    boolean
     
    boolean
     
    void
    setFocused(boolean focused)
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    charTyped, getCurrentFocusPath, getRectangle, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath

    Methods inherited from interface com.pixelmonmod.pixelmon.client.gui.inventory.tabs.SurvivalTab

    init, render, tick

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Field Details

    • showParty

      protected final boolean showParty
    • imageWidth

      protected int imageWidth
    • imageHeight

      protected int imageHeight
    • buttons

      protected final List<net.minecraft.client.gui.components.events.GuiEventListener> buttons
    • minecraft

      protected final net.minecraft.client.Minecraft minecraft
  • Constructor Details

    • SimpleSurvivalTab

      public SimpleSurvivalTab(int id, int column, boolean topRow, boolean alignedRight, boolean showParty, net.minecraft.world.item.ItemStack iconItem)
  • Method Details

    • getId

      public int getId()
      Specified by:
      getId in interface SurvivalTab
    • getColumn

      public int getColumn()
      Specified by:
      getColumn in interface SurvivalTab
    • isTopRow

      public boolean isTopRow()
      Specified by:
      isTopRow in interface SurvivalTab
    • isAlignedRight

      public boolean isAlignedRight()
      Specified by:
      isAlignedRight in interface SurvivalTab
    • getIconItem

      public net.minecraft.world.item.ItemStack getIconItem()
      Specified by:
      getIconItem in interface SurvivalTab
    • showParty

      public boolean showParty()
      Specified by:
      showParty in interface SurvivalTab
    • addRenderableWidget

      protected void addRenderableWidget(net.minecraft.client.gui.components.Button button)
    • getWidth

      protected int getWidth()
    • getHeight

      protected int getHeight()
    • getGuiLeft

      protected int getGuiLeft()
    • getGuiTop

      protected int getGuiTop()
    • setFocused

      public void setFocused(boolean focused)
      Specified by:
      setFocused in interface net.minecraft.client.gui.components.events.GuiEventListener
    • isFocused

      public boolean isFocused()
      Specified by:
      isFocused in interface net.minecraft.client.gui.components.events.GuiEventListener