public class GuiListWorldSelection extends GuiListExtended<GuiListWorldSelectionEntry>
GuiListExtended.IGuiListEntry<E extends GuiListExtended.IGuiListEntry<E>>amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, right, selectedElement, showSelectionBox, slotHeight, top, visible, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiListWorldSelection(GuiWorldSelection p_i49846_1_,
Minecraft p_i49846_2_,
int p_i49846_3_,
int p_i49846_4_,
int p_i49846_5_,
int p_i49846_6_,
int p_i49846_7_,
java.util.function.Supplier<java.lang.String> p_i49846_8_,
GuiListWorldSelection p_i49846_9_) |
| Modifier and Type | Method and Description |
|---|---|
void |
func_212330_a(java.util.function.Supplier<java.lang.String> p_212330_1_,
boolean p_212330_2_) |
GuiWorldSelection |
getGuiWorldSelection() |
int |
getListWidth() |
protected int |
getScrollBarX() |
GuiListWorldSelectionEntry |
getSelectedWorld() |
protected boolean |
isSelected(int slotIndex) |
void |
selectWorld(int idx) |
addEntry, clearEntries, drawBackground, drawSlot, getChildren, getSize, mouseClicked, setSelectedEntry, updateItemPosbindAmountScrolled, charTyped, checkScrollbarClick, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEntryAt, getMaxScroll, getSlotHeight, isMouseInList, isVisible, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, overlayBackground, renderDecorations, scrollBy, setDimensions, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeftfocusNext, focusOn, getFocused, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyReleasedcanFocus, focusChangedpublic GuiListWorldSelection(GuiWorldSelection p_i49846_1_, Minecraft p_i49846_2_, int p_i49846_3_, int p_i49846_4_, int p_i49846_5_, int p_i49846_6_, int p_i49846_7_, java.util.function.Supplier<java.lang.String> p_i49846_8_, @Nullable GuiListWorldSelection p_i49846_9_)
public void func_212330_a(java.util.function.Supplier<java.lang.String> p_212330_1_,
boolean p_212330_2_)
protected int getScrollBarX()
getScrollBarX in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlotpublic void selectWorld(int idx)
protected boolean isSelected(int slotIndex)
isSelected in class GuiListExtended<GuiListWorldSelectionEntry>@Nullable public GuiListWorldSelectionEntry getSelectedWorld()
public GuiWorldSelection getGuiWorldSelection()