Class WorldSelectionList.Builder
java.lang.Object
net.minecraft.client.gui.screens.worldselection.WorldSelectionList.Builder
- Enclosing class:
WorldSelectionList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate intprivate final Minecraftprivate WorldSelectionListprivate Consumer<LevelSummary> private final Screenprivate WorldSelectionList.EntryTypeprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()height(int pHeight) oldList(WorldSelectionList pOldList) onEntryInteract(Consumer<WorldSelectionList.WorldListEntry> pOnEntryInteract) onEntrySelect(Consumer<LevelSummary> pOnEntrySelect) width(int pWidth)
-
Field Details
-
minecraft
-
screen
-
width
private int width -
height
private int height -
filter
-
type
-
oldList
-
onEntrySelect
-
onEntryInteract
-
-
Constructor Details
-
Builder
-
-
Method Details
-
width
-
height
-
filter
-
oldList
-
onEntrySelect
-
onEntryInteract
public WorldSelectionList.Builder onEntryInteract(Consumer<WorldSelectionList.WorldListEntry> pOnEntryInteract) -
uploadWorld
-
build
-