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
,Renderable
,TabOrderedElement
,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 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, LIGHT_DIRT_BACKGROUND, 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
void
itemClicked
(int p_275372_, int p_275725_, double p_275315_, double p_275486_, int p_275588_, int p_275503_) 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
nextFocusPath, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList
addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getLeft, getMaxScroll, getRectangle, getRight, getRowBottom, getRowRight, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, 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, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActive
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
RealmSelectionList
public RealmSelectionList()
-
-
Method Details
-
keyPressed
public boolean keyPressed(int p_86840_, int p_86841_, int p_86842_) -
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_275372_, int p_275725_, double p_275315_, double p_275486_, int p_275588_, int p_275503_) - 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>
-