Class BonusStats

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.BonusStats

public class BonusStats extends Object
For raising stat stages at the start of a battle. x's aura flared to life! Its stats rose!
  • 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

      public BonusStats(Species species)
  • Method Details

    • isPersistentAfterCapture

      public boolean isPersistentAfterCapture()
    • setPersistentAfterCapture

      public void setPersistentAfterCapture(boolean persistentAfterCapture)
    • modifyPokemon

      public boolean modifyPokemon(PixelmonWrapper pw)
    • getStatModified

      public BattleStatsType 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

      public void readFromNBT(Pokemon pokemon, net.minecraft.nbt.CompoundTag tag)