Class RealmsMainScreen.RealmSelectionList
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<RealmsMainScreen.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<RealmsMainScreen.Entry>
net.minecraft.client.realms.gui.screen.RealmsMainScreen.RealmSelectionList
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,ParentElement,Selectable,Widget
- Enclosing class:
RealmsMainScreen
@Environment(CLIENT)
private class RealmsMainScreen.RealmSelectionList
extends AlwaysSelectedEntryListWidget<RealmsMainScreen.Entry>
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionListintermediary net/minecraft/class_4325$class_4329official fll$j
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddServerEntries(@Nullable RealmsServer selectedServer) private voidaddVisitEntries(RealmsNotification.VisitUrl url, RealmsMainScreen mainScreen) int(package private) voidrefresh(RealmsMainScreen mainScreen, @Nullable RealmsServer selectedServer) voidMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getType, hoveredElement, isSelectedEntry, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setFocused, setSelected, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Constructor Details
-
RealmSelectionList
public RealmSelectionList()
-
-
Method Details
-
setSelected
- Mappings:
Namespace Name Mixin selector named setSelectedLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;setSelected(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;)Vintermediary method_25024Lnet/minecraft/class_4325$class_4329;method_25024(Lnet/minecraft/class_4325$class_4866;)Vofficial aLfll$j;a(Lfll$e;)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<RealmsMainScreen.Entry>- Mappings:
Namespace Name Mixin selector named getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Iofficial aLfts;a()I
-
refresh
- Mappings:
Namespace Name Mixin selector named refreshLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;refresh(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;Lnet/minecraft/client/realms/dto/RealmsServer;)Vintermediary method_64840Lnet/minecraft/class_4325$class_4329;method_64840(Lnet/minecraft/class_4325;Lnet/minecraft/class_4877;)Vofficial aLfll$j;a(Lfll;Lfmr;)V
-
addServerEntries
- Mappings:
Namespace Name Mixin selector named addServerEntriesLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;addServerEntries(Lnet/minecraft/client/realms/dto/RealmsServer;)Vintermediary method_64842Lnet/minecraft/class_4325$class_4329;method_64842(Lnet/minecraft/class_4877;)Vofficial aLfll$j;a(Lfmr;)V
-
addVisitEntries
- Mappings:
Namespace Name Mixin selector named addVisitEntriesLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;addVisitEntries(Lnet/minecraft/client/realms/dto/RealmsNotification$VisitUrl;Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;)Vintermediary method_64841Lnet/minecraft/class_4325$class_4329;method_64841(Lnet/minecraft/class_8204$class_8205;Lnet/minecraft/class_4325;)Vofficial aLfll$j;a(Lfmq$c;Lfll;)V
-