2020-06-05 15:11:11 -04:00
|
|
|
CLASS net/minecraft/class_5380 net/minecraft/util/dynamic/RegistryCodec
|
|
|
|
COMMENT A codec for {@link SimpleRegistry}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Compared to regular codec, this codec performs additional work when
|
|
|
|
COMMENT decoding, loading its elements from the given resource manager's JSON
|
2021-04-11 08:08:07 -04:00
|
|
|
COMMENT files.
|
2020-06-05 15:11:11 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT @param <E> the registry's element type
|
|
|
|
COMMENT @see RegistryElementCodec
|
|
|
|
COMMENT @see RegistryOps
|
|
|
|
FIELD field_25504 delegate Lcom/mojang/serialization/Codec;
|
|
|
|
FIELD field_25505 registryRef Lnet/minecraft/class_5321;
|
2020-07-29 11:36:02 -04:00
|
|
|
FIELD field_25506 elementCodec Lcom/mojang/serialization/Codec;
|
|
|
|
METHOD <init> (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)V
|
2020-06-05 15:11:11 -04:00
|
|
|
ARG 1 registryRef
|
|
|
|
ARG 2 lifecycle
|
2020-09-11 13:43:33 -04:00
|
|
|
ARG 3 codec
|
2020-06-05 15:11:11 -04:00
|
|
|
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 input
|
|
|
|
ARG 2 ops
|
|
|
|
ARG 3 prefix
|
2020-07-29 11:36:02 -04:00
|
|
|
METHOD method_29745 of (Lnet/minecraft/class_5321;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_5380;
|
2020-06-05 15:11:11 -04:00
|
|
|
ARG 0 registryRef
|
|
|
|
ARG 1 lifecycle
|
2020-09-11 13:43:33 -04:00
|
|
|
ARG 2 codec
|