Class SavedData

java.lang.Object
net.minecraft.world.level.saveddata.SavedData
Direct Known Subclasses:
CommandStorage.Container, DummySavedData, ForcedChunksSavedData, MapIndex, MapItemSavedData, Raids, ScoreboardSaveData, StructureFeatureIndexSavedData, WorldCapabilityData

public abstract class SavedData extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • dirty

      private boolean dirty
  • Constructor Details

    • SavedData

      public SavedData()
  • Method Details

    • save

      public abstract CompoundTag save(CompoundTag p_77763_)
    • setDirty

      public void setDirty()
    • setDirty

      public void setDirty(boolean p_77761_)
    • isDirty

      public boolean isDirty()
    • save

      public void save(File p_77758_)