Class EmptyStageData

java.lang.Object
dev.scsupercraft.teamstages.data.EmptyStageData
All Implemented Interfaces:
net.darkhax.gamestages.data.IStageData

public class EmptyStageData extends Object implements net.darkhax.gamestages.data.IStageData
An implementation of IStageData that doesn't hold any stages.
  • Constructor Details

    • EmptyStageData

      public EmptyStageData()
  • Method Details

    • getStages

      public Collection<String> getStages()
      Specified by:
      getStages in interface net.darkhax.gamestages.data.IStageData
    • hasStage

      public boolean hasStage(@NotNull @NotNull String s)
      Specified by:
      hasStage in interface net.darkhax.gamestages.data.IStageData
    • addStage

      public void addStage(@NotNull @NotNull String s)
      Specified by:
      addStage in interface net.darkhax.gamestages.data.IStageData
    • removeStage

      public void removeStage(@NotNull @NotNull String s)
      Specified by:
      removeStage in interface net.darkhax.gamestages.data.IStageData
    • clear

      public void clear()
      Specified by:
      clear in interface net.darkhax.gamestages.data.IStageData
    • readFromNBT

      public void readFromNBT(net.minecraft.nbt.CompoundTag compoundTag)
      Specified by:
      readFromNBT in interface net.darkhax.gamestages.data.IStageData
    • writeToNBT

      public net.minecraft.nbt.CompoundTag writeToNBT()
      Specified by:
      writeToNBT in interface net.darkhax.gamestages.data.IStageData