public class MapGenStructureData extends WorldSavedData
mapName
Constructor and Description |
---|
MapGenStructureData(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatChunkCoords(int chunkX,
int chunkZ) |
NBTTagCompound |
getTagCompound() |
void |
readFromNBT(NBTTagCompound nbt)
reads in data from the NBTTagCompound into this MapDataBase
|
void |
writeInstance(NBTTagCompound tagCompoundIn,
int chunkX,
int chunkZ)
Writes the NBT tag of an instance of this structure type to the internal NBT tag, using the chunkcoordinates as
the key
|
void |
writeToNBT(NBTTagCompound nbt)
write data to NBTTagCompound from this MapDataBase, similar to Entities and TileEntities
|
isDirty, markDirty, setDirty
public void readFromNBT(NBTTagCompound nbt)
readFromNBT
in class WorldSavedData
public void writeToNBT(NBTTagCompound nbt)
writeToNBT
in class WorldSavedData
public void writeInstance(NBTTagCompound tagCompoundIn, int chunkX, int chunkZ)
public static java.lang.String formatChunkCoords(int chunkX, int chunkZ)
public NBTTagCompound getTagCompound()