Class RealmsBackupScreen.BackupObjectSelectionList
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<RealmsBackupScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsBackupScreen.BackupObjectSelectionList
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,Widget,NarratableEntry,NarrationSupplier
- Enclosing class:
- RealmsBackupScreen
class RealmsBackupScreen.BackupObjectSelectionList
extends RealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
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 TypeMethodDescriptionvoidintintintbooleanvoiditemClicked(int p_88227_, int p_88228_, double p_88229_, double p_88230_, int p_88231_) booleanmouseClicked(double p_88221_, double p_88222_, int p_88223_) voidrenderBackground(PoseStack p_88233_) voidselectInviteListItem(int p_88242_) voidselectItem(int p_88225_) voidsetSelected(RealmsBackupScreen.Entry p_88237_) Methods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, replaceEntries, 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, keyPressed, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, narrateListElementPosition, narrationPriority, refreshSelection, remove, removeEntry, render, 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
-
BackupObjectSelectionList
public BackupObjectSelectionList()
-
-
Method Details
-
addEntry
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
isFocused
public boolean isFocused()- Overrides:
isFocusedin classAbstractSelectionList<RealmsBackupScreen.Entry>
-
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPositionin classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
renderBackground
- Overrides:
renderBackgroundin classAbstractSelectionList<RealmsBackupScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_88221_, double p_88222_, int p_88223_) - Specified by:
mouseClickedin interfaceContainerEventHandler- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classAbstractSelectionList<RealmsBackupScreen.Entry>
-
getScrollbarPosition
public int getScrollbarPosition()- Overrides:
getScrollbarPositionin classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
itemClicked
public void itemClicked(int p_88227_, int p_88228_, double p_88229_, double p_88230_, int p_88231_) - Overrides:
itemClickedin classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
selectItem
public void selectItem(int p_88225_) - Overrides:
selectItemin classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
selectInviteListItem
public void selectInviteListItem(int p_88242_) -
setSelected
- Overrides:
setSelectedin classAbstractSelectionList<RealmsBackupScreen.Entry>
-