Package net.minecraft.world
Class WorldSavedData
- java.lang.Object
-
- net.minecraft.world.WorldSavedData
-
- Direct Known Subclasses:
MapData
,ScoreboardSaveData
public abstract class WorldSavedData extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
mapName
-
Constructor Summary
Constructors Constructor Description WorldSavedData(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isDirty()
+ Whether this MapDataBase needs saving to disk.void
markDirty()
+ Marks this MapDataBase dirty, to be saved to disk when the level next saves.abstract void
readFromNBT(NBTTagCompound var1)
void
setDirty(boolean isDirty)
+ Sets the dirty state of this MapDataBase, whether it needs saving to disk.abstract void
writeToNBT(NBTTagCompound var1)
-
-
-
Method Detail
-
readFromNBT
public abstract void readFromNBT(NBTTagCompound var1)
-
writeToNBT
public abstract void writeToNBT(NBTTagCompound var1)
-
markDirty
public void markDirty()
+ Marks this MapDataBase dirty, to be saved to disk when the level next saves.
-
setDirty
public void setDirty(boolean isDirty)
+ Sets the dirty state of this MapDataBase, whether it needs saving to disk.
-
isDirty
public boolean isDirty()
+ Whether this MapDataBase needs saving to disk.
-
-