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.SelectionDirection
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, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
int
boolean
void
itemClicked
(int p_88227_, int p_88228_, double p_88229_, double p_88230_, int p_88231_) boolean
mouseClicked
(double p_88221_, double p_88222_, int p_88223_) void
renderBackground
(PoseStack p_88233_) void
selectInviteListItem
(int p_88242_) void
selectItem
(int p_88225_) void
setSelected
(RealmsBackupScreen.Entry p_88237_) Methods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, replaceEntries, setSelectedItem
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList
changeFocus, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList
addEntryToTop, 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, removeEntryFromTop, render, renderDecorations, renderHeader, renderItem, renderList, renderSelection, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, 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, keyReleased, magicalSpecialHackyFocus, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActive
-
Constructor Details
-
BackupObjectSelectionList
public BackupObjectSelectionList()
-
-
Method Details
-
addEntry
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
isFocused
public boolean isFocused()- Overrides:
isFocused
in classAbstractSelectionList<RealmsBackupScreen.Entry>
-
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPosition
in classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
renderBackground
- Overrides:
renderBackground
in classAbstractSelectionList<RealmsBackupScreen.Entry>
-
mouseClicked
public boolean mouseClicked(double p_88221_, double p_88222_, int p_88223_) - Specified by:
mouseClicked
in interfaceContainerEventHandler
- Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classAbstractSelectionList<RealmsBackupScreen.Entry>
-
getScrollbarPosition
public int getScrollbarPosition()- Overrides:
getScrollbarPosition
in classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
itemClicked
public void itemClicked(int p_88227_, int p_88228_, double p_88229_, double p_88230_, int p_88231_) - Overrides:
itemClicked
in classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
selectItem
public void selectItem(int p_88225_) - Overrides:
selectItem
in classRealmsObjectSelectionList<RealmsBackupScreen.Entry>
-
selectInviteListItem
public void selectInviteListItem(int p_88242_) -
setSelected
- Overrides:
setSelected
in classAbstractSelectionList<RealmsBackupScreen.Entry>
-