Class BlocksWalkedOutsideBallStats

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.ExtraStats
com.pixelmonmod.pixelmon.api.pokemon.stats.extraStats.BlocksWalkedOutsideBallStats

public class BlocksWalkedOutsideBallStats extends ExtraStats
  • Constructor Details

    • BlocksWalkedOutsideBallStats

      public BlocksWalkedOutsideBallStats()
    • BlocksWalkedOutsideBallStats

      public BlocksWalkedOutsideBallStats(int blocksWalked, float playerStartWalkDistance)
  • Method Details

    • getBlocksWalked

      public int getBlocksWalked()
    • setBlocksWalked

      public void setBlocksWalked(int blocksWalked)
    • addBlocksWalked

      public void addBlocksWalked(int blocksWalked)
    • getPlayerStartWalkDistance

      public float getPlayerStartWalkDistance()
    • setPlayerStartWalkDistance

      public void setPlayerStartWalkDistance(float startWalkDistance)
    • writeToNBT

      public void writeToNBT(net.minecraft.nbt.CompoundTag nbt)
      Specified by:
      writeToNBT in class ExtraStats
    • readFromNBT

      public void readFromNBT(net.minecraft.nbt.CompoundTag nbt)
      Specified by:
      readFromNBT in class ExtraStats
    • copy

      public ExtraStats copy()
      Specified by:
      copy in class ExtraStats
    • getValue

      public int getValue()
      Specified by:
      getValue in class ExtraStats
    • setValue

      public void setValue(int value)
      Specified by:
      setValue in class ExtraStats
    • getValueName

      public net.minecraft.network.chat.Component getValueName()
      Specified by:
      getValueName in class ExtraStats