Class PartySelectionScreen.Builder
java.lang.Object
com.pixelmonmod.pixelmon.api.selection.PartySelectionScreen.Builder
- Enclosing class:
- PartySelectionScreen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconsumer
(BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer) party
(net.minecraft.world.entity.player.Player player) selections
(int selections) void
sendTo
(net.minecraft.server.level.ServerPlayer player) text
(net.minecraft.network.chat.Component text) title
(net.minecraft.network.chat.Component title)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
title
-
title
-
text
-
text
-
selections
-
option
-
options
-
options
-
clearOptions
-
party
-
consumer
public PartySelectionScreen.Builder consumer(BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer) -
enforceSelection
-
allowExit
-
sendTo
public void sendTo(net.minecraft.server.level.ServerPlayer player)
-