public abstract class Type<T> extends Object implements ByteBufReader<T>, ByteBufWriter<T>
Modifier and Type | Field and Description |
---|---|
static Type<BlockChangeRecord> |
BLOCK_CHANGE_RECORD |
static Type<BlockChangeRecord[]> |
BLOCK_CHANGE_RECORD_ARRAY |
static Type<Boolean> |
BOOLEAN |
static Type<Boolean[]> |
BOOLEAN_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Byte> |
BYTE |
static Type<Byte[]> |
BYTE_ARRAY
Deprecated.
unreasonable overhead, use BYTE_ARRAY_PRIMITIVE
|
static Type<byte[]> |
BYTE_ARRAY_PRIMITIVE |
static Type<com.google.gson.JsonElement> |
COMPONENT |
static Type<Double> |
DOUBLE |
static Type<Double[]> |
DOUBLE_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Item> |
FLAT_ITEM |
static Type<Item[]> |
FLAT_ITEM_ARRAY |
static Type<Item[]> |
FLAT_ITEM_ARRAY_VAR_INT |
static Type<Item> |
FLAT_VAR_INT_ITEM |
static Type<Item[]> |
FLAT_VAR_INT_ITEM_ARRAY |
static Type<Item[]> |
FLAT_VAR_INT_ITEM_ARRAY_VAR_INT |
static FloatType |
FLOAT |
static Type<Float[]> |
FLOAT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Integer> |
INT |
static Type<Integer[]> |
INT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Item> |
ITEM |
static Type<Item[]> |
ITEM_ARRAY |
static Type<Long> |
LONG |
static Type<Long[]> |
LONG_ARRAY
Deprecated.
unreasonable overhead
|
static Type<com.github.steveice10.opennbt.tag.builtin.CompoundTag> |
NBT |
static Type<com.github.steveice10.opennbt.tag.builtin.CompoundTag[]> |
NBT_ARRAY |
static Type<Void> |
NOTHING |
static Type<com.google.gson.JsonElement> |
OPTIONAL_COMPONENT |
static Type<Position> |
OPTIONAL_POSITION |
static Type<Position> |
OPTIONAL_POSITION_1_14 |
static Type<UUID> |
OPTIONAL_UUID |
static Type<Integer> |
OPTIONAL_VAR_INT |
static Type<Position> |
POSITION |
static Type<Position> |
POSITION1_14 |
static Type<byte[]> |
REMAINING_BYTES |
static Type<EulerAngle> |
ROTATION |
static ShortType |
SHORT |
static Type<Short[]> |
SHORT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<String> |
STRING |
static Type<String[]> |
STRING_ARRAY |
static Type<Short> |
UNSIGNED_BYTE |
static Type<Short[]> |
UNSIGNED_BYTE_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Integer> |
UNSIGNED_SHORT |
static Type<Integer[]> |
UNSIGNED_SHORT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<UUID> |
UUID |
static Type<UUID[]> |
UUID_ARRAY |
static Type<UUID> |
UUID_INT_ARRAY |
static VarIntType |
VAR_INT |
static Type<Integer[]> |
VAR_INT_ARRAY
Deprecated.
unreasonable overhead, use VAR_INT_ARRAY_PRIMITIVE
|
static Type<int[]> |
VAR_INT_ARRAY_PRIMITIVE |
static VarLongType |
VAR_LONG |
static Type<Long[]> |
VAR_LONG_ARRAY
Deprecated.
unreasonable overhead
|
static Type<BlockChangeRecord> |
VAR_LONG_BLOCK_CHANGE_RECORD |
static Type<BlockChangeRecord[]> |
VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY |
static Type<Vector> |
VECTOR |
static Type<VillagerData> |
VILLAGER_DATA |
Constructor and Description |
---|
Type(Class<? super T> outputClass) |
Type(String typeName,
Class<? super T> outputClass) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
getBaseClass() |
Class<? super T> |
getOutputClass() |
String |
getTypeName() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
read
write
@Deprecated public static final Type<Byte[]> BYTE_ARRAY
public static final Type<byte[]> BYTE_ARRAY_PRIMITIVE
public static final Type<byte[]> REMAINING_BYTES
@Deprecated public static final Type<Short[]> UNSIGNED_BYTE_ARRAY
@Deprecated public static final Type<Boolean[]> BOOLEAN_ARRAY
@Deprecated public static final Type<Integer[]> INT_ARRAY
@Deprecated public static final Type<Double[]> DOUBLE_ARRAY
@Deprecated public static final Type<Long[]> LONG_ARRAY
public static final FloatType FLOAT
@Deprecated public static final Type<Float[]> FLOAT_ARRAY
public static final ShortType SHORT
@Deprecated public static final Type<Short[]> SHORT_ARRAY
@Deprecated public static final Type<Integer[]> UNSIGNED_SHORT_ARRAY
public static final Type<com.google.gson.JsonElement> COMPONENT
public static final VarIntType VAR_INT
@Deprecated public static final Type<Integer[]> VAR_INT_ARRAY
public static final Type<int[]> VAR_INT_ARRAY_PRIMITIVE
public static final VarLongType VAR_LONG
@Deprecated public static final Type<Long[]> VAR_LONG_ARRAY
public static final Type<EulerAngle> ROTATION
public static final Type<com.github.steveice10.opennbt.tag.builtin.CompoundTag> NBT
public static final Type<com.github.steveice10.opennbt.tag.builtin.CompoundTag[]> NBT_ARRAY
public static final Type<com.google.gson.JsonElement> OPTIONAL_COMPONENT
public static final Type<BlockChangeRecord> BLOCK_CHANGE_RECORD
public static final Type<BlockChangeRecord[]> BLOCK_CHANGE_RECORD_ARRAY
public static final Type<BlockChangeRecord> VAR_LONG_BLOCK_CHANGE_RECORD
public static final Type<BlockChangeRecord[]> VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY
public static final Type<VillagerData> VILLAGER_DATA
Copyright © 2016–2021. All rights reserved.