Class RaidData.RaidPlayer

java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.RaidData.RaidPlayer
Enclosing class:
RaidData

public static class RaidData.RaidPlayer extends Object
  • Field Details

    • player

      public final UUID player
    • name

      public String name
    • uuid

      public UUID uuid
    • species

      public Species species
    • gender

      public Gender gender
    • form

      public Stats form
    • palette

      public String palette
    • index

      public int index
    • playerEntity

      public net.minecraft.server.level.ServerPlayer playerEntity
    • level

      public int level
    • possibleCatch

      public Pokemon possibleCatch
    • canCatch

      public boolean canCatch
    • catchAttempted

      public boolean catchAttempted
    • drops

      public ArrayList<net.minecraft.world.item.ItemStack> drops
    • pokemon

      public Pokemon pokemon
  • Constructor Details

    • RaidPlayer

      public RaidPlayer(int index, net.minecraft.server.level.ServerPlayer player, Pokemon pokemon)
    • RaidPlayer

      public RaidPlayer(RaidPokemon pokemon, int maxLevel)
    • RaidPlayer

      public RaidPlayer(net.minecraft.nbt.CompoundTag tag)
    • RaidPlayer

      public RaidPlayer(net.minecraft.network.FriendlyByteBuf buf)
  • Method Details

    • updatePokemon

      public void updatePokemon(int index, Pokemon pokemon)
    • isPlayer

      public boolean isPlayer()
    • winRaid

      public void winRaid(RaidPixelmonParticipant rpp, RaidData raid, RaidGovernor governor)
    • tryCatch

      public int tryCatch(RaidData raid, PokeBall ball, BattleController bc)
    • 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)