CLASS net/minecraft/class_5699 net/minecraft/util/dynamic/Codecs COMMENT A few extensions for {@link Codec} or {@link DynamicOps}. COMMENT COMMENT
Expect its removal once Mojang updates DataFixerUpper. METHOD method_33817 xor (Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; COMMENT Returns an exclusive-or codec for {@link Either} instances. COMMENT COMMENT
This returned codec fails if both the {@code first} and {@code second} codecs can COMMENT decode the input, while DFU's {@link com.mojang.serialization.codecs.EitherCodec} COMMENT will always take the first decoded result when it is available. COMMENT COMMENT
Otherwise, this behaves the same as the either codec.
COMMENT
COMMENT @param the second type
COMMENT @return the xor codec for the two codecs
COMMENT @see Codec#either(Codec, Codec)
COMMENT @see com.mojang.serialization.codecs.EitherCodec
ARG 0 first
COMMENT the first codec
ARG 1 second
COMMENT the second codec
CLASS class_5839 Xor
COMMENT @see com.mojang.serialization.codecs.EitherCodec
FIELD field_28868 first Lcom/mojang/serialization/Codec;
FIELD field_28869 second Lcom/mojang/serialization/Codec;
METHOD