net.minecraft.util

record ExtraCodecs$XorCodec<F, S>

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

atw$g
net.minecraft.util.ExtraCodecs$XorCodec
net.minecraft.class_5699$class_5839
net.minecraft.util.dynamic.Codecs$Xor
net.minecraft.src.C_140989_$C_140990_
net.minecraft.util.ExtraCodecs$g

Field summary

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

Constructor summary

ModifierConstructor
(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)
public com.mojang.serialization.Codec<F>
a()
first()
comp_1928()
first()
f_144657_()
public com.mojang.serialization.Codec<S>
b()
second()
comp_1929()
second()
f_144658_()