public interface IStageData
| Modifier and Type | Method and Description |
|---|---|
void |
addStage(java.lang.String stage)
Adds a stage to the unlocked stages collection.
|
void |
clear()
Clears all of the unlocked stages.
|
java.util.Collection<java.lang.String> |
getStages()
Gets a collection of all unlocked stages.
|
boolean |
hasStage(java.lang.String stage)
Checks if a stage is unlocked.
|
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
removeStage(java.lang.String stage)
Removes a stage from the unlocked stages collection.
|
net.minecraft.nbt.CompoundNBT |
writeToNBT() |
java.util.Collection<java.lang.String> getStages()
boolean hasStage(@Nonnull
java.lang.String stage)
stage - The stage to check.void addStage(@Nonnull
java.lang.String stage)
stage - The stage to unlock.void removeStage(@Nonnull
java.lang.String stage)
stage - The stage to remove.void clear()
void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
net.minecraft.nbt.CompoundNBT writeToNBT()