public class RaidData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RaidData.RaidPlayer |
Modifier and Type | Field and Description |
---|---|
boolean |
canAllCatch |
boolean |
canUseMaster |
int |
tick |
java.util.UUID |
uuid |
Constructor and Description |
---|
RaidData(net.minecraft.nbt.CompoundNBT tag) |
RaidData(int entityID,
int stars,
int species,
java.lang.String form) |
RaidData(int entityID,
int stars,
Species species) |
RaidData(int entityID,
int stars,
Species species,
Stats form) |
RaidData(net.minecraft.network.PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
boolean |
addPlayer(int playerCap,
net.minecraft.entity.player.ServerPlayerEntity ep,
Pokemon pokemon,
int index) |
int |
getDen() |
java.util.Optional<DenEntity> |
getDenEntity(net.minecraft.world.World world) |
Stats |
getForm() |
RaidData.RaidPlayer |
getPlayer(net.minecraft.entity.player.ServerPlayerEntity ep) |
RaidData.RaidPlayer |
getPlayer(java.util.UUID uuid) |
java.util.ArrayList<RaidData.RaidPlayer> |
getPlayers() |
Species |
getSpecies() |
int |
getStars() |
boolean |
hasPlayers() |
boolean |
isOwner(java.util.UUID uuid) |
boolean |
isSolo() |
boolean |
isStarting() |
void |
kickAll(EnumRaidKickReason reason) |
void |
lock() |
void |
onUpdate(DenEntity den) |
void |
populateWithNPCs() |
void |
processAction(int action,
int slot,
net.minecraft.item.ItemStack usedStack,
net.minecraft.entity.player.ServerPlayerEntity ep) |
boolean |
removePlayer(net.minecraft.entity.player.ServerPlayerEntity ep) |
void |
setStarting(boolean starting) |
void |
startRaid(DenEntity den) |
void |
unlock() |
void |
updateAll() |
boolean |
updatePlayer(net.minecraft.entity.player.ServerPlayerEntity ep,
Pokemon pokemon,
int index) |
void |
write(net.minecraft.nbt.CompoundNBT tag) |
void |
write(net.minecraft.network.PacketBuffer buf) |
public final java.util.UUID uuid
public final boolean canAllCatch
public final boolean canUseMaster
public int tick
public RaidData(int entityID, int stars, Species species)
public RaidData(int entityID, int stars, int species, java.lang.String form)
public RaidData(net.minecraft.nbt.CompoundNBT tag)
public RaidData(net.minecraft.network.PacketBuffer buf)
public int getDen()
public int getStars()
public Species getSpecies()
public Stats getForm()
public java.util.ArrayList<RaidData.RaidPlayer> getPlayers()
public boolean hasPlayers()
public boolean isSolo()
public void processAction(int action, int slot, net.minecraft.item.ItemStack usedStack, net.minecraft.entity.player.ServerPlayerEntity ep)
public void lock()
public void unlock()
public void updateAll()
public void kickAll(EnumRaidKickReason reason)
public boolean isStarting()
public void setStarting(boolean starting)
public boolean addPlayer(int playerCap, net.minecraft.entity.player.ServerPlayerEntity ep, Pokemon pokemon, int index)
public boolean removePlayer(net.minecraft.entity.player.ServerPlayerEntity ep)
public boolean updatePlayer(net.minecraft.entity.player.ServerPlayerEntity ep, Pokemon pokemon, int index)
public RaidData.RaidPlayer getPlayer(java.util.UUID uuid)
public RaidData.RaidPlayer getPlayer(net.minecraft.entity.player.ServerPlayerEntity ep)
public java.util.Optional<DenEntity> getDenEntity(net.minecraft.world.World world)
public boolean isOwner(java.util.UUID uuid)
public void onUpdate(DenEntity den)
public void populateWithNPCs()
public void startRaid(DenEntity den)
public void write(net.minecraft.nbt.CompoundNBT tag)
public void write(net.minecraft.network.PacketBuffer buf)