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