public class TypeSerializers_v1_20_5 extends TypeSerializers
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ARMOR_TRIM_MATERIAL |
protected static java.lang.String |
ARMOR_TRIM_PATTERN |
protected static java.lang.String |
ATTRIBUTE_MODIFIER |
protected static java.lang.String |
BLOCK_POS |
protected static java.lang.String |
BLOCK_PREDICATE |
protected static java.lang.String |
CUSTOM_DATA |
protected static java.lang.String |
DYE_COLOR |
protected static java.lang.String |
ENCHANTMENT_LEVELS |
protected static java.lang.String |
ITEM_STACK |
protected static java.lang.String |
PLAYER_NAME |
protected static java.lang.String |
RAW_TEXT_COMPONENT |
protected static java.lang.String |
SOUND_EVENT |
protected static java.lang.String |
STATUS_EFFECT |
protected static java.lang.String |
STRING_OR_RAW_COMPOUND_TAG |
registry| Constructor and Description |
|---|
TypeSerializers_v1_20_5(ItemComponentRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.ArmorTrimMaterial>> |
armorTrimMaterial() |
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.ArmorTrimPattern>> |
armorTrimPattern() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.AttributeModifier> |
attributeModifier() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.BlockPos> |
blockPos() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.BlockPredicate> |
blockPredicate() |
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.nbt.tags.CompoundTag> |
customData() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.DyeColor> |
dyeColor() |
net.lenni0451.mcstructs.converter.codec.Codec<java.util.Map<net.lenni0451.mcstructs.core.Identifier,java.lang.Integer>> |
enchantmentLevels() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.ItemStack> |
itemStack() |
net.lenni0451.mcstructs.converter.codec.Codec<java.lang.String> |
playerName() |
<T> net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.RawFilteredPair<T>> |
rawFilteredPair(net.lenni0451.mcstructs.converter.codec.Codec<T> codec) |
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.text.ATextComponent> |
rawTextComponent() |
<T> net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,T>> |
registryEntry(java.util.function.Function<net.lenni0451.mcstructs.core.Identifier,net.lenni0451.mcstructs.converter.Result<java.lang.Void>> idVerifier,
net.lenni0451.mcstructs.converter.codec.Codec<T> entryCodec) |
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent>> |
soundEvent() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.StatusEffect> |
statusEffect() |
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.nbt.tags.CompoundTag> |
stringOrRawCompoundTag() |
net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.TagEntryList> |
tagEntryList(java.util.function.Function<net.lenni0451.mcstructs.core.Identifier,net.lenni0451.mcstructs.converter.Result<java.lang.Void>> tagVerifier,
java.util.function.Function<net.lenni0451.mcstructs.core.Identifier,net.lenni0451.mcstructs.converter.Result<java.lang.Void>> entryVerifier) |
net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.text.ATextComponent> |
textComponent(int maxLength) |
initprotected static final java.lang.String CUSTOM_DATA
protected static final java.lang.String STRING_OR_RAW_COMPOUND_TAG
protected static final java.lang.String ITEM_STACK
protected static final java.lang.String BLOCK_POS
protected static final java.lang.String RAW_TEXT_COMPONENT
protected static final java.lang.String PLAYER_NAME
protected static final java.lang.String DYE_COLOR
protected static final java.lang.String ENCHANTMENT_LEVELS
protected static final java.lang.String SOUND_EVENT
protected static final java.lang.String BLOCK_PREDICATE
protected static final java.lang.String ATTRIBUTE_MODIFIER
protected static final java.lang.String ARMOR_TRIM_MATERIAL
protected static final java.lang.String ARMOR_TRIM_PATTERN
protected static final java.lang.String STATUS_EFFECT
public TypeSerializers_v1_20_5(ItemComponentRegistry registry)
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.nbt.tags.CompoundTag> customData()
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.nbt.tags.CompoundTag> stringOrRawCompoundTag()
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.ItemStack> itemStack()
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.BlockPos> blockPos()
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.text.ATextComponent> rawTextComponent()
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.text.ATextComponent> textComponent(int maxLength)
public net.lenni0451.mcstructs.converter.codec.Codec<java.lang.String> playerName()
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.DyeColor> dyeColor()
public net.lenni0451.mcstructs.converter.codec.Codec<java.util.Map<net.lenni0451.mcstructs.core.Identifier,java.lang.Integer>> enchantmentLevels()
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.SoundEvent>> soundEvent()
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.BlockPredicate> blockPredicate()
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.AttributeModifier> attributeModifier()
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.ArmorTrimMaterial>> armorTrimMaterial()
public net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,Types_v1_20_5.ArmorTrimPattern>> armorTrimPattern()
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.StatusEffect> statusEffect()
public <T> net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.RawFilteredPair<T>> rawFilteredPair(net.lenni0451.mcstructs.converter.codec.Codec<T> codec)
public <T> net.lenni0451.mcstructs.converter.codec.Codec<net.lenni0451.mcstructs.converter.codec.Either<net.lenni0451.mcstructs.core.Identifier,T>> registryEntry(java.util.function.Function<net.lenni0451.mcstructs.core.Identifier,net.lenni0451.mcstructs.converter.Result<java.lang.Void>> idVerifier,
net.lenni0451.mcstructs.converter.codec.Codec<T> entryCodec)
public net.lenni0451.mcstructs.converter.codec.Codec<Types_v1_20_5.TagEntryList> tagEntryList(java.util.function.Function<net.lenni0451.mcstructs.core.Identifier,net.lenni0451.mcstructs.converter.Result<java.lang.Void>> tagVerifier, java.util.function.Function<net.lenni0451.mcstructs.core.Identifier,net.lenni0451.mcstructs.converter.Result<java.lang.Void>> entryVerifier)