net.minecraft.util

public class ExtraCodecs

agp
net.minecraft.util.ExtraCodecs
net.minecraft.class_5699
net.minecraft.util.dynamic.Codecs
net.minecraft.src.C_140989_
net.minecraft.util.ExtraCodecs

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Integer>
a
NON_NEGATIVE_INT
field_33441
NONNEGATIVE_INT
f_144628_
public static final com.mojang.serialization.Codec<Integer>
b
POSITIVE_INT
field_33442
POSITIVE_INT
f_144629_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <F, S> com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<F, S>>
a(com.mojang.serialization.Codec<F> arg0, com.mojang.serialization.Codec<S> arg1)
xor(com.mojang.serialization.Codec<F> arg0, com.mojang.serialization.Codec<S> arg1)
method_33817(com.mojang.serialization.Codec<F> arg0, com.mojang.serialization.Codec<S> arg1)
xor(com.mojang.serialization.Codec<F> first, com.mojang.serialization.Codec<S> second)
m_144639_(com.mojang.serialization.Codec<F> p_144640_, com.mojang.serialization.Codec<S> p_144641_)
private static <N extends Number extends Comparable<N>> Function<N, com.mojang.serialization.DataResult<N>>
a(N arg0, N arg1, Function<N, String> arg2)
checkRangeWithMessage(N arg0, N arg1, Function<N, String> arg2)
method_36243(N arg0, N arg1, Function<N, String> arg2)
createRangeChecker(N min, N max, Function<N, String> messageFactory)
m_144644_(N p_144645_, N p_144646_, Function<N, String> p_144647_)
private static com.mojang.serialization.Codec<Integer>
a(int arg0, int arg1, Function<Integer, String> arg2)
intRangeWithMessage(int arg0, int arg1, Function<Integer, String> arg2)
method_36241(int arg0, int arg1, Function<Integer, String> arg2)
rangedInt(int min, int max, Function<Integer, String> messageFactory)
m_144633_(int p_144634_, int p_144635_, Function<Integer, String> p_144636_)
public static <T> Function<List<T>, com.mojang.serialization.DataResult<List<T>>>
a()
nonEmptyListCheck()
method_36240()
createNonEmptyListChecker()
m_144632_()
public static <T> com.mojang.serialization.Codec<List<T>>
a(com.mojang.serialization.Codec<List<T>> arg0)
nonEmptyList(com.mojang.serialization.Codec<List<T>> arg0)
method_36973(com.mojang.serialization.Codec<List<T>> arg0)
nonEmptyList(com.mojang.serialization.Codec<List<T>> originalCodec)
m_144637_(com.mojang.serialization.Codec<List<T>> p_144638_)
public static <T> Function<List<Supplier<T>>, com.mojang.serialization.DataResult<List<Supplier<T>>>>
b()
nonNullSupplierListCheck()
method_37351()
createPresentValuesChecker()
m_181036_()
public static <T> Function<Supplier<T>, com.mojang.serialization.DataResult<Supplier<T>>>
c()
nonNullSupplierCheck()
method_37352()
createPresentValueChecker()
m_181037_()