Class StatefulSurvivalTab
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.inventory.tabs.impl.SimpleSurvivalTab
com.pixelmonmod.api.client.screen.StatefulSurvivalTab
- All Implemented Interfaces:
SurvivalTab
,net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.TabOrderedElement
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.client.gui.inventory.tabs.impl.SimpleSurvivalTab
buttons, imageHeight, imageWidth, minecraft, showParty
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionStatefulSurvivalTab
(Supplier<StatefulScreen> screen, int id, int column, boolean topRow, boolean alignedRight, boolean showParty, net.minecraft.world.item.ItemStack iconItem) -
Method Summary
Modifier and TypeMethodDescriptionaccess()
void
init()
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) boolean
keyReleased
(int keyCode, int scanCode, int modifiers) boolean
mouseClicked
(double x, double y, int b) boolean
mouseDragged
(double x, double y, int b, double dx, double dy) void
mouseMoved
(double x, double y) boolean
mouseReleased
(double x, double y, int b) boolean
mouseScrolled
(double x, double y, double dx, double dy) void
void
render
(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) void
tick()
Methods inherited from class com.pixelmonmod.pixelmon.client.gui.inventory.tabs.impl.SimpleSurvivalTab
addRenderableWidget, getColumn, getGuiLeft, getGuiTop, getHeight, getIconItem, getId, getWidth, isAlignedRight, isFocused, isTopRow, setFocused, showParty
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, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
StatefulSurvivalTab
public StatefulSurvivalTab(Supplier<StatefulScreen> screen, int id, int column, boolean topRow, boolean alignedRight, boolean showParty, net.minecraft.world.item.ItemStack iconItem)
-
-
Method Details
-
init
public void init() -
tick
public void tick() -
rebuild
-
access
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) -
mouseReleased
public boolean mouseReleased(double x, double y, int b) -
mouseDragged
public boolean mouseDragged(double x, double y, int b, double dx, double dy) -
mouseScrolled
public boolean mouseScrolled(double x, double y, double dx, double dy) -
mouseMoved
public void mouseMoved(double x, double y) -
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) -
keyReleased
public boolean keyReleased(int keyCode, int scanCode, int modifiers) -
mouseClicked
public boolean mouseClicked(double x, double y, int b)
-