Class BonusStats
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.BonusStats
For raising stat stages at the start of a battle.
x's aura flared to life! Its stats rose!
-
Constructor Summary
ConstructorDescriptionBonusStats
(int accuracy, int evasion, int attack, int defense, int specialAttack, int specialDefense, int speed) BonusStats
(Species species) BonusStats
(io.netty.buffer.ByteBuf buf) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
int
boolean
boolean
void
readFromByteBuffer
(io.netty.buffer.ByteBuf buf) void
readFromNBT
(Pokemon pokemon, net.minecraft.nbt.CompoundTag tag) void
setPersistentAfterCapture
(boolean persistentAfterCapture) void
writeToByteBuffer
(io.netty.buffer.ByteBuf buf) void
writeToNBT
(net.minecraft.nbt.CompoundTag tag)
-
Constructor Details
-
BonusStats
public BonusStats() -
BonusStats
public BonusStats(int accuracy, int evasion, int attack, int defense, int specialAttack, int specialDefense, int speed) -
BonusStats
public BonusStats(io.netty.buffer.ByteBuf buf) -
BonusStats
-
-
Method Details
-
copy
-
isPersistentAfterCapture
public boolean isPersistentAfterCapture() -
setPersistentAfterCapture
public void setPersistentAfterCapture(boolean persistentAfterCapture) -
modifyPokemon
-
getStatModified
-
getStatModificationRank
public int getStatModificationRank() -
writeToByteBuffer
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf) -
readFromByteBuffer
public void readFromByteBuffer(io.netty.buffer.ByteBuf buf) -
writeToNBT
public void writeToNBT(net.minecraft.nbt.CompoundTag tag) -
readFromNBT
-