Class RaidData
java.lang.Object
com.pixelmonmod.pixelmon.battles.raids.RaidData
Created by Waterdude.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringfinal booleanfinal booleanstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringfinal UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()booleanintgetDen()getDenEntity(net.minecraft.world.level.Level world) getForm()getPlayer(net.minecraft.server.level.ServerPlayer ep) intgetStars()intgetTick()booleanbooleanbooleanisSolo()booleanvoidkickAll(EnumRaidKickReason reason) voidlock()voidvoidvoidprocessAction(int action, int slot, net.minecraft.world.item.ItemStack usedStack, net.minecraft.server.level.ServerPlayer ep) booleanremovePlayer(net.minecraft.server.level.ServerPlayer ep) voidsetStarting(boolean starting) voidvoidunlock()voidbooleanupdatePlayer(net.minecraft.server.level.ServerPlayer ep, Pokemon pokemon, int index) voidwrite(net.minecraft.nbt.CompoundTag tag) voidwrite(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)
-