Class RaidData

java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.RaidData

public class RaidData extends Object
Created by Waterdude.
  • Field Details

  • Constructor Details

    • RaidData

      public RaidData(int entityID, int stars, Species species)
    • RaidData

      public RaidData(int entityID, int stars, Species species, Stats form)
    • RaidData

      public RaidData(int entityID, int stars, int species, String form)
    • RaidData

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

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

    • getDen

      public int getDen()
    • getStars

      public int getStars()
    • getSpecies

      public Species getSpecies()
    • getForm

      public Stats getForm()
    • getPlayers

      public List<RaidData.RaidPlayer> getPlayers()
    • getTick

      public int getTick()
    • hasPlayers

      public boolean hasPlayers()
    • isSolo

      public boolean isSolo()
    • processAction

      public void processAction(int action, int slot, net.minecraft.world.item.ItemStack usedStack, net.minecraft.server.level.ServerPlayer ep)
    • lock

      public void lock()
    • unlock

      public void unlock()
    • updateAll

      public void updateAll()
    • kickAll

      public void kickAll(EnumRaidKickReason reason)
    • abort

      public void abort()
    • isStarting

      public boolean isStarting()
    • setStarting

      public void setStarting(boolean starting)
    • addPlayer

      public boolean addPlayer(int playerCap, net.minecraft.server.level.ServerPlayer ep, Pokemon pokemon, int index)
    • removePlayer

      public boolean removePlayer(net.minecraft.server.level.ServerPlayer ep)
    • updatePlayer

      public boolean updatePlayer(net.minecraft.server.level.ServerPlayer ep, Pokemon pokemon, int index)
    • getPlayer

      public RaidData.RaidPlayer getPlayer(UUID uuid)
    • getPlayer

      public RaidData.RaidPlayer getPlayer(net.minecraft.server.level.ServerPlayer ep)
    • getDenEntity

      public Optional<DenEntity> getDenEntity(net.minecraft.world.level.Level world)
    • isOwner

      public boolean isOwner(UUID uuid)
    • onUpdate

      public void onUpdate(DenEntity den)
    • populateWithNPCs

      public void populateWithNPCs()
    • startRaid

      public void startRaid(DenEntity den)
    • write

      public void write(net.minecraft.nbt.CompoundTag tag)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)