net.minecraft.util

final class ExtraCodecs$XorCodec<F, S>

implements com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<F, S>>

alq$e
net.minecraft.util.ExtraCodecs$XorCodec
net.minecraft.class_5699$class_5839
net.minecraft.util.dynamic.Codecs$Xor
net.minecraft.src.C_140990_
net.minecraft.util.ExtraCodecs$e

Field summary

Modifier and TypeField
private final com.mojang.serialization.Codec<F>
a
first
field_28868
first
f_144657_
private final com.mojang.serialization.Codec<S>
b
second
field_28869
second
f_144658_

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<F> first, com.mojang.serialization.Codec<S> second)

Method summary

Modifier and TypeMethod
public <T> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<F, S>, T>>
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> arg0, T arg1)
decode(com.mojang.serialization.DynamicOps<T> ops, T input)
decode(com.mojang.serialization.DynamicOps<T> p_144680_, T arg1)
public <T> com.mojang.serialization.DataResult<T>
a(com.mojang.datafixers.util.Either<F, S> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(com.mojang.datafixers.util.Either<F, S> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_33820(com.mojang.datafixers.util.Either<F, S> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(com.mojang.datafixers.util.Either<F, S> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encode(com.mojang.datafixers.util.Either<F, S> p_144664_, com.mojang.serialization.DynamicOps<T> p_144665_, T arg2)