Class RaidData.RaidPlayer
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.RaidData.RaidPlayer
- Enclosing class:
- RaidData
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRaidPlayer
(int index, net.minecraft.server.level.ServerPlayer player, Pokemon pokemon) RaidPlayer
(RaidPokemon pokemon, int maxLevel) RaidPlayer
(net.minecraft.nbt.CompoundTag tag) RaidPlayer
(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isPlayer()
int
tryCatch
(RaidData raid, PokeBall ball, BattleController bc) void
updatePokemon
(int index, Pokemon pokemon) void
winRaid
(RaidPixelmonParticipant rpp, RaidData raid, RaidGovernor governor) net.minecraft.nbt.CompoundTag
write()
void
write
(net.minecraft.nbt.CompoundTag tag) void
write
(net.minecraft.network.FriendlyByteBuf buf)
-
Field Details
-
PLAYER_KEY
- See Also:
-
UUID_KEY
- See Also:
-
SPECIES_KEY
- See Also:
-
GENDER_KEY
- See Also:
-
FORM_KEY
- See Also:
-
PALETTE_KEY
- See Also:
-
INDEX_KEY
- See Also:
-
player
-
name
-
uuid
-
species
-
gender
-
form
-
palette
-
index
public int index -
playerEntity
public net.minecraft.server.level.ServerPlayer playerEntity -
level
public int level -
possibleCatch
-
canCatch
public boolean canCatch -
catchAttempted
public boolean catchAttempted -
drops
-
pokemon
-
-
Constructor Details
-
RaidPlayer
-
RaidPlayer
-
RaidPlayer
public RaidPlayer(net.minecraft.nbt.CompoundTag tag) -
RaidPlayer
public RaidPlayer(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
updatePokemon
-
isPlayer
public boolean isPlayer() -
winRaid
-
tryCatch
-
write
public net.minecraft.nbt.CompoundTag write() -
write
public void write(net.minecraft.nbt.CompoundTag tag) -
write
public void write(net.minecraft.network.FriendlyByteBuf buf)
-