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
FieldsModifier and TypeFieldDescriptionstatic final BitSetTypestatic 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 BooleanTypestatic final Type<boolean[]>static final ByteTypestatic final Type<byte[]>static final Type<ChunkPosition>static final Type<ChunkSection>static final Type<ChunkSection>static final Type<ChunkSection>static final Type<ChunkSection>static final Type<com.google.gson.JsonElement>static final Type<com.viaversion.nbt.tag.CompoundTag>static final Type<com.viaversion.nbt.tag.Tag>static final DoubleTypestatic final Type<List<EntityData>>static final Type<List<EntityData>>static final Type<List<EntityData>>static final Type<EntityData>static final Type<EntityData>static final Type<EntityData>static final FloatTypestatic final Type<float[]>static final Type<GameProfile>static final Type<GlobalBlockPosition>static final Type<HashedItem>static final IntTypestatic final Type<int[]>static final LongTypestatic final Type<long[]>static final Type<com.viaversion.nbt.tag.CompoundTag>static final Type<com.viaversion.nbt.tag.CompoundTag[]>static final BooleanType.OptionalBooleanTypestatic final Type<byte[]>static final Type<com.google.gson.JsonElement>static final Type<com.viaversion.nbt.tag.CompoundTag>static final FloatType.OptionalFloatTypestatic 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.OptionalByteArrayTypestatic final HolderType<SoundEvent>static final Type<com.viaversion.nbt.tag.Tag>static final OptionalVarIntTypestatic final Type<PlayerMessageSignature>static final Type<PlayerMessageSignature[]>static final BitSetTypestatic final BitSetTypestatic final BitSetTypestatic final Type<ProfileKey>static final Type<GameProfile.Property>static final Type<GameProfile.Property[]>static final Type<Quaternion>static final Type<RegistryEntry>static final Type<RegistryEntry[]>static final Type<byte[]>static final Type<ResolvableProfile>static final Type<EulerAngle>static final Type<byte[]>static final ShortTypestatic final Type<byte[]>static final ByteArrayTypestatic final HolderType<SoundEvent>static final Type<com.viaversion.nbt.tag.Tag>static final Type<com.viaversion.nbt.tag.Tag[]>static final Type<com.viaversion.nbt.tag.Tag>static final UnsignedByteTypestatic final UnsignedIntTypestatic final UnsignedShortTypestatic final VarIntTypestatic final Type<int[]>static final VarLongTypestatic final Type<BlockChangeRecord>static final Type<BlockChangeRecord[]>static final Type<VillagerData> -
Constructor Summary
Constructors -
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
-
UNSIGNED_INT
-
FLOAT
-
OPTIONAL_FLOAT
-
FLOAT_ARRAY_PRIMITIVE
-
DOUBLE
-
LONG
-
OPTIONAL_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
-
RESOURCE_LOCATION
-
OPTIONAL_RESOURCE_LOCATION
-
RESOURCE_LOCATION_ARRAY
-
TAG_KEY
-
BLOCK_POSITION1_8
-
OPTIONAL_POSITION1_8
-
BLOCK_POSITION1_14
-
OPTIONAL_POSITION_1_14
-
ROTATIONS
-
VECTOR
-
VECTOR3F
-
QUATERNION
-
MOVEMENT_VECTOR
-
NAMED_COMPOUND_TAG
-
OPTIONAL_NAMED_COMPOUND_TAG
-
NAMED_COMPOUND_TAG_ARRAY
-
COMPOUND_TAG
-
OPTIONAL_COMPOUND_TAG
-
TAG
-
TAG_ARRAY
-
OPTIONAL_TAG
-
TEXT_COMPONENT_TAG
-
CUSTOM_CLICK_ACTION_TAG
-
GLOBAL_POSITION
-
OPTIONAL_GLOBAL_POSITION
-
CHUNK_POSITION
-
CHUNK_SECTION1_8
-
CHUNK_SECTION1_9
-
CHUNK_SECTION1_13
-
CHUNK_SECTION1_16
-
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
-
RESOLVABLE_PROFILE
-
PROFILE_PROPERTY
-
PROFILE_PROPERTY_ARRAY
-
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
-
OPTIONAL_SOUND_EVENT
-
HEIGHTMAP
-
HEIGHTMAP_ARRAY
-
ENTITY_DATA1_8
-
ENTITY_DATA1_9
-
ENTITY_DATA1_12
-
ENTITY_DATA_LIST1_8
-
ENTITY_DATA_LIST1_9
-
ENTITY_DATA_LIST1_12
-
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
-
HASHED_ITEM
-
-
Constructor Details
-
Types
public Types()
-