Package net.minecraft.component
Class DataComponentType.Builder<T>
java.lang.Object
net.minecraft.component.DataComponentType.Builder<T>
- Enclosing interface:
DataComponentType<T>
- Mappings:
Namespace Name named net/minecraft/component/DataComponentType$Builder
intermediary net/minecraft/class_9331$class_9332
official kl$a
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private @Nullable PacketCodec
<? super RegistryByteBuf, T> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
cache()
packetCodec
(PacketCodec<? super RegistryByteBuf, T> packetCodec)
-
Field Details
-
codec
- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/component/DataComponentType$Builder;codec:Lcom/mojang/serialization/Codec;
intermediary field_49602
Lnet/minecraft/class_9331$class_9332;field_49602:Lcom/mojang/serialization/Codec;
official a
Lkl$a;a:Lcom/mojang/serialization/Codec;
-
packetCodec
- Mappings:
Namespace Name Mixin selector named packetCodec
Lnet/minecraft/component/DataComponentType$Builder;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_49603
Lnet/minecraft/class_9331$class_9332;field_49603:Lnet/minecraft/class_9139;
official b
Lkl$a;b:Lzn;
-
cache
private boolean cache- Mappings:
Namespace Name Mixin selector named cache
Lnet/minecraft/component/DataComponentType$Builder;cache:Z
intermediary field_51517
Lnet/minecraft/class_9331$class_9332;field_51517:Z
official c
Lkl$a;c:Z
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codec
- Mappings:
Namespace Name Mixin selector named codec
Lnet/minecraft/component/DataComponentType$Builder;codec(Lcom/mojang/serialization/Codec;)Lnet/minecraft/component/DataComponentType$Builder;
intermediary method_57881
Lnet/minecraft/class_9331$class_9332;method_57881(Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_9331$class_9332;
official a
Lkl$a;a(Lcom/mojang/serialization/Codec;)Lkl$a;
-
packetCodec
- Mappings:
Namespace Name Mixin selector named packetCodec
Lnet/minecraft/component/DataComponentType$Builder;packetCodec(Lnet/minecraft/network/codec/PacketCodec;)Lnet/minecraft/component/DataComponentType$Builder;
intermediary method_57882
Lnet/minecraft/class_9331$class_9332;method_57882(Lnet/minecraft/class_9139;)Lnet/minecraft/class_9331$class_9332;
official a
Lkl$a;a(Lzn;)Lkl$a;
-
cache
- Mappings:
Namespace Name Mixin selector named cache
Lnet/minecraft/component/DataComponentType$Builder;cache()Lnet/minecraft/component/DataComponentType$Builder;
intermediary method_59871
Lnet/minecraft/class_9331$class_9332;method_59871()Lnet/minecraft/class_9331$class_9332;
official a
Lkl$a;a()Lkl$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/component/DataComponentType$Builder;build()Lnet/minecraft/component/DataComponentType;
intermediary method_57880
Lnet/minecraft/class_9331$class_9332;method_57880()Lnet/minecraft/class_9331;
official b
Lkl$a;b()Lkl;
-