Package net.minecraft.component
Class ComponentType.Builder.SimpleDataComponentType<T>
java.lang.Object
net.minecraft.component.ComponentType.Builder.SimpleDataComponentType<T>
- All Implemented Interfaces:
ComponentType<T>
- Enclosing class:
ComponentType.Builder<T>
private static class ComponentType.Builder.SimpleDataComponentType<T>
extends Object
implements ComponentType<T>
- Mappings:
Namespace Name named net/minecraft/component/ComponentType$Builder$SimpleDataComponentTypeintermediary net/minecraft/class_9331$class_9332$class_9333official kp$a$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.component.ComponentType
ComponentType.Builder<T> -
Field Summary
FieldsFields inherited from interface net.minecraft.component.ComponentType
CODEC, PACKET_CODEC, PERSISTENT_CODEC, TYPE_TO_VALUE_MAP_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, waitMethods inherited from interface net.minecraft.component.ComponentType
getCodecOrThrow, shouldSkipSerialization
-
Field Details
-
codec
- Mappings:
Namespace Name Mixin selector named codecLnet/minecraft/component/ComponentType$Builder$SimpleDataComponentType;codec:Lcom/mojang/serialization/Codec;intermediary field_49604Lnet/minecraft/class_9331$class_9332$class_9333;field_49604:Lcom/mojang/serialization/Codec;official eLkp$a$a;e:Lcom/mojang/serialization/Codec;
-
packetCodec
- Mappings:
Namespace Name Mixin selector named packetCodecLnet/minecraft/component/ComponentType$Builder$SimpleDataComponentType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49605Lnet/minecraft/class_9331$class_9332$class_9333;field_49605:Lnet/minecraft/class_9139;official fLkp$a$a;f:Lyx;
-
-
Constructor Details
-
SimpleDataComponentType
SimpleDataComponentType(@Nullable @Nullable com.mojang.serialization.Codec<T> codec, PacketCodec<? super RegistryByteBuf, T> packetCodec) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/component/ComponentType$Builder$SimpleDataComponentType;<init>(Lcom/mojang/serialization/Codec;Lnet/minecraft/network/codec/PacketCodec;)Vintermediary <init>Lnet/minecraft/class_9331$class_9332$class_9333;<init>(Lcom/mojang/serialization/Codec;Lnet/minecraft/class_9139;)Vofficial <init>Lkp$a$a;<init>(Lcom/mojang/serialization/Codec;Lyx;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodecin interfaceComponentType<T>- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/component/ComponentType;getCodec()Lcom/mojang/serialization/Codec;intermediary method_57875Lnet/minecraft/class_9331;method_57875()Lcom/mojang/serialization/Codec;official bLkp;b()Lcom/mojang/serialization/Codec;
-
getPacketCodec
- Specified by:
getPacketCodecin interfaceComponentType<T>- Mappings:
Namespace Name Mixin selector named getPacketCodecLnet/minecraft/component/ComponentType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;intermediary method_57878Lnet/minecraft/class_9331;method_57878()Lnet/minecraft/class_9139;official eLkp;e()Lyx;
-
toString
-