Package net.minecraft.component
Interface DataComponentType<T>
- All Known Implementing Classes:
DataComponentType.Builder.SimpleDataComponentType
public interface DataComponentType<T>
- Mappings:
Namespace Name named net/minecraft/component/DataComponentType
intermediary net/minecraft/class_9331
official kl
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataComponentType<?>> static final PacketCodec
<RegistryByteBuf, DataComponentType<?>> static final com.mojang.serialization.Codec
<DataComponentType<?>> static final com.mojang.serialization.Codec
<Map<DataComponentType<?>, Object>> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> DataComponentType.Builder
<T> builder()
getCodec()
default com.mojang.serialization.Codec
<T> PacketCodec
<? super RegistryByteBuf, T> default boolean
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/component/DataComponentType;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49600
Lnet/minecraft/class_9331;field_49600:Lcom/mojang/serialization/Codec;
official a
Lkl;a:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/component/DataComponentType;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_49601
Lnet/minecraft/class_9331;field_49601:Lnet/minecraft/class_9139;
official b
Lkl;b:Lzn;
-
PERSISTENT_CODEC
- Mappings:
Namespace Name Mixin selector named PERSISTENT_CODEC
Lnet/minecraft/component/DataComponentType;PERSISTENT_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_50236
Lnet/minecraft/class_9331;field_50236:Lcom/mojang/serialization/Codec;
official c
Lkl;c:Lcom/mojang/serialization/Codec;
-
TYPE_TO_VALUE_MAP_CODEC
static final com.mojang.serialization.Codec<Map<DataComponentType<?>,Object>> TYPE_TO_VALUE_MAP_CODEC- Mappings:
Namespace Name Mixin selector named TYPE_TO_VALUE_MAP_CODEC
Lnet/minecraft/component/DataComponentType;TYPE_TO_VALUE_MAP_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_50237
Lnet/minecraft/class_9331;field_50237:Lcom/mojang/serialization/Codec;
official d
Lkl;d:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
builder
- Mappings:
Namespace Name Mixin selector named builder
Lnet/minecraft/component/DataComponentType;builder()Lnet/minecraft/component/DataComponentType$Builder;
intermediary method_57873
Lnet/minecraft/class_9331;method_57873()Lnet/minecraft/class_9331$class_9332;
official a
Lkl;a()Lkl$a;
-
getCodec
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/component/DataComponentType;getCodec()Lcom/mojang/serialization/Codec;
intermediary method_57875
Lnet/minecraft/class_9331;method_57875()Lcom/mojang/serialization/Codec;
official b
Lkl;b()Lcom/mojang/serialization/Codec;
-
getCodecOrThrow
- Mappings:
Namespace Name Mixin selector named getCodecOrThrow
Lnet/minecraft/component/DataComponentType;getCodecOrThrow()Lcom/mojang/serialization/Codec;
intermediary method_57876
Lnet/minecraft/class_9331;method_57876()Lcom/mojang/serialization/Codec;
official c
Lkl;c()Lcom/mojang/serialization/Codec;
-
shouldSkipSerialization
default boolean shouldSkipSerialization()- Mappings:
Namespace Name Mixin selector named shouldSkipSerialization
Lnet/minecraft/component/DataComponentType;shouldSkipSerialization()Z
intermediary method_57877
Lnet/minecraft/class_9331;method_57877()Z
official d
Lkl;d()Z
-
getPacketCodec
PacketCodec<? super RegistryByteBuf,T> getPacketCodec()- Mappings:
Namespace Name Mixin selector named getPacketCodec
Lnet/minecraft/component/DataComponentType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
intermediary method_57878
Lnet/minecraft/class_9331;method_57878()Lnet/minecraft/class_9139;
official e
Lkl;e()Lzn;
-