net.minecraft.util

public class Codecs

adl
net.minecraft.util.Codecs
net.minecraft.class_5324
net.minecraft.util.dynamic.NumberCodecs
net.minecraft.util.datafix.codec.RangeCodec
net.minecraft.server.v1_16_R1.Codecs

Method summary

Modifier and TypeMethod
private static Function<Integer, com.mojang.serialization.DataResult<Integer>>
b(int arg0, int arg1)
checkRange(int arg0, int arg1)
method_29232(int arg0, int arg1)
createRangedDataResultFactory(int min, int max)
func_232992_b_(int arg0, int arg1)
public static com.mojang.serialization.Codec<Integer>
a(int arg0, int arg1)
intRange(int arg0, int arg1)
method_29229(int arg0, int arg1)
rangedInt(int min, int max)
func_232989_a_(int arg0, int arg1)
private static Function<Double, com.mojang.serialization.DataResult<Double>>
b(double arg0, double arg1)
checkRange(double arg0, double arg1)
method_29231(double arg0, double arg1)
createRangedDataResultFactory(double min, double max)
func_232991_b_(double arg0, double arg1)
public static com.mojang.serialization.Codec<Double>
a(double arg0, double arg1)
doubleRange(double arg0, double arg1)
method_29227(double arg0, double arg1)
rangedDouble(double min, double max)
func_232987_a_(double arg0, double arg1)
public static <T> com.mojang.serialization.MapCodec<com.mojang.datafixers.util.Pair<ResourceKey<T>, T>>
a(ug<gl<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
withName(ResourceKey<Registry<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
method_29906(class_5321<class_2378<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
method_29906(RegistryKey<Registry<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
func_241293_a_(RegistryKey<Registry<T>> arg0, com.mojang.serialization.MapCodec<T> arg1)
private static <A> com.mojang.serialization.MapCodec<A>
a(com.mojang.serialization.MapCodec<A> arg0, adl$a<A> arg1)
mapResult(com.mojang.serialization.MapCodec<A> arg0, Codecs$ResultFunction<A> arg1)
method_29904(com.mojang.serialization.MapCodec<A> arg0, class_5324$class_5395<A> arg1)
method_29904(com.mojang.serialization.MapCodec<A> arg0, NumberCodecs$class_5395<A> arg1)
func_241290_a_(com.mojang.serialization.MapCodec<A> arg0, RangeCodec$ICodecModifier<A> arg1)
public static <A> com.mojang.serialization.MapCodec<A>
a(com.mojang.serialization.MapCodec<A> arg0, Consumer<String> arg1, Supplier<? extends A> arg2)
withDefault(com.mojang.serialization.MapCodec<A> arg0, Consumer<String> arg1, Supplier<? extends A> arg2)
method_29905(com.mojang.serialization.MapCodec<A> arg0, Consumer<String> arg1, Supplier<? extends A> arg2)
method_29905(com.mojang.serialization.MapCodec<A> arg0, Consumer<String> arg1, Supplier<? extends A> arg2)
func_241291_a_(com.mojang.serialization.MapCodec<A> arg0, Consumer<String> arg1, Supplier<? extends A> arg2)
public static <A> com.mojang.serialization.MapCodec<A>
a(com.mojang.serialization.MapCodec<A> arg0, Supplier<A> arg1)
setPartial(com.mojang.serialization.MapCodec<A> arg0, Supplier<A> arg1)
method_30018(com.mojang.serialization.MapCodec<A> arg0, Supplier<A> arg1)
method_30018(com.mojang.serialization.MapCodec<A> arg0, Supplier<A> arg1)
func_241292_a_(com.mojang.serialization.MapCodec<A> arg0, Supplier<A> arg1)