Class Types
java.lang.Object
com.viaversion.viaversion.api.type.Types
Holds the mostly stable
Type
instances.
Others may be held separately or object classes themselves, e.g. Types1_20_5
or Enchantments
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BitSetType
static final Type<BlockChangeRecord>
static final Type<BlockChangeRecord[]>
static final Type<BlockEntity>
static final Type<BlockEntity>
static final Type<BlockPosition>
static final Type<BlockPosition>
static final BooleanType
static final Type<boolean[]>
static final ByteType
static final Type<byte[]>
static final Type<ChunkPosition>
static final Type<com.google.gson.JsonElement>
static final Type<com.viaversion.nbt.tag.CompoundTag>
static final DoubleType
static final FloatType
static final Type<float[]>
static final Type<GameProfile>
static final Type<GlobalBlockPosition>
static final IntType
static final Type<int[]>
static final LongType
static final Type<long[]>
static final Type<com.viaversion.nbt.tag.CompoundTag>
static final Type<com.viaversion.nbt.tag.CompoundTag[]>
static final BooleanType.OptionalBooleanType
static final Type<byte[]>
static final Type<com.google.gson.JsonElement>
static final Type<com.viaversion.nbt.tag.CompoundTag>
static final FloatType.OptionalFloatType
static final Type<GlobalBlockPosition>
static final Type<com.viaversion.nbt.tag.CompoundTag>
static final Type<PlayerMessageSignature>
static final Type<BlockPosition>
static final Type<BlockPosition>
static final Type<ProfileKey>
static final ByteArrayType.OptionalByteArrayType
static final Type<com.viaversion.nbt.tag.Tag>
static final OptionalVarIntType
static final Type<PlayerMessageSignature>
static final Type<PlayerMessageSignature[]>
static final BitSetType
static final BitSetType
static final BitSetType
static final Type<ProfileKey>
static final Type<Quaternion>
static final Type<RegistryEntry>
static final Type<RegistryEntry[]>
static final Type<byte[]>
static final Type<EulerAngle>
static final Type<byte[]>
static final ShortType
static final Type<byte[]>
static final ByteArrayType
static final HolderType<SoundEvent>
static final Type<com.viaversion.nbt.tag.Tag>
static final Type<com.viaversion.nbt.tag.Tag[]>
static final UnsignedByteType
static final UnsignedShortType
static final VarIntType
static final Type<int[]>
static final VarLongType
static final Type<BlockChangeRecord>
static final Type<BlockChangeRecord[]>
static final Type<VillagerData>
-
Constructor Summary
-
Method Summary
-
Field Details
-
EMPTY
-
BYTE
-
UNSIGNED_BYTE
-
BYTE_ARRAY_PRIMITIVE
-
OPTIONAL_BYTE_ARRAY_PRIMITIVE
-
SHORT_BYTE_ARRAY
-
REMAINING_BYTES
-
SHORT
-
UNSIGNED_SHORT
-
INT
-
INT_ARRAY_PRIMITIVE
-
FLOAT
-
OPTIONAL_FLOAT
-
FLOAT_ARRAY_PRIMITIVE
-
DOUBLE
-
LONG
-
LONG_ARRAY_PRIMITIVE
-
BOOLEAN
-
OPTIONAL_BOOLEAN
-
BOOLEAN_ARRAY_PRIMITIVE
-
COMPONENT
-
OPTIONAL_COMPONENT
-
STRING
-
OPTIONAL_STRING
-
STRING_ARRAY
-
UUID
-
OPTIONAL_UUID
-
UUID_ARRAY
-
VAR_INT
-
OPTIONAL_VAR_INT
-
VAR_INT_ARRAY_PRIMITIVE
-
VAR_LONG
-
SERVERBOUND_CUSTOM_PAYLOAD_DATA
-
BLOCK_POSITION1_8
-
OPTIONAL_POSITION1_8
-
BLOCK_POSITION1_14
-
OPTIONAL_POSITION_1_14
-
ROTATIONS
-
VECTOR
-
VECTOR3F
-
QUATERNION
-
NAMED_COMPOUND_TAG
-
OPTIONAL_NAMED_COMPOUND_TAG
-
NAMED_COMPOUND_TAG_ARRAY
-
COMPOUND_TAG
-
OPTIONAL_COMPOUND_TAG
-
TAG
-
TAG_ARRAY
-
OPTIONAL_TAG
-
GLOBAL_POSITION
-
OPTIONAL_GLOBAL_POSITION
-
CHUNK_POSITION
-
BLOCK_ENTITY1_18
-
BLOCK_ENTITY1_20_2
-
BLOCK_CHANGE
-
BLOCK_CHANGE_ARRAY
-
VAR_LONG_BLOCK_CHANGE
-
VAR_LONG_BLOCK_CHANGE_ARRAY
-
VILLAGER_DATA
-
GAME_PROFILE
-
PROFILE_KEY
-
OPTIONAL_PROFILE_KEY
-
PLAYER_MESSAGE_SIGNATURE
-
OPTIONAL_PLAYER_MESSAGE_SIGNATURE
-
PLAYER_MESSAGE_SIGNATURE_ARRAY
-
PROFILE_ACTIONS_ENUM1_19_3
-
PROFILE_ACTIONS_ENUM1_21_2
-
PROFILE_ACTIONS_ENUM1_21_4
-
SIGNATURE_BYTES
-
ACKNOWLEDGED_BIT_SET
-
OPTIONAL_SIGNATURE_BYTES
-
REGISTRY_ENTRY
-
REGISTRY_ENTRY_ARRAY
-
HOLDER_SET
-
OPTIONAL_HOLDER_SET
-
SOUND_EVENT
-
ITEM1_8
-
ITEM1_13
-
ITEM1_13_2
-
ITEM1_20_2
-
ITEM1_8_SHORT_ARRAY
-
ITEM1_13_SHORT_ARRAY
-
ITEM1_13_2_SHORT_ARRAY
-
ITEM1_13_ARRAY
-
ITEM1_13_2_ARRAY
-
ITEM1_20_2_ARRAY
-
-
Constructor Details
-
Types
public Types()
-