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, waitinit, mouseClicked, renderprotected 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 SurvivalTabpublic int getColumn()
getColumn in interface SurvivalTabpublic boolean isTopRow()
isTopRow in interface SurvivalTabpublic boolean isAlignedRight()
isAlignedRight in interface SurvivalTabpublic net.minecraft.item.ItemStack getIconItem()
getIconItem in interface SurvivalTabprotected void addButton(net.minecraft.client.gui.widget.button.Button button)
protected int getWidth()
protected int getHeight()
protected int getGuiLeft()
protected int getGuiTop()