net.minecraft.component

public interface ComponentType<T>

kk
net.minecraft.core.component.DataComponentType
net.minecraft.class_9331
net.minecraft.component.ComponentType
net.minecraft.unmapped.C_pscqxfcs
net.minecraft.component.DataComponentType
net.minecraft.src.C_313543_

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<ComponentType<?>>
a
CODEC
field_49600
CODEC
f_xrfpwkjt
CODEC
f_314889_
PacketCodec<RegistryByteBuf, ComponentType<?>>
b
STREAM_CODEC
field_49601
PACKET_CODEC
f_xqpxuqri
PACKET_CODEC
f_315368_
com.mojang.serialization.Codec<ComponentType<?>>
c
PERSISTENT_CODEC
field_50236
PERSISTENT_CODEC
f_qwjysbes
PERSISTENT_CODEC
f_315188_
com.mojang.serialization.Codec<Map<ComponentType<?>, Object>>
d
VALUE_MAP_CODEC
field_50237
TYPE_TO_VALUE_MAP_CODEC
f_mxhspduz
VALUE_MAP_CODEC
f_314535_

Method summary

Modifier and TypeMethod
static <T> ComponentType$Builder<T>
a()
builder()
method_57873()
builder()
m_nuhzpkbr()
builder()
m_320209_()
com.mojang.serialization.Codec<T>
b()
codec()
method_57875()
getCodec()
m_xbswjdjj()
getCodec()
m_319878_()
default com.mojang.serialization.Codec<T>
c()
codecOrThrow()
method_57876()
getCodecOrThrow()
m_vuiayjln()
getCodecOrThrow()
m_319588_()
default boolean
d()
isTransient()
method_57877()
shouldSkipSerialization()
m_lmuzailu()
isTransient()
m_322187_()
PacketCodec<? super RegistryByteBuf, T>
e()
streamCodec()
method_57878()
getPacketCodec()
m_dxcqrmbb()
getPacketCodec()
m_318786_()