Package com.mojang.realmsclient
Class RealmsMainScreen.ButtonEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsMainScreen.Entry>
com.mojang.realmsclient.RealmsMainScreen.Entry
com.mojang.realmsclient.RealmsMainScreen.ButtonEntry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
- RealmsMainScreen
-
Field Summary
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
keyPressed
(int p_275630_, int p_275328_, int p_275519_) boolean
mouseClicked
(double p_275240_, double p_275616_, int p_275528_) void
render
(PoseStack p_275483_, int p_275722_, int p_275699_, int p_275728_, int p_275557_, int p_275427_, int p_275348_, int p_275426_, boolean p_275366_, float p_275350_) Methods inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
getServer
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
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, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
button
-
xPos
private final int xPos
-
-
Constructor Details
-
ButtonEntry
-
-
Method Details
-
mouseClicked
public boolean mouseClicked(double p_275240_, double p_275616_, int p_275528_) -
keyPressed
public boolean keyPressed(int p_275630_, int p_275328_, int p_275519_) -
render
public void render(PoseStack p_275483_, int p_275722_, int p_275699_, int p_275728_, int p_275557_, int p_275427_, int p_275348_, int p_275426_, boolean p_275366_, float p_275350_) - Specified by:
render
in classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-