2022-11-16 07:51:52 -05:00
|
|
|
CLASS net/minecraft/class_6898 net/minecraft/registry/entry/RegistryEntryListCodec
|
2022-02-10 13:47:38 -05:00
|
|
|
FIELD field_36480 registry Lnet/minecraft/class_5321;
|
|
|
|
FIELD field_36481 entryCodec Lcom/mojang/serialization/Codec;
|
2022-02-16 10:57:25 -05:00
|
|
|
FIELD field_36482 directEntryListCodec Lcom/mojang/serialization/Codec;
|
|
|
|
FIELD field_36483 entryListStorageCodec Lcom/mojang/serialization/Codec;
|
2022-02-10 13:47:38 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Codec;Z)V
|
|
|
|
ARG 1 registry
|
|
|
|
ARG 2 entryCodec
|
2022-02-16 10:57:25 -05:00
|
|
|
ARG 3 alwaysSerializeAsList
|
|
|
|
COMMENT whether to always serialize the list as a list
|
|
|
|
COMMENT instead of serializing as one entry if the length is {@code 0}
|
|
|
|
METHOD decode (Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
|
|
|
|
ARG 1 ops
|
|
|
|
ARG 2 input
|
|
|
|
METHOD encode (Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
|
|
|
|
ARG 1 entryList
|
|
|
|
ARG 2 ops
|
|
|
|
ARG 3 prefix
|
|
|
|
METHOD method_40380 (Lcom/mojang/datafixers/util/Either;)Ljava/util/List;
|
|
|
|
ARG 0 either
|
|
|
|
METHOD method_40381 (Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/serialization/DataResult;
|
|
|
|
ARG 0 pair
|
|
|
|
METHOD method_40382 createDirectEntryListCodec (Lcom/mojang/serialization/Codec;Z)Lcom/mojang/serialization/Codec;
|
2022-02-10 13:47:38 -05:00
|
|
|
ARG 0 entryCodec
|
2022-02-16 10:57:25 -05:00
|
|
|
ARG 1 alwaysSerializeAsList
|
|
|
|
COMMENT whether to always serialize the list as a list
|
|
|
|
COMMENT instead of serializing as one entry if the length is {@code 0}
|
|
|
|
METHOD method_40383 decodeDirect (Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
|
|
|
|
ARG 1 ops
|
|
|
|
ARG 2 input
|
2024-03-06 10:14:46 -05:00
|
|
|
METHOD method_40386 (Lnet/minecraft/class_7871;Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/serialization/DataResult;
|
2022-02-16 10:57:25 -05:00
|
|
|
ARG 1 pair
|
|
|
|
METHOD method_40387 (Ljava/util/List;)Lcom/mojang/datafixers/util/Either;
|
|
|
|
ARG 0 entries
|
|
|
|
METHOD method_40388 create (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Codec;Z)Lcom/mojang/serialization/Codec;
|
|
|
|
ARG 0 registryRef
|
|
|
|
ARG 1 entryCodec
|
|
|
|
ARG 2 alwaysSerializeAsList
|
|
|
|
COMMENT whether to always serialize the list as a list
|
|
|
|
COMMENT instead of serializing as one entry if the length is {@code 0}
|
|
|
|
METHOD method_40389 encodeDirect (Lnet/minecraft/class_6885;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
|
|
|
|
ARG 1 entryList
|
|
|
|
ARG 2 ops
|
|
|
|
ARG 3 prefix
|
|
|
|
METHOD method_40390 (Ljava/util/List;)Ljava/util/List;
|
|
|
|
ARG 0 entries
|