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 fui$h
-
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, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddServerEntries(@Nullable AlwaysSelectedEntryListWidget.Entry selectedEntry) private voidaddVisitEntries(RealmsNotification.VisitUrl url, RealmsMainScreen mainScreen, @Nullable AlwaysSelectedEntryListWidget.Entry selectedEntry) int(package private) voidrefresh(RealmsMainScreen mainScreen) voidMethods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntry, addEntryToTop, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clearEntriesExcept, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, getContentsHeightWithPadding, getDeltaYPerScroll, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getType, getYOfNextEntry, hoveredElement, isEntrySelectionAllowed, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, scrollTo, setFocused, setFocused, setScrollY, setSelected, sort, swapEntriesOnPositionsMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDraggingMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, isInScrollbar, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, 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, isClickable, 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 aLfui$h;a(Lfui$c;)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 aLgdj;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;)Vintermediary method_64840Lnet/minecraft/class_4325$class_4329;method_64840(Lnet/minecraft/class_4325;)Vofficial aLfui$h;a(Lfui;)V
-
addVisitEntries
private void addVisitEntries(RealmsNotification.VisitUrl url, RealmsMainScreen mainScreen, @Nullable @Nullable AlwaysSelectedEntryListWidget.Entry selectedEntry) - 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;Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;)Vintermediary method_64841Lnet/minecraft/class_4325$class_4329;method_64841(Lnet/minecraft/class_8204$class_8205;Lnet/minecraft/class_4325;Lnet/minecraft/class_4325$class_4866;)Vofficial aLfui$h;a(Lfvr$c;Lfui;Lfui$c;)V
-
addServerEntries
private void addServerEntries(@Nullable @Nullable AlwaysSelectedEntryListWidget.Entry selectedEntry) - Mappings:
Namespace Name Mixin selector named addServerEntriesLnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;addServerEntries(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;)Vintermediary method_64842Lnet/minecraft/class_4325$class_4329;method_64842(Lnet/minecraft/class_4325$class_4866;)Vofficial bLfui$h;b(Lfui$c;)V
-