net.minecraft.core.component

public interface DataComponentType<T>

kl
net.minecraft.core.component.DataComponentType
net.minecraft.class_9331
net.minecraft.component.DataComponentType
net.minecraft.src.C_313543_
net.minecraft.core.component.DataComponentType

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<DataComponentType<?>>
a
CODEC
field_49600
CODEC
f_314889_
StreamCodec<RegistryFriendlyByteBuf, DataComponentType<?>>
b
STREAM_CODEC
field_49601
PACKET_CODEC
f_315368_
com.mojang.serialization.Codec<DataComponentType<?>>
c
PERSISTENT_CODEC
field_50236
PERSISTENT_CODEC
f_315188_
com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>>
d
VALUE_MAP_CODEC
field_50237
TYPE_TO_VALUE_MAP_CODEC
f_314535_

Method summary

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