Package com.mojang.realmsclient
Class RealmsMainScreen.RealmSelectionList
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<E>
net.minecraft.realms.RealmsObjectSelectionList<RealmsMainScreen.Entry>
com.mojang.realmsclient.RealmsMainScreen.RealmSelectionList
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
,NarratableEntry
,NarrationSupplier
- Enclosing class:
- RealmsMainScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.components.ObjectSelectionList
ObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>
Nested classes/interfaces inherited from class net.minecraft.client.gui.components.AbstractSelectionList
AbstractSelectionList.SelectionDirection
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
Field Summary
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
void
itemClicked
(int p_86834_, int p_86835_, double p_86836_, double p_86837_, int p_86838_) boolean
keyPressed
(int p_86840_, int p_86841_, int p_86842_) boolean
mouseClicked
(double p_86828_, double p_86829_, int p_86830_) void
setSelected
(RealmsMainScreen.Entry p_86849_) Methods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, getScrollbarPosition, replaceEntries, selectItem, setSelectedItem
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList
changeFocus, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList
addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getHovered, getLeft, getMaxScroll, getRight, getRowRight, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, narrateListElementPosition, narrationPriority, refreshSelection, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
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.ContainerEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActive
-
Constructor Details
-
RealmSelectionList
public RealmSelectionList()
-
-
Method Details
-
isFocused
public boolean isFocused()- Overrides:
isFocused
in classAbstractSelectionList<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_86840_, int p_86841_, int p_86842_) - Specified by:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classAbstractSelectionList<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_86828_, double p_86829_, int p_86830_) - Specified by:
mouseClicked
in interfaceContainerEventHandler
- Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classAbstractSelectionList<RealmsMainScreen.Entry>
-
setSelected
- Overrides:
setSelected
in classAbstractSelectionList<RealmsMainScreen.Entry>
-
itemClicked
public void itemClicked(int p_86834_, int p_86835_, double p_86836_, double p_86837_, int p_86838_) - Overrides:
itemClicked
in classRealmsObjectSelectionList<RealmsMainScreen.Entry>
-
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPosition
in classRealmsObjectSelectionList<RealmsMainScreen.Entry>
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classRealmsObjectSelectionList<RealmsMainScreen.Entry>
-