Package dev.scsupercraft.teamstages.data
Class EmptyStageData
java.lang.Object
dev.scsupercraft.teamstages.data.EmptyStageData
- All Implemented Interfaces:
net.darkhax.gamestages.data.IStageData
An implementation of
IStageData that doesn't hold any stages.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()booleanvoidreadFromNBT(net.minecraft.nbt.CompoundTag compoundTag) voidremoveStage(@NotNull String s) net.minecraft.nbt.CompoundTag
-
Constructor Details
-
EmptyStageData
public EmptyStageData()
-
-
Method Details
-
getStages
- Specified by:
getStagesin interfacenet.darkhax.gamestages.data.IStageData
-
hasStage
- Specified by:
hasStagein interfacenet.darkhax.gamestages.data.IStageData
-
addStage
- Specified by:
addStagein interfacenet.darkhax.gamestages.data.IStageData
-
removeStage
- Specified by:
removeStagein interfacenet.darkhax.gamestages.data.IStageData
-
clear
public void clear()- Specified by:
clearin interfacenet.darkhax.gamestages.data.IStageData
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag compoundTag) - Specified by:
readFromNBTin interfacenet.darkhax.gamestages.data.IStageData
-
writeToNBT
public net.minecraft.nbt.CompoundTag writeToNBT()- Specified by:
writeToNBTin interfacenet.darkhax.gamestages.data.IStageData
-