public abstract class WorldSavedData extends java.lang.Object implements INBTSerializable<CompoundNBT>
コンストラクタと説明 |
---|
WorldSavedData(java.lang.String name) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
deserializeNBT(CompoundNBT nbt) |
java.lang.String |
getName() |
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 |
read(CompoundNBT nbt)
reads in data from the NBTTagCompound into this MapDataBase
|
void |
save(java.io.File fileIn) |
CompoundNBT |
serializeNBT() |
void |
setDirty(boolean isDirty)
Sets the dirty state of this MapDataBase, whether it needs saving to disk.
|
abstract CompoundNBT |
write(CompoundNBT compound) |
public abstract void read(CompoundNBT nbt)
public abstract CompoundNBT write(CompoundNBT compound)
public void markDirty()
public void setDirty(boolean isDirty)
public boolean isDirty()
public java.lang.String getName()
public void save(java.io.File fileIn)
public void deserializeNBT(CompoundNBT nbt)
deserializeNBT
インタフェース内 INBTSerializable<CompoundNBT>
public CompoundNBT serializeNBT()
serializeNBT
インタフェース内 INBTSerializable<CompoundNBT>