Class RaidData
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.RaidData
Created by Waterdude.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
final boolean
final boolean
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
final UUID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
boolean
int
getDen()
getDenEntity
(net.minecraft.world.level.Level world) getForm()
getPlayer
(net.minecraft.server.level.ServerPlayer ep) int
getStars()
int
getTick()
boolean
boolean
boolean
isSolo()
boolean
void
kickAll
(EnumRaidKickReason reason) void
lock()
void
void
void
processAction
(int action, int slot, net.minecraft.world.item.ItemStack usedStack, net.minecraft.server.level.ServerPlayer ep) boolean
removePlayer
(net.minecraft.server.level.ServerPlayer ep) void
setStarting
(boolean starting) void
void
unlock()
void
boolean
updatePlayer
(net.minecraft.server.level.ServerPlayer ep, Pokemon pokemon, int index) void
write
(net.minecraft.nbt.CompoundTag tag) void
write
(net.minecraft.network.FriendlyByteBuf buf)
-
Field Details
-
RAID_DATA_KEY
- See Also:
-
TICK_KEY
- See Also:
-
ENTITY_ID_KEY
- See Also:
-
STARS_KEY
- See Also:
-
SPECIES_KEY
- See Also:
-
HAS_FORM_KEY
- See Also:
-
FORM_KEY
- See Also:
-
LOCKED_KEY
- See Also:
-
STARTING_KEY
- See Also:
-
OWNER_KEY
- See Also:
-
PLAYERS_KEY
- See Also:
-
CAN_ALL_CATCH_KEY
- See Also:
-
CAN_USE_MASTER_KEY
- See Also:
-
uuid
-
canAllCatch
public final boolean canAllCatch -
canUseMaster
public final boolean canUseMaster
-
-
Constructor Details
-
RaidData
-
RaidData
-
RaidData
-
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
-
getForm
-
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
-
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
-
getPlayer
-
getPlayer
-
getDenEntity
-
isOwner
-
onUpdate
-
populateWithNPCs
public void populateWithNPCs() -
startRaid
-
write
public void write(net.minecraft.nbt.CompoundTag tag) -
write
public void write(net.minecraft.network.FriendlyByteBuf buf)
-