public class BonusStats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DataSync<? extends AbstractBaseEntity,java.lang.Boolean> |
SYNC_UNCATCHABLE |
Constructor and Description |
---|
BonusStats() |
BonusStats(io.netty.buffer.ByteBuf buf) |
BonusStats(int accuracy,
int evasion,
int attack,
int defense,
int specialAttack,
int specialDefense,
int speed) |
BonusStats(Species species) |
Modifier and Type | Method and Description |
---|---|
int |
getStatModificationRank() |
BattleStatsType |
getStatModified() |
boolean |
isPersistentAfterCapture() |
boolean |
modifyPokemon(PixelmonWrapper pw) |
boolean |
preventsCapture() |
void |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
setPersistentAfterCapture(boolean persistentAfterCapture) |
void |
setPreventsCapture(PixelmonEntity entity,
boolean preventsCapture) |
void |
writeToByteBuffer(io.netty.buffer.ByteBuf buf) |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT tag) |
public static final DataSync<? extends AbstractBaseEntity,java.lang.Boolean> SYNC_UNCATCHABLE
public BonusStats()
public BonusStats(int accuracy, int evasion, int attack, int defense, int specialAttack, int specialDefense, int speed)
public BonusStats(io.netty.buffer.ByteBuf buf)
public BonusStats(Species species)
public boolean isPersistentAfterCapture()
public boolean preventsCapture()
public void setPersistentAfterCapture(boolean persistentAfterCapture)
public void setPreventsCapture(PixelmonEntity entity, boolean preventsCapture)
public boolean modifyPokemon(PixelmonWrapper pw)
public BattleStatsType getStatModified()
public int getStatModificationRank()
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf)
public void readFromByteBuffer(io.netty.buffer.ByteBuf buf)
public void writeToNBT(net.minecraft.nbt.CompoundNBT tag)
public void readFromNBT(net.minecraft.nbt.CompoundNBT tag)