public class BlocksWalkedOutsideBallStats extends ExtraStats
Constructor and Description |
---|
BlocksWalkedOutsideBallStats() |
BlocksWalkedOutsideBallStats(int blocksWalked,
float playerStartWalkDistance) |
Modifier and Type | Method and Description |
---|---|
void |
addBlocksWalked(int blocksWalked) |
ExtraStats |
copy() |
int |
getBlocksWalked() |
float |
getPlayerStartWalkDistance() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT nbt) |
void |
setBlocksWalked(int blocksWalked) |
void |
setPlayerStartWalkDistance(float startWalkDistance) |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT nbt) |
getExtraStats, hasSpecialSetup, init, specialPrep
public BlocksWalkedOutsideBallStats()
public BlocksWalkedOutsideBallStats(int blocksWalked, float playerStartWalkDistance)
public int getBlocksWalked()
public void setBlocksWalked(int blocksWalked)
public void addBlocksWalked(int blocksWalked)
public float getPlayerStartWalkDistance()
public void setPlayerStartWalkDistance(float startWalkDistance)
public void writeToNBT(net.minecraft.nbt.CompoundNBT nbt)
writeToNBT
in class ExtraStats
public void readFromNBT(net.minecraft.nbt.CompoundNBT nbt)
readFromNBT
in class ExtraStats
public ExtraStats copy()
copy
in class ExtraStats