net.minecraft.component

class ComponentType$Builder$SimpleDataComponentType<T>

implements ComponentType<T>

net.minecraft.core.component.DataComponentType$Builder$SimpleType
net.minecraft.class_9331$class_9332$class_9333
net.minecraft.component.ComponentType$Builder$SimpleDataComponentType

Field summary

Modifier and TypeField
private final com.mojang.serialization.Codec<T>
codec
field_49604
codec
private final PacketCodec<? super RegistryByteBuf, T>
streamCodec
field_49605
packetCodec
private final boolean
ignoreSwapAnimation
field_63630
skipsHandAnimation

Constructor summary

ModifierConstructor
private (com.mojang.serialization.Codec<T> codec, PacketCodec<? super RegistryByteBuf, T> packetCodec, boolean skipsHandAnimation)

Method summary

Modifier and TypeMethod
public boolean
ignoreSwapAnimation()
method_75506()
skipsHandAnimation()
public com.mojang.serialization.Codec<T>
codec()
method_57875()
getCodec()
public PacketCodec<? super RegistryByteBuf, T>
streamCodec()
method_57878()
getPacketCodec()