Package net.minecraft.src
Class WorldSavedData
java.lang.Object
net.minecraft.src.WorldSavedData
- Direct Known Subclasses:
MapData,MapGenStructureData,ScoreboardSaveData,VillageCollection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDirty()Whether this MapDataBase needs saving to disk.voidMarks this MapDataBase dirty, to be saved to disk when the level next saves.abstract voidreadFromNBT(NBTTagCompound var1) reads in data from the NBTTagCompound into this MapDataBasevoidsetDirty(boolean par1) Sets the dirty state of this MapDataBase, whether it needs saving to disk.abstract voidwriteToNBT(NBTTagCompound var1) write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities
-
Field Details
-
mapName
The name of the map data nbt
-
-
Constructor Details
-
WorldSavedData
-
-
Method Details
-
readFromNBT
reads in data from the NBTTagCompound into this MapDataBase -
writeToNBT
write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities -
markDirty
public void markDirty()Marks this MapDataBase dirty, to be saved to disk when the level next saves. -
setDirty
public void setDirty(boolean par1) Sets the dirty state of this MapDataBase, whether it needs saving to disk. -
isDirty
public boolean isDirty()Whether this MapDataBase needs saving to disk.
-