Interface SurvivalTab
- All Superinterfaces:
net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.TabOrderedElement
- All Known Implementing Classes:
DayCareTab
,ModalSurvivalTab
,SimpleSurvivalTab
,StatefulSurvivalTab
public interface SurvivalTab
extends net.minecraft.client.gui.components.events.GuiEventListener
-
Field Summary
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Method Summary
Modifier and TypeMethodDescriptionint
net.minecraft.world.item.ItemStack
int
getId()
default void
init()
boolean
boolean
isTopRow()
default net.minecraft.network.chat.Component
name()
default void
render
(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) default void
reset()
default boolean
default void
tick()
default void
update()
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, isFocused, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Method Details
-
name
default net.minecraft.network.chat.Component name() -
getId
int getId() -
getColumn
int getColumn() -
isTopRow
boolean isTopRow() -
isAlignedRight
boolean isAlignedRight() -
getIconItem
net.minecraft.world.item.ItemStack getIconItem() -
init
default void init() -
showParty
default boolean showParty() -
render
default void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) -
tick
default void tick() -
reset
default void reset() -
update
default void update()
-