Class SimpleSurvivalTab
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<net.minecraft.client.gui.components.events.GuiEventListener>protected intprotected intprotected final net.minecraft.client.Minecraftprotected final booleanFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionSimpleSurvivalTab(int id, int column, boolean topRow, boolean alignedRight, boolean showParty, net.minecraft.world.item.ItemStack iconItem) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRenderableWidget(net.minecraft.client.gui.components.Button button) intprotected intprotected intprotected intnet.minecraft.world.item.ItemStackintgetId()protected intgetWidth()booleanbooleanbooleanisTopRow()voidsetFocused(boolean focused) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface com.pixelmonmod.pixelmon.client.gui.inventory.tabs.SurvivalTab
init, render, tickMethods 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
-
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:
getIdin interfaceSurvivalTab
-
getColumn
public int getColumn()- Specified by:
getColumnin interfaceSurvivalTab
-
isTopRow
public boolean isTopRow()- Specified by:
isTopRowin interfaceSurvivalTab
-
isAlignedRight
public boolean isAlignedRight()- Specified by:
isAlignedRightin interfaceSurvivalTab
-
getIconItem
public net.minecraft.world.item.ItemStack getIconItem()- Specified by:
getIconItemin interfaceSurvivalTab
-
showParty
public boolean showParty()- Specified by:
showPartyin 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() -
setFocused
public void setFocused(boolean focused) - Specified by:
setFocusedin interfacenet.minecraft.client.gui.components.events.GuiEventListener
-
isFocused
public boolean isFocused()- Specified by:
isFocusedin interfacenet.minecraft.client.gui.components.events.GuiEventListener
-