public class CubicFeatureData
extends net.minecraft.world.storage.WorldSavedData
| Constructor and Description |
|---|
CubicFeatureData(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
formatChunkCoords(int chunkX,
int chunkY,
int chunkZ) |
net.minecraft.nbt.NBTTagCompound |
getTagCompound() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
reads in data from the NBTTagCompound into this MapDataBase
|
void |
writeInstance(net.minecraft.nbt.NBTTagCompound tag,
int cubeX,
int cubeY,
int cubeZ)
Writes the NBT tag of an instance of this structure type to the internal NBT tag, using the chunkcoordinates as
the key
|
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound compound) |
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class net.minecraft.world.storage.WorldSavedData@Nonnull public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeToNBT in class net.minecraft.world.storage.WorldSavedDatapublic void writeInstance(net.minecraft.nbt.NBTTagCompound tag,
int cubeX,
int cubeY,
int cubeZ)
tag - tag compound instance to writecubeX - cube X coordinate to use as keycubeY - cube Y coordinate to use as keycubeZ - cube Z coordinate to use as keypublic static java.lang.String formatChunkCoords(int chunkX,
int chunkY,
int chunkZ)
public net.minecraft.nbt.NBTTagCompound getTagCompound()