Class RealmsBackupScreen.BackupObjectSelectionList
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.widget.list.AbstractList<E>
net.minecraft.client.gui.widget.list.ExtendedList<E>
net.minecraft.realms.RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
com.mojang.realmsclient.gui.screens.RealmsBackupScreen.BackupObjectSelectionList
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
- Enclosing class:
- RealmsBackupScreen
class RealmsBackupScreen.BackupObjectSelectionList
extends RealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.ExtendedList
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.Ordering
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
int
boolean
void
itemClicked
(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) boolean
mouseClicked
(double p_231044_1_, double p_231044_3_, int p_231044_5_) void
renderBackground
(MatrixStack p_230433_1_) void
selectInviteListItem
(int p_223866_1_) void
selectItem
(int p_231400_1_) void
Methods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, replaceEntries, setSelectedItem
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList
changeFocus
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getLeft, getMaxScroll, getRight, getRowRight, getScrollAmount, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, keyPressed, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderList, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, 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.IGuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Constructor Details
-
BackupObjectSelectionList
public BackupObjectSelectionList()
-
-
Method Details
-
addEntry
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classRealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
isFocused
public boolean isFocused()- Overrides:
isFocused
in classAbstractList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPosition
in classRealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
renderBackground
- Overrides:
renderBackground
in classAbstractList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_) - Specified by:
mouseClicked
in interfaceIGuiEventListener
- Specified by:
mouseClicked
in interfaceINestedGuiEventHandler
- Overrides:
mouseClicked
in classAbstractList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
getScrollbarPosition
public int getScrollbarPosition() -
itemClicked
public void itemClicked(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) - Overrides:
itemClicked
in classRealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
selectItem
public void selectItem(int p_231400_1_) - Overrides:
selectItem
in classRealmsObjectSelectionList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-
selectInviteListItem
public void selectInviteListItem(int p_223866_1_) -
setSelected
- Overrides:
setSelected
in classAbstractList<RealmsBackupScreen.BackupObjectSelectionListEntry>
-