public class NBTBlobConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NBT_LEGACY_VOXEL |
static java.lang.String |
NBT_LIGHTVALUE |
static java.lang.String |
NBT_NORMALCUBE_FLAG |
static java.lang.String |
NBT_PRIMARY_STATE |
static java.lang.String |
NBT_SIDE_FLAGS |
static java.lang.String |
NBT_VERSIONED_VOXEL |
Constructor and Description |
---|
NBTBlobConverter() |
NBTBlobConverter(boolean triggerBlockUpdates,
TileEntityBlockChiseled tile) |
Modifier and Type | Method and Description |
---|---|
void |
fillWith(net.minecraft.block.state.IBlockState state) |
VoxelBlob |
getBlob() |
net.minecraft.item.ItemStack |
getItemStack(boolean crossWorld) |
int |
getLightValue() |
net.minecraft.block.state.IBlockState |
getPrimaryBlockState() |
int |
getPrimaryBlockStateID() |
int |
getSideState() |
VoxelBlobStateReference |
getVoxelRef(int version,
long weight) |
boolean |
isNormalCube() |
boolean |
readChisleData(net.minecraft.nbt.NBTTagCompound compound,
int preferedFormat) |
void |
setBlob(VoxelBlob vb) |
void |
updateFromBlob() |
void |
writeChisleData(net.minecraft.nbt.NBTTagCompound compound,
boolean crossWorld) |
public static final java.lang.String NBT_SIDE_FLAGS
public static final java.lang.String NBT_NORMALCUBE_FLAG
public static final java.lang.String NBT_LIGHTVALUE
public static final java.lang.String NBT_PRIMARY_STATE
public static final java.lang.String NBT_LEGACY_VOXEL
public static final java.lang.String NBT_VERSIONED_VOXEL
public NBTBlobConverter()
public NBTBlobConverter(boolean triggerBlockUpdates, TileEntityBlockChiseled tile)
public int getSideState()
public int getLightValue()
public boolean isNormalCube()
public int getPrimaryBlockStateID()
public net.minecraft.block.state.IBlockState getPrimaryBlockState()
public VoxelBlobStateReference getVoxelRef(int version, long weight) throws java.lang.Exception
java.lang.Exception
public void fillWith(net.minecraft.block.state.IBlockState state)
public void setBlob(VoxelBlob vb)
public final void writeChisleData(net.minecraft.nbt.NBTTagCompound compound, boolean crossWorld)
public final boolean readChisleData(net.minecraft.nbt.NBTTagCompound compound, int preferedFormat)
public void updateFromBlob()
public net.minecraft.item.ItemStack getItemStack(boolean crossWorld)
public VoxelBlob getBlob()