public class EmptyStageData extends java.lang.Object implements IStageData
| Constructor and Description |
|---|
EmptyStageData() |
| 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() |
public java.util.Collection<java.lang.String> getStages()
IStageDatagetStages in interface IStageDatapublic boolean hasStage(java.lang.String stage)
IStageDatahasStage in interface IStageDatastage - The stage to check.public void addStage(java.lang.String stage)
IStageDataaddStage in interface IStageDatastage - The stage to unlock.public void removeStage(java.lang.String stage)
IStageDataremoveStage in interface IStageDatastage - The stage to remove.public void clear()
IStageDataclear in interface IStageDatapublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in interface IStageDatapublic net.minecraft.nbt.CompoundNBT writeToNBT()
writeToNBT in interface IStageData