Class SimpleSurvivalTab
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.inventory.tabs.impl.SimpleSurvivalTab
- All Implemented Interfaces:
SurvivalTab
- Direct Known Subclasses:
DayCareTab
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<net.minecraft.client.gui.components.events.GuiEventListener>
protected int
protected int
protected final net.minecraft.client.Minecraft
-
Constructor Summary
ConstructorDescriptionSimpleSurvivalTab
(int id, int column, boolean topRow, boolean alignedRight, net.minecraft.world.item.ItemStack iconItem) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addRenderableWidget
(net.minecraft.client.gui.components.Button button) int
protected int
protected int
protected int
net.minecraft.world.item.ItemStack
int
getId()
protected int
getWidth()
boolean
boolean
isTopRow()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.pixelmon.client.gui.inventory.tabs.SurvivalTab
init, mouseClicked, render
-
Field Details
-
imageWidth
protected int imageWidth -
imageHeight
protected int imageHeight -
buttons
-
minecraft
protected final net.minecraft.client.Minecraft minecraft
-
-
Constructor Details
-
SimpleSurvivalTab
public SimpleSurvivalTab(int id, int column, boolean topRow, boolean alignedRight, net.minecraft.world.item.ItemStack iconItem)
-
-
Method Details
-
getId
public int getId()- Specified by:
getId
in interfaceSurvivalTab
-
getColumn
public int getColumn()- Specified by:
getColumn
in interfaceSurvivalTab
-
isTopRow
public boolean isTopRow()- Specified by:
isTopRow
in interfaceSurvivalTab
-
isAlignedRight
public boolean isAlignedRight()- Specified by:
isAlignedRight
in interfaceSurvivalTab
-
getIconItem
public net.minecraft.world.item.ItemStack getIconItem()- Specified by:
getIconItem
in interfaceSurvivalTab
-
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()
-