Class LevelHandler
java.lang.Object
de.teamlapen.werewolves.entities.player.werewolf.LevelHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatintintvoidincreaseProgress(int amount) voidloadFromNbt(net.minecraft.nbt.CompoundTag compound) voidreset()voidsaveToNbt(net.minecraft.nbt.CompoundTag compound)
-
Constructor Details
-
LevelHandler
-
-
Method Details
-
canLevelUp
public boolean canLevelUp() -
getLevelPerc
public float getLevelPerc() -
saveToNbt
public void saveToNbt(@Nonnull net.minecraft.nbt.CompoundTag compound) -
loadFromNbt
public void loadFromNbt(@Nonnull net.minecraft.nbt.CompoundTag compound) -
getLevelProgress
public int getLevelProgress() -
getNeededProgress
public int getNeededProgress() -
increaseProgress
public void increaseProgress(int amount) -
reset
public void reset()
-