public class SimpleSurvivalTab extends java.lang.Object implements SurvivalTab
Modifier and Type | Field and Description |
---|---|
protected java.util.List<net.minecraft.client.gui.widget.Widget> |
buttons |
protected int |
imageHeight |
protected int |
imageWidth |
protected net.minecraft.client.Minecraft |
minecraft |
Constructor and Description |
---|
SimpleSurvivalTab(int id,
int column,
boolean topRow,
boolean alignedRight,
net.minecraft.item.ItemStack iconItem) |
Modifier and Type | Method and Description |
---|---|
protected void |
addButton(net.minecraft.client.gui.widget.button.Button button) |
int |
getColumn() |
protected int |
getGuiLeft() |
protected int |
getGuiTop() |
protected int |
getHeight() |
net.minecraft.item.ItemStack |
getIconItem() |
int |
getId() |
protected int |
getWidth() |
boolean |
isAlignedRight() |
boolean |
isTopRow() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, mouseClicked, render
protected int imageWidth
protected int imageHeight
protected final java.util.List<net.minecraft.client.gui.widget.Widget> buttons
protected final net.minecraft.client.Minecraft minecraft
public SimpleSurvivalTab(int id, int column, boolean topRow, boolean alignedRight, net.minecraft.item.ItemStack iconItem)
public int getId()
getId
in interface SurvivalTab
public int getColumn()
getColumn
in interface SurvivalTab
public boolean isTopRow()
isTopRow
in interface SurvivalTab
public boolean isAlignedRight()
isAlignedRight
in interface SurvivalTab
public net.minecraft.item.ItemStack getIconItem()
getIconItem
in interface SurvivalTab
protected void addButton(net.minecraft.client.gui.widget.button.Button button)
protected int getWidth()
protected int getHeight()
protected int getGuiLeft()
protected int getGuiTop()