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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getId()
boolean
isDirty()
abstract void
load
(CompoundNBT p_76184_1_) void
abstract CompoundNBT
save
(CompoundNBT p_189551_1_) void
setDirty()
void
setDirty
(boolean p_76186_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
id
-
dirty
private boolean dirty
-
-
Constructor Details
-
WorldSavedData
-
-
Method Details
-
load
-
save
-
setDirty
public void setDirty() -
setDirty
public void setDirty(boolean p_76186_1_) -
isDirty
public boolean isDirty() -
getId
-
save
-
deserializeNBT
- Specified by:
deserializeNBT
in interfaceINBTSerializable<CompoundNBT>
-
serializeNBT
- Specified by:
serializeNBT
in interfaceINBTSerializable<CompoundNBT>
-