Package com.mojang.realmsclient
Class RealmsMainScreen.ButtonEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsMainScreen.Entry>
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
(GuiGraphics p_283542_, int p_282029_, int p_281480_, int p_281377_, int p_283160_, int p_281920_, int p_283267_, int p_281282_, boolean p_281269_, float p_282372_) void
setFocused
(boolean p_309684_) Methods inherited from class com.mojang.realmsclient.RealmsMainScreen.Entry
firstLineY, lineHeight, renderClampedName, renderStatusLights, renderThirdLine, secondLineY, textX, thirdLineY, versionTextX
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
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
-
-
Constructor Details
-
ButtonEntry
-
-
Method Details
-
mouseClicked
public boolean mouseClicked(double p_275240_, double p_275616_, int p_275528_) - Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_275630_, int p_275328_, int p_275519_) -
render
public void render(GuiGraphics p_283542_, int p_282029_, int p_281480_, int p_281377_, int p_283160_, int p_281920_, int p_283267_, int p_281282_, boolean p_281269_, float p_282372_) - Specified by:
render
in classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
setFocused
public void setFocused(boolean p_309684_) - Specified by:
setFocused
in interfaceGuiEventListener
- Overrides:
setFocused
in classAbstractSelectionList.Entry<RealmsMainScreen.Entry>
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<RealmsMainScreen.Entry>
-