public abstract class WorldSavedData extends java.lang.Object implements INBTSerializable<NBTTagCompound>
Modifier and Type | Field and Description |
---|---|
private boolean |
dirty |
java.lang.String |
mapName |
Constructor and Description |
---|
WorldSavedData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
deserializeNBT(NBTTagCompound nbt) |
boolean |
isDirty() |
void |
markDirty() |
abstract void |
readFromNBT(NBTTagCompound nbt) |
NBTTagCompound |
serializeNBT() |
void |
setDirty(boolean isDirty) |
abstract NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
public abstract void readFromNBT(NBTTagCompound nbt)
public abstract NBTTagCompound writeToNBT(NBTTagCompound compound)
public void markDirty()
public void setDirty(boolean isDirty)
public boolean isDirty()
public void deserializeNBT(NBTTagCompound nbt)
deserializeNBT
in interface INBTSerializable<NBTTagCompound>
public NBTTagCompound serializeNBT()
serializeNBT
in interface INBTSerializable<NBTTagCompound>