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
ConstructorsConstructorDescriptionBonusStats(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()intbooleanbooleanvoidreadFromByteBuffer(io.netty.buffer.ByteBuf buf) voidreadFromNBT(Pokemon pokemon, net.minecraft.nbt.CompoundTag tag) voidsetPersistentAfterCapture(boolean persistentAfterCapture) voidwriteToByteBuffer(io.netty.buffer.ByteBuf buf) voidwriteToNBT(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
-