net.minecraft.util.valueproviders

public class ClampedInt

extends IntProvider

azh
net.minecraft.util.valueproviders.ClampedInt
net.minecraft.class_6334
net.minecraft.util.math.intprovider.ClampedIntProvider
net.minecraft.src.C_141046_
net.minecraft.util.valueproviders.ClampedInt

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ClampedInt>
a
CODEC
field_33446
CODEC
f_146383_
private final IntProvider
b
source
field_33447
source
f_146384_
private int
f
minInclusive
field_33448
min
f_146385_
private int
g
maxInclusive
field_33449
max
f_146386_

Constructor summary

ModifierConstructor
public (IntProvider source, int min, int max)

Method summary

Modifier and TypeMethod
public static ClampedInt
a(azo arg0, int arg1, int arg2)
of(IntProvider arg0, int arg1, int arg2)
method_36255(class_6017 arg0, int arg1, int arg2)
create(IntProvider source, int min, int max)
m_146395_(C_141052_ p_146396_, int p_146397_, int p_146398_)
public int
a(amn arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
get(Random arg0)
m_214085_(C_212974_ arg0)
public int
a()
getMinValue()
method_35009()
getMin()
m_142739_()
public int
b()
getMaxValue()
method_35011()
getMax()
m_142737_()
public IntProviderType<?>
c()
getType()
method_35012()
getType()
m_141948_()