Package net.minecraft.component
Class DataComponentType.Builder.SimpleDataComponentType<T>
java.lang.Object
net.minecraft.component.DataComponentType.Builder.SimpleDataComponentType<T>
- All Implemented Interfaces:
DataComponentType<T>
- Enclosing class:
DataComponentType.Builder<T>
private static class DataComponentType.Builder.SimpleDataComponentType<T>
extends Object
implements DataComponentType<T>
- Mappings:
Namespace Name official jz$a$a
intermediary net/minecraft/class_9331$class_9332$class_9333
named net/minecraft/component/DataComponentType$Builder$SimpleDataComponentType
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.component.DataComponentType
DataComponentType.Builder<T>
-
Field Summary
FieldsFields inherited from interface net.minecraft.component.DataComponentType
CODEC, PACKET_CODEC
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleDataComponentType
(@Nullable com.mojang.serialization.Codec<T> codec, PacketCodec<? super RegistryByteBuf, T> packetCodec) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.DataComponentType
getCodecOrThrow, shouldSkipSerialization
-
Field Details
-
codec
- Mappings:
Namespace Name Mixin selector official c
Ljz$a$a;c:Lcom/mojang/serialization/Codec;
intermediary field_49604
Lnet/minecraft/class_9331$class_9332$class_9333;field_49604:Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/component/DataComponentType$Builder$SimpleDataComponentType;codec:Lcom/mojang/serialization/Codec;
-
packetCodec
- Mappings:
Namespace Name Mixin selector official d
Ljz$a$a;d:Lys;
intermediary field_49605
Lnet/minecraft/class_9331$class_9332$class_9333;field_49605:Lnet/minecraft/class_9139;
named packetCodec
Lnet/minecraft/component/DataComponentType$Builder$SimpleDataComponentType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
SimpleDataComponentType
SimpleDataComponentType(@Nullable @Nullable com.mojang.serialization.Codec<T> codec, PacketCodec<? super RegistryByteBuf, T> packetCodec) - Mappings:
Namespace Name Mixin selector official <init>
Ljz$a$a;<init>(Lcom/mojang/serialization/Codec;Lys;)V
intermediary <init>
Lnet/minecraft/class_9331$class_9332$class_9333;<init>(Lcom/mojang/serialization/Codec;Lnet/minecraft/class_9139;)V
named <init>
Lnet/minecraft/component/DataComponentType$Builder$SimpleDataComponentType;<init>(Lcom/mojang/serialization/Codec;Lnet/minecraft/network/codec/PacketCodec;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in interfaceDataComponentType<T>
- Mappings:
Namespace Name Mixin selector official b
Ljz;b()Lcom/mojang/serialization/Codec;
intermediary method_57875
Lnet/minecraft/class_9331;method_57875()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/component/DataComponentType;getCodec()Lcom/mojang/serialization/Codec;
-
getPacketCodec
- Specified by:
getPacketCodec
in interfaceDataComponentType<T>
- Mappings:
Namespace Name Mixin selector official e
Ljz;e()Lys;
intermediary method_57878
Lnet/minecraft/class_9331;method_57878()Lnet/minecraft/class_9139;
named getPacketCodec
Lnet/minecraft/component/DataComponentType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
-
toString
-