Package net.minecraft.world.storage
Class WorldSavedData
- java.lang.Object
-
- net.minecraft.world.storage.WorldSavedData
-
- All Implemented Interfaces:
INBTSerializable<CompoundNBT>
- Direct Known Subclasses:
CommandStorage.Container
,DummyWorldSaveData
,ForcedChunksSaveData
,MapData
,MapIdTracker
,RaidManager
,ScoreboardSaveData
,StructureIndexesSavedData
,WorldCapabilityData
public abstract class WorldSavedData extends java.lang.Object implements INBTSerializable<CompoundNBT>
-
-
Constructor Summary
Constructors Constructor Description WorldSavedData(java.lang.String p_i2141_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
deserializeNBT(CompoundNBT nbt)
java.lang.String
getId()
boolean
isDirty()
abstract void
load(CompoundNBT p_76184_1_)
void
save(java.io.File p_215158_1_)
abstract CompoundNBT
save(CompoundNBT p_189551_1_)
CompoundNBT
serializeNBT()
void
setDirty()
void
setDirty(boolean p_76186_1_)
-
-
-
Method Detail
-
load
public abstract void load(CompoundNBT p_76184_1_)
-
save
public abstract CompoundNBT save(CompoundNBT p_189551_1_)
-
setDirty
public void setDirty()
-
setDirty
public void setDirty(boolean p_76186_1_)
-
isDirty
public boolean isDirty()
-
getId
public java.lang.String getId()
-
save
public void save(java.io.File p_215158_1_)
-
deserializeNBT
public void deserializeNBT(CompoundNBT nbt)
- Specified by:
deserializeNBT
in interfaceINBTSerializable<CompoundNBT>
-
serializeNBT
public CompoundNBT serializeNBT()
- Specified by:
serializeNBT
in interfaceINBTSerializable<CompoundNBT>
-
-