public abstract class WorldSavedData extends Object
Modifier and Type | Field and Description |
---|---|
String |
mapName
The name of the map data nbt
|
Constructor and Description |
---|
WorldSavedData(String par1Str) |
Modifier and Type | Method and 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 nbttagcompound)
reads in data from the NBTTagCompound into this MapDataBase
|
void |
setDirty(boolean par1)
Sets the dirty state of this MapDataBase, whether it needs saving to disk.
|
abstract void |
writeToNBT(NBTTagCompound nbttagcompound)
write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities
|
public final String mapName
public WorldSavedData(String par1Str)
public abstract void readFromNBT(NBTTagCompound nbttagcompound)
public abstract void writeToNBT(NBTTagCompound nbttagcompound)
public void markDirty()
public void setDirty(boolean par1)
public boolean isDirty()