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.SelectionDirectionNested 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, y1Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanvoiditemClicked(int p_86834_, int p_86835_, double p_86836_, double p_86837_, int p_86838_) booleankeyPressed(int p_86840_, int p_86841_, int p_86842_) booleanmouseClicked(double p_86828_, double p_86829_, int p_86830_) voidsetSelected(RealmsMainScreen.Entry p_86849_) Methods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, getScrollbarPosition, replaceEntries, selectItem, setSelectedItemMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList
changeFocus, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList
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, render, renderBackground, renderDecorations, renderHeader, renderList, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActive
-
Constructor Details
-
RealmSelectionList
public RealmSelectionList()
-
-
Method Details
-
isFocused
public boolean isFocused()- Overrides:
isFocusedin classAbstractSelectionList<RealmsMainScreen.Entry>
-
keyPressed
public boolean keyPressed(int p_86840_, int p_86841_, int p_86842_) - Specified by:
keyPressedin interfaceContainerEventHandler- Specified by:
keyPressedin interfaceGuiEventListener- Overrides:
keyPressedin classAbstractSelectionList<RealmsMainScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_86828_, double p_86829_, int p_86830_) - Specified by:
mouseClickedin interfaceContainerEventHandler- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classAbstractSelectionList<RealmsMainScreen.Entry>
-
setSelected
- Overrides:
setSelectedin classAbstractSelectionList<RealmsMainScreen.Entry>
-
itemClicked
public void itemClicked(int p_86834_, int p_86835_, double p_86836_, double p_86837_, int p_86838_) - Overrides:
itemClickedin classRealmsObjectSelectionList<RealmsMainScreen.Entry>
-
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPositionin classRealmsObjectSelectionList<RealmsMainScreen.Entry>
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classRealmsObjectSelectionList<RealmsMainScreen.Entry>
-