Class RealmsSelectWorldTemplateScreen.WorldTemplateSelectionList
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<RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry>
com.mojang.realmsclient.gui.screens.RealmsSelectWorldTemplateScreen.WorldTemplateSelectionList
- All Implemented Interfaces:
IGuiEventListener,INestedGuiEventHandler,IRenderable
- Enclosing class:
- RealmsSelectWorldTemplateScreen
class RealmsSelectWorldTemplateScreen.WorldTemplateSelectionList
extends RealmsObjectSelectionList<RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry>
-
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, y1Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntry(WorldTemplate p_223876_1_) get(int p_223877_1_) intintbooleanisEmpty()booleanbooleanmouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_) voidrenderBackground(MatrixStack p_230433_1_) voidselectItem(int p_231400_1_) voidMethods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, getScrollbarPosition, itemClicked, replaceEntries, setSelectedItemMethods inherited from class net.minecraft.client.gui.widget.list.ExtendedList
changeFocusMethods 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, updateSizeMethods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, 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.IGuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Constructor Details
-
WorldTemplateSelectionList
public WorldTemplateSelectionList() -
WorldTemplateSelectionList
-
-
Method Details
-
addEntry
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_) - Specified by:
mouseClickedin interfaceIGuiEventListener- Specified by:
mouseClickedin interfaceINestedGuiEventHandler- Overrides:
mouseClickedin classAbstractList<RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry>
-
selectItem
public void selectItem(int p_231400_1_) -
setSelected
public void setSelected(@Nullable RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry p_241215_1_) - Overrides:
setSelectedin classAbstractList<RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry>
-
getMaxPosition
public int getMaxPosition() -
getRowWidth
public int getRowWidth() -
renderBackground
- Overrides:
renderBackgroundin classAbstractList<RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry>
-
isFocused
public boolean isFocused()- Overrides:
isFocusedin classAbstractList<RealmsSelectWorldTemplateScreen.WorldTemplateSelectionEntry>
-
isEmpty
public boolean isEmpty() -
get
-
getTemplates
-