Class RaidData.RaidPlayer
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.RaidData.RaidPlayer
- Enclosing class:
RaidData
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRaidPlayer(int index, net.minecraft.server.level.ServerPlayer player, Pokemon pokemon) RaidPlayer(RaidAlly ally) RaidPlayer(RaidAlly ally, int level) RaidPlayer(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registryAccess) RaidPlayer(net.minecraft.network.RegistryFriendlyByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPlayer()inttryCatch(RaidData raid, PokeBall ball, BattleController bc) voidupdatePokemon(int index, Pokemon pokemon) voidwinRaid(RaidPixelmonParticipant rpp, RaidData raid, RaidGovernor governor) net.minecraft.nbt.CompoundTagwrite(net.minecraft.core.HolderLookup.Provider registryAccess) voidwrite(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registryAccess) voidwrite(net.minecraft.network.RegistryFriendlyByteBuf buf)
-
Field Details
-
PLAYER_KEY
- See Also:
-
UUID_KEY
- See Also:
-
POKEMON_KEY
- See Also:
-
INDEX_KEY
- See Also:
-
player
-
name
-
uuid
-
index
public int index -
playerEntity
public net.minecraft.server.level.ServerPlayer playerEntity -
battleController
-
possibleCatch
-
canCatch
public boolean canCatch -
catchAttempted
public boolean catchAttempted -
drops
-
pokemon
-
ally
-
-
Constructor Details
-
RaidPlayer
-
RaidPlayer
-
RaidPlayer
-
RaidPlayer
public RaidPlayer(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registryAccess) -
RaidPlayer
public RaidPlayer(net.minecraft.network.RegistryFriendlyByteBuf buf)
-
-
Method Details
-
updatePokemon
-
isPlayer
public boolean isPlayer() -
winRaid
-
tryCatch
-
write
public net.minecraft.nbt.CompoundTag write(net.minecraft.core.HolderLookup.Provider registryAccess) -
write
public void write(net.minecraft.nbt.CompoundTag tag, net.minecraft.core.HolderLookup.Provider registryAccess) -
write
public void write(net.minecraft.network.RegistryFriendlyByteBuf buf)
-