net.minecraft.network.chat

public class ComponentSerialization

xx
net.minecraft.network.chat.ComponentSerialization
net.minecraft.class_8824
net.minecraft.unmapped.C_qrzzgymy
net.minecraft.text.TextCodecs
net.minecraft.text.TextCodecs
net.minecraft.src.C_302096_
net.minecraft.network.chat.ComponentSerialization

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Component>
a
CODEC
field_46597
f_flkmksis
CODEC
CODEC
f_303288_
public static final StreamCodec<RegistryFriendlyByteBuf, Component>
b
STREAM_CODEC
field_48540
f_byaedzcu
REGISTRY_PACKET_CODEC
REGISTRY_TEXT_CODEC
f_315335_
public static final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>>
c
OPTIONAL_STREAM_CODEC
field_48985
f_vzatxplp
OPTIONAL_PACKET_CODEC
REGISTRY_OPTIONAL_TEXT_CODEC
f_315970_
public static final StreamCodec<RegistryFriendlyByteBuf, Component>
d
TRUSTED_STREAM_CODEC
field_49666
f_bqvdscyz
UNLIMITED_REGISTRY_PACKET_CODEC
REGISTRY_UNLIMITED_TEXT_CODEC
f_316335_
public static final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>>
e
TRUSTED_OPTIONAL_STREAM_CODEC
field_49667
f_bjpmjkae
OPTIONAL_UNLIMITED_REGISTRY_PACKET_CODEC
REGISTRY_OPTIONAL_UNLIMITED_TEXT_CODEC
f_316844_
public static final StreamCodec<io.netty.buffer.ByteBuf, Component>
f
TRUSTED_CONTEXT_FREE_STREAM_CODEC
field_49668
f_hltfryne
PACKET_CODEC
UNLIMITED_TEXT_PACKET_CODEC
f_314039_
public static final com.mojang.serialization.Codec<Component>
g
FLAT_CODEC
field_46598
f_ptpqrytj
STRINGIFIED_CODEC
STRINGIFIED_CODEC
f_303675_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<Component>
a(int arg0)
flatCodec(int arg0)
method_57973(int arg0)
m_zbnsyhol(int arg0)
codec(int maxSerializedLength)
codec(int maxSerializedLength)
m_324597_(int p_330224_)
private static MutableComponent
a(List<xv> arg0)
createFromList(List<Component> arg0)
method_54169(List<class_2561> arg0)
m_rikkdtmr(List<C_rdaqiwdt> arg0)
combine(List<Text> texts)
combineTexts(List<Text> texts)
m_304932_(List<C_4996_> p_312708_)
public static <T extends StringRepresentable, E> com.mojang.serialization.MapCodec<E>
a(T[] arg0, Function<T, com.mojang.serialization.MapCodec<? extends E>> arg1, Function<E, T> arg2, String arg3)
createLegacyComponentMatcher(T[] arg0, Function<T, com.mojang.serialization.MapCodec<? extends E>> arg1, Function<E, T> arg2, String arg3)
method_54174(T[] arg0, Function<T, com.mojang.serialization.MapCodec<? extends E>> arg1, Function<E, T> arg2, String arg3)
m_ijnwjepp(T[] arg0, Function<T, com.mojang.serialization.MapCodec<? extends E>> arg1, Function<E, T> arg2, String arg3)
dispatchingCodec(T[] types, Function<T, com.mojang.serialization.MapCodec<? extends E>> typeToCodec, Function<E, T> valueToType, String dispatchingKey)
dispatchingCodec(T[] values, Function<T, com.mojang.serialization.MapCodec<? extends E>> codecGetter, Function<E, T> typeGetter, String dispatchingKey)
m_306757_(T[] p_312620_, Function<T, com.mojang.serialization.MapCodec<? extends E>> p_312447_, Function<E, T> p_309774_, String p_311665_)
private static com.mojang.serialization.Codec<Component>
a(com.mojang.serialization.Codec<xv> arg0)
createCodec(com.mojang.serialization.Codec<Component> arg0)
method_54166(com.mojang.serialization.Codec<class_2561> arg0)
m_ndbrkyjl(com.mojang.serialization.Codec<C_rdaqiwdt> arg0)
createCodec(com.mojang.serialization.Codec<Text> selfCodec)
createCodec(com.mojang.serialization.Codec<Text> codec)
m_305392_(com.mojang.serialization.Codec<C_4996_> p_310353_)