net.minecraft.component

public class ComponentType$Builder<T>

net.minecraft.core.component.DataComponentType$Builder
net.minecraft.class_9331$class_9332
net.minecraft.component.ComponentType$Builder

Field summary

Modifier and TypeField
private com.mojang.serialization.Codec<T>
codec
field_49602
codec
private PacketCodec<? super RegistryByteBuf, T>
streamCodec
field_49603
packetCodec
private boolean
cacheEncoding
field_51517
cache
private boolean
ignoreSwapAnimation
field_63629
skipsHandAnimation

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public ComponentType$Builder<T>
persistent(com.mojang.serialization.Codec<T> codec)
method_57881(com.mojang.serialization.Codec<T> arg0)
codec(com.mojang.serialization.Codec<T> codec)
public ComponentType$Builder<T>
networkSynchronized(StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec)
method_57882(class_9139<? super class_9129, T> arg0)
packetCodec(PacketCodec<? super RegistryByteBuf, T> packetCodec)
public ComponentType$Builder<T>
cacheEncoding()
method_59871()
cache()
public ComponentType<T>
build()
method_57880()
build()
public ComponentType$Builder<T>
ignoreSwapAnimation()
method_75507()
skipsHandAnimation()
private PacketCodec
lambda$build$0()
method_57883()
method_57883()