public class WorldCapabilityData extends WorldSavedData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
mapName
Constructor and Description |
---|
WorldCapabilityData(INBTSerializable<NBTTagCompound> serializable) |
WorldCapabilityData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
isDirty() |
void |
readFromNBT(NBTTagCompound nbt) |
void |
setCapabilities(WorldProvider provider,
INBTSerializable<NBTTagCompound> capabilities) |
NBTTagCompound |
writeToNBT(NBTTagCompound nbt) |
deserializeNBT, markDirty, serializeNBT, setDirty
public static final java.lang.String ID
public WorldCapabilityData(java.lang.String name)
public WorldCapabilityData(INBTSerializable<NBTTagCompound> serializable)
public void readFromNBT(NBTTagCompound nbt)
readFromNBT
in class WorldSavedData
public NBTTagCompound writeToNBT(NBTTagCompound nbt)
writeToNBT
in class WorldSavedData
public boolean isDirty()
isDirty
in class WorldSavedData
public void setCapabilities(WorldProvider provider, INBTSerializable<NBTTagCompound> capabilities)