Class MoveUsesStats
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.ExtraStats
com.pixelmonmod.pixelmon.api.pokemon.stats.extraStats.MoveUsesStats
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUses
(int uses) copy()
int
int
getValue()
net.minecraft.network.chat.Component
void
readFromNBT
(net.minecraft.nbt.CompoundTag nbt) void
setMoveUses
(int uses) void
setValue
(int value) void
writeToNBT
(net.minecraft.nbt.CompoundTag nbt) Methods inherited from class com.pixelmonmod.pixelmon.api.pokemon.stats.ExtraStats
getExtraStats, hasSpecialSetup, init, specialPrep
-
Constructor Details
-
MoveUsesStats
public MoveUsesStats() -
MoveUsesStats
public MoveUsesStats(int uses)
-
-
Method Details
-
getMoveUses
public int getMoveUses() -
setMoveUses
public void setMoveUses(int uses) -
addUses
public void addUses(int uses) -
writeToNBT
public void writeToNBT(net.minecraft.nbt.CompoundTag nbt) - Specified by:
writeToNBT
in classExtraStats
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag nbt) - Specified by:
readFromNBT
in classExtraStats
-
copy
- Specified by:
copy
in classExtraStats
-
getValue
public int getValue()- Specified by:
getValue
in classExtraStats
-
setValue
public void setValue(int value) - Specified by:
setValue
in classExtraStats
-
getValueName
public net.minecraft.network.chat.Component getValueName()- Specified by:
getValueName
in classExtraStats
-