public class EvolutionQueryList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<EvolutionQuery> |
queryList
All Pokémon that are currently evolving.
|
Constructor and Description |
---|
EvolutionQueryList() |
Modifier and Type | Method and Description |
---|---|
static void |
acceptQuery(net.minecraft.entity.player.ServerPlayerEntity player,
java.util.UUID pokemonUUID)
Evolves a Pokémon.
|
static void |
declineQuery(net.minecraft.entity.player.ServerPlayerEntity player,
java.util.UUID pokemonUUID)
Cancels an evolution.
|
static EvolutionQuery |
get(net.minecraft.entity.player.PlayerEntity player)
Gets the evolution that a player is currently in.
|
static void |
spawnPokemon(net.minecraft.entity.player.ServerPlayerEntity player,
java.util.UUID pokemonUUID)
Sends out a Pokémon to evolve it.
|
static void |
tick(net.minecraft.world.World world) |
public static final java.util.List<EvolutionQuery> queryList
public static void declineQuery(net.minecraft.entity.player.ServerPlayerEntity player, java.util.UUID pokemonUUID)
pokemonUUID
- The UUID of the Pokémon to cancel an evolution for.public static void acceptQuery(net.minecraft.entity.player.ServerPlayerEntity player, java.util.UUID pokemonUUID)
pokemonUUID
- The UUID of the evolving Pokémon.public static EvolutionQuery get(net.minecraft.entity.player.PlayerEntity player)
player
- The player to get an evolution for.public static void tick(net.minecraft.world.World world)
public static void spawnPokemon(net.minecraft.entity.player.ServerPlayerEntity player, java.util.UUID pokemonUUID)
player
- The player evolving the Pokémon.pokemonUUID
- The UUID of the evolving Pokémon.