net.minecraft.util.valueproviders

public abstract class IntProvider

bbr
net.minecraft.util.valueproviders.IntProvider
net.minecraft.class_6017
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.src.C_141052_
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
f_146530_
public static final com.mojang.serialization.Codec<IntProvider>
c
CODEC
field_29946
VALUE_CODEC
f_146531_
public static final com.mojang.serialization.Codec<IntProvider>
d
NON_NEGATIVE_CODEC
field_33450
NON_NEGATIVE_CODEC
f_146532_
public static final com.mojang.serialization.Codec<IntProvider>
e
POSITIVE_CODEC
field_33451
POSITIVE_CODEC
f_146533_

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)
m_146545_(int p_146546_, int p_146547_)
public abstract int
a(aoh arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
get(Random random)
m_214085_(C_212974_ arg0)
public abstract int
a()
getMinValue()
method_35009()
getMin()
m_142739_()
public abstract int
b()
getMaxValue()
method_35011()
getMax()
m_142737_()
public abstract IntProviderType<?>
c()
getType()
method_35012()
getType()
m_141948_()