public class TypeSerializers_v1_21 extends TypeSerializers_v1_20_5
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
SINGLE_ITEM_STACK |
ARMOR_TRIM_MATERIAL, ARMOR_TRIM_PATTERN, ATTRIBUTE_MODIFIER, BLOCK_POS, BLOCK_PREDICATE, CUSTOM_DATA, DYE_COLOR, ENCHANTMENT_LEVELS, ITEM_STACK, PLAYER_NAME, RAW_TEXT_COMPONENT, SOUND_EVENT, STATUS_EFFECT, STRING_OR_RAW_COMPOUND_TAG, TEXT_COMPONENTregistry, textComponentCodec| Constructor and Description |
|---|
TypeSerializers_v1_21(ItemComponentRegistry registry,
com.viaversion.viaversion.libs.mcstructs.text.serializer.TextComponentCodec textComponentCodec) |
| Modifier and Type | Method and Description |
|---|---|
com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<Types_v1_21.AttributeModifier> |
attributeModifier_v1_21() |
com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<Types_v1_20_5.AttributeModifier> |
attributeModifier()
Deprecated.
|
com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<com.viaversion.nbt.tag.CompoundTag> |
customData() |
com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<Types_v1_20_5.ItemStack> |
singleItemStack() |
armorTrimMaterial, armorTrimPattern, blockPos, blockPredicate, dyeColor, enchantmentLevels, itemStack, playerName, rawFilteredPair, rawTextComponent, registryEntry, soundEvent, statusEffect, stringOrRawCompoundTag, textComponentgetTextComponentCodec, initprotected static final java.lang.String SINGLE_ITEM_STACK
public TypeSerializers_v1_21(ItemComponentRegistry registry, com.viaversion.viaversion.libs.mcstructs.text.serializer.TextComponentCodec textComponentCodec)
public com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<com.viaversion.nbt.tag.CompoundTag> customData()
customData in class TypeSerializers_v1_20_5public com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<Types_v1_20_5.ItemStack> singleItemStack()
@Deprecated public com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<Types_v1_20_5.AttributeModifier> attributeModifier()
attributeModifier in class TypeSerializers_v1_20_5public com.viaversion.viaversion.libs.mcstructs.converter.codec.Codec<Types_v1_21.AttributeModifier> attributeModifier_v1_21()