Class PartySelectionScreen
java.lang.Object
com.pixelmonmod.pixelmon.api.selection.PartySelectionScreen
Util for creating party selection screens
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PartySelectionScreen.Builder
builder()
static void
openSelection
(net.minecraft.server.level.ServerPlayer player, int selections, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer, Pokemon... options) static void
openSelection
(net.minecraft.server.level.ServerPlayer player, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer) static void
openSelection
(net.minecraft.server.level.ServerPlayer player, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer, Pokemon... options)
-
Constructor Details
-
PartySelectionScreen
public PartySelectionScreen()
-
-
Method Details
-
openSelection
public static void openSelection(net.minecraft.server.level.ServerPlayer player, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer) -
openSelection
public static void openSelection(net.minecraft.server.level.ServerPlayer player, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer, Pokemon... options) -
openSelection
public static void openSelection(net.minecraft.server.level.ServerPlayer player, int selections, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer, Pokemon... options) -
builder
-