net.minecraft.client.gui.screens.worldselection

public class WorldSelectionList

extends ObjectSelectionList<WorldSelectionList$Entry>

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget, NarratableEntry, NarrationSupplier

eol
net.minecraft.client.gui.screens.worldselection.WorldSelectionList
net.minecraft.class_528
net.minecraft.client.gui.screen.world.WorldListWidget
net.minecraft.src.C_3772_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_3238
LOGGER
f_101645_
static final DateFormat
o
DATE_FORMAT
field_19132
DATE_FORMAT
f_101646_
static final ResourceLocation
p
ICON_MISSING
field_19133
UNKNOWN_SERVER_LOCATION
f_101647_
static final ResourceLocation
q
ICON_OVERLAY_LOCATION
field_19134
WORLD_SELECTION_LOCATION
f_101648_
static final Component
r
FROM_NEWER_TOOLTIP_1
field_26606
FROM_NEWER_VERSION_FIRST_LINE
f_101649_
static final Component
s
FROM_NEWER_TOOLTIP_2
field_26607
FROM_NEWER_VERSION_SECOND_LINE
f_101650_
static final Component
t
SNAPSHOT_TOOLTIP_1
field_26608
SNAPSHOT_FIRST_LINE
f_101651_
static final Component
u
SNAPSHOT_TOOLTIP_2
field_26609
SNAPSHOT_SECOND_LINE
f_101652_
static final Component
v
WORLD_LOCKED_TOOLTIP
field_26610
LOCKED_TEXT
f_101653_
static final Component
w
WORLD_REQUIRES_CONVERSION
field_34803
CONVERSION_TOOLTIP
f_194113_
private static final Duration
x
MAX_LOAD_BLOCK_TIME
field_38995
TIMEOUT
f_233185_
private final SelectWorldScreen
y
screen
field_3237
parent
f_101654_
private CompletableFuture<List<LevelSummary>>
z
levelsFuture
field_38996
levelsFuture
f_233186_
private final WorldSelectionList$LoadingHeader
A
loadingHeader
field_38994
loadingEntry
f_233184_

Constructor summary

ModifierConstructor
public (SelectWorldScreen parent, Minecraft client, int width, int height, int top, int bottom, int itemHeight, Supplier<String> searchFilter, WorldSelectionList oldWidget)

Method summary

Modifier and TypeMethod
public void
a(Supplier<String> arg0)
reloadLevels(Supplier<String> arg0)
method_43458(Supplier<String> arg0)
loadAndShow(Supplier<String> searchFilter)
m_233206_(Supplier<String> arg0)
public void
a(String arg0)
refreshList(String arg0)
method_2750(String arg0)
filter(String name)
m_233193_(String arg0)
private CompletableFuture<List<LevelSummary>>
v()
loadLevels()
method_43462()
loadLevels()
m_233213_()
private List<LevelSummary>
a(CompletableFuture<List<dqu>> arg0, Duration arg1)
pollReadyLevels(CompletableFuture<List<LevelSummary>> arg0, Duration arg1)
method_43457(CompletableFuture<List<class_34>> arg0, Duration arg1)
tryGet(CompletableFuture<List<LevelSummary>> future, Duration timeout)
m_233203_(CompletableFuture<List<C_2789_>> p_233205_, Duration arg1)
private void
a(String arg0, List<dqu> arg1)
fillLevels(String arg0, List<LevelSummary> arg1)
method_43454(String arg0, List<class_34> arg1)
showSummaries(String search, List<LevelSummary> summaries)
m_233198_(String p_233200_, List<C_2789_> arg1)
private boolean
a(String arg0, dqu arg1)
filterAccepts(String arg0, LevelSummary arg1)
method_43453(String arg0, class_34 arg1)
shouldShow(String search, LevelSummary summary)
m_233195_(String p_233197_, C_2789_ arg1)
private void
w()
fillLoadingLevels()
method_43463()
showLoadingScreen()
m_233214_()
private void
x()
notifyListUpdated()
method_43464()
narrateScreenIfNarrationEnabled()
m_233215_()
private void
a(rm arg0)
handleLevelLoadFailure(Component arg0)
method_43460(class_2561 arg0)
showUnableToLoadScreen(Text message)
m_233211_(C_4996_ arg0)
protected int
d()
getScrollbarPosition()
method_25329()
getScrollbarPositionX()
m_5756_()
public int
c()
getRowWidth()
method_25322()
getRowWidth()
m_5759_()
protected boolean
a()
isFocused()
method_25316()
isFocused()
m_5694_()
public void
a(eol$a arg0)
setSelected(WorldSelectionList$Entry arg0)
method_20157(class_528$class_7414 arg0)
setSelected(WorldListWidget$Entry arg0)
m_6987_(C_213390_ arg0)
protected void
a(ego$b arg0)
moveSelection(AbstractSelectionList$SelectionDirection arg0)
method_25335(class_350$class_5403 arg0)
moveSelection(EntryListWidget$MoveDirection arg0)
m_6778_(C_3446_ arg0)
public Optional<WorldSelectionList$WorldListEntry>
e()
getSelectedOpt()
method_20159()
getSelectedAsOptional()
m_101684_()
public SelectWorldScreen
f()
getScreen()
method_2752()
getParent()
m_101685_()
public void
a(eiu arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)