Class RecoilStats
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.ExtraStats
com.pixelmonmod.pixelmon.api.pokemon.stats.extraStats.RecoilStats
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecoil
(int recoil) copy()
int
getValue()
net.minecraft.network.chat.Component
void
readFromNBT
(net.minecraft.nbt.CompoundTag nbt) int
recoil()
void
setRecoil
(int recoil) 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
-
RecoilStats
public RecoilStats() -
RecoilStats
public RecoilStats(int recoil)
-
-
Method Details
-
recoil
public int recoil() -
setRecoil
public void setRecoil(int recoil) -
addRecoil
public void addRecoil(int recoil) -
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
-