net.minecraft.util.valueproviders

public abstract class IntProvider

bso
net.minecraft.util.valueproviders.IntProvider
net.minecraft.class_6017
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.valueproviders.IntProvider

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Integer, IntProvider>>
a
CONSTANT_OR_DISPATCH_CODEC
field_29945
INT_CODEC
public static final com.mojang.serialization.Codec<IntProvider>
c
CODEC
field_29946
VALUE_CODEC
public static final com.mojang.serialization.Codec<IntProvider>
d
NON_NEGATIVE_CODEC
field_33450
NON_NEGATIVE_CODEC
public static final com.mojang.serialization.Codec<IntProvider>
e
POSITIVE_CODEC
field_33451
POSITIVE_CODEC

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<IntProvider>
b(int arg0, int arg1)
codec(int arg0, int arg1)
method_35004(int arg0, int arg1)
createValidatingCodec(int min, int max)
public static <T extends IntProvider> com.mojang.serialization.Codec<T>
a(int arg0, int arg1, com.mojang.serialization.Codec<T> arg2)
validateCodec(int arg0, int arg1, com.mojang.serialization.Codec<T> arg2)
method_49103(int arg0, int arg1, com.mojang.serialization.Codec<T> arg2)
createValidatingCodec(int min, int max, com.mojang.serialization.Codec<T> providerCodec)
private static <T extends IntProvider> com.mojang.serialization.DataResult<T>
a(int arg0, int arg1, T arg2)
validate(int arg0, int arg1, T arg2)
method_58612(int arg0, int arg1, T arg2)
validateProvider(int min, int max, T provider)
public abstract int
a(bam arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
get(Random random)
public abstract int
a()
getMinValue()
method_35009()
getMin()
public abstract int
b()
getMaxValue()
method_35011()
getMax()
public abstract IntProviderType<?>
c()
getType()
method_35012()
getType()