Class PartySelectionFactory
java.lang.Object
com.pixelmonmod.pixelmon.api.selection.PartySelectionFactory
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
beginSelection
(net.minecraft.server.level.ServerPlayer player, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer, List<Pokemon> options) getSelectionConsumer
(net.minecraft.server.level.ServerPlayer player) static boolean
inSelection
(net.minecraft.server.level.ServerPlayer player) static void
removeSelection
(net.minecraft.server.level.ServerPlayer player)
-
Constructor Details
-
PartySelectionFactory
public PartySelectionFactory()
-
-
Method Details
-
beginSelection
public static void beginSelection(net.minecraft.server.level.ServerPlayer player, BiConsumer<net.minecraft.server.level.ServerPlayer, List<Pokemon>> consumer, List<Pokemon> options) -
getSelectionConsumer
public static PartySelectionFactory.SelectionData getSelectionConsumer(net.minecraft.server.level.ServerPlayer player) -
removeSelection
public static void removeSelection(net.minecraft.server.level.ServerPlayer player) -
inSelection
public static boolean inSelection(net.minecraft.server.level.ServerPlayer player)
-