public class NbtSquishConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BUILDCRAFT_MAGIC
The magic identifier for this type of file.
|
static int |
BUILDCRAFT_MAGIC_1 |
static int |
BUILDCRAFT_MAGIC_2 |
static int |
BUILDCRAFT_V1
BuildCraft provided NBT compressor - puts every tag type into a dictionary and then refers to the dictionary for
every tag which is written out.
|
static int |
BUILDCRAFT_V1_COMPRESSED |
static int |
COMPLEX_COMPOUND |
static int |
COMPLEX_LIST |
static int |
COMPLEX_LIST_PACKED |
static int |
FLAG_HAS_BYTE_ARRAYS |
static int |
FLAG_HAS_BYTES |
static int |
FLAG_HAS_COMPLEX |
static int |
FLAG_HAS_DOUBLES |
static int |
FLAG_HAS_FLOATS |
static int |
FLAG_HAS_INT_ARRAYS |
static int |
FLAG_HAS_INTS |
static int |
FLAG_HAS_LONGS |
static int |
FLAG_HAS_SHORTS |
static int |
FLAG_HAS_STRINGS |
static int |
GZIP_MAGIC |
static int |
GZIP_MAGIC_1 |
static int |
GZIP_MAGIC_2 |
static int |
VANILLA
Default written NBT Tag type- this is provided by
CompressedStreamTools.write(NBTTagCompound, java.io.DataOutput) and
CompressedStreamTools.read(java.io.DataInput, net.minecraft.nbt.NBTSizeTracker) . |
static int |
VANILLA_COMPRESSED |
Constructor and Description |
---|
NbtSquishConstants() |
public static final int VANILLA
CompressedStreamTools.write(NBTTagCompound, java.io.DataOutput)
and
CompressedStreamTools.read(java.io.DataInput, net.minecraft.nbt.NBTSizeTracker)
.
Generally more suited to smaller NBT tags, and it writes fairly quickly. Can quickly use up a lot of space for
larger/more complex tags so it is recommended that you also pass it through a GZIP compressor to take up a much
smaller space.public static final int VANILLA_COMPRESSED
public static final int BUILDCRAFT_V1
VANILLA
, but at the cost of
time.public static final int BUILDCRAFT_V1_COMPRESSED
public static final int BUILDCRAFT_MAGIC_1
public static final int BUILDCRAFT_MAGIC_2
public static final int BUILDCRAFT_MAGIC
public static final int GZIP_MAGIC_1
public static final int GZIP_MAGIC_2
public static final int GZIP_MAGIC
public static final int FLAG_HAS_BYTES
public static final int FLAG_HAS_SHORTS
public static final int FLAG_HAS_INTS
public static final int FLAG_HAS_LONGS
public static final int FLAG_HAS_FLOATS
public static final int FLAG_HAS_DOUBLES
public static final int FLAG_HAS_BYTE_ARRAYS
public static final int FLAG_HAS_INT_ARRAYS
public static final int FLAG_HAS_STRINGS
public static final int FLAG_HAS_COMPLEX
public static final int COMPLEX_COMPOUND
public static final int COMPLEX_LIST
public static final int COMPLEX_LIST_PACKED