Class UniformIntProvider
java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.UniformIntProvider
- Mappings:
Namespace Name official bgj
intermediary net/minecraft/class_6019
named net/minecraft/util/math/intprovider/UniformIntProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<UniformIntProvider>
private final int
private final int
Fields inherited from class net.minecraft.util.math.intprovider.IntProvider
NON_NEGATIVE_CODEC, POSITIVE_CODEC, VALUE_CODEC
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.util.math.intprovider.IntProvider
createValidatingCodec, createValidatingCodec
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbgj;a:Lcom/mojang/serialization/Codec;
intermediary field_29949
Lnet/minecraft/class_6019;field_29949:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/math/intprovider/UniformIntProvider;CODEC:Lcom/mojang/serialization/Codec;
-
min
private final int min- Mappings:
Namespace Name Mixin selector official b
Lbgj;b:I
intermediary field_29950
Lnet/minecraft/class_6019;field_29950:I
named min
Lnet/minecraft/util/math/intprovider/UniformIntProvider;min:I
-
max
private final int max- Mappings:
Namespace Name Mixin selector official f
Lbgj;f:I
intermediary field_29951
Lnet/minecraft/class_6019;field_29951:I
named max
Lnet/minecraft/util/math/intprovider/UniformIntProvider;max:I
-
-
Constructor Details
-
UniformIntProvider
private UniformIntProvider(int min, int max) - Mappings:
Namespace Name Mixin selector official <init>
Lbgj;<init>(II)V
intermediary <init>
Lnet/minecraft/class_6019;<init>(II)V
named <init>
Lnet/minecraft/util/math/intprovider/UniformIntProvider;<init>(II)V
-
-
Method Details
-
create
- Parameters:
min
- the minimum value, inclusivemax
- the maximum value, inclusive- Mappings:
Namespace Name Mixin selector official a
Lbgj;a(II)Lbgj;
intermediary method_35017
Lnet/minecraft/class_6019;method_35017(II)Lnet/minecraft/class_6019;
named create
Lnet/minecraft/util/math/intprovider/UniformIntProvider;create(II)Lnet/minecraft/util/math/intprovider/UniformIntProvider;
-
get
- Specified by:
get
in classIntProvider
- Mappings:
Namespace Name Mixin selector official a
Lbgd;a(Lasc;)I
intermediary method_35008
Lnet/minecraft/class_6017;method_35008(Lnet/minecraft/class_5819;)I
named get
Lnet/minecraft/util/math/intprovider/IntProvider;get(Lnet/minecraft/util/math/random/Random;)I
-
getMin
public int getMin()- Specified by:
getMin
in classIntProvider
- Mappings:
Namespace Name Mixin selector official a
Lbgd;a()I
intermediary method_35009
Lnet/minecraft/class_6017;method_35009()I
named getMin
Lnet/minecraft/util/math/intprovider/IntProvider;getMin()I
-
getMax
public int getMax()- Specified by:
getMax
in classIntProvider
- Mappings:
Namespace Name Mixin selector official b
Lbgd;b()I
intermediary method_35011
Lnet/minecraft/class_6017;method_35011()I
named getMax
Lnet/minecraft/util/math/intprovider/IntProvider;getMax()I
-
getType
- Specified by:
getType
in classIntProvider
- Mappings:
Namespace Name Mixin selector official c
Lbgd;c()Lbge;
intermediary method_35012
Lnet/minecraft/class_6017;method_35012()Lnet/minecraft/class_6018;
named getType
Lnet/minecraft/util/math/intprovider/IntProvider;getType()Lnet/minecraft/util/math/intprovider/IntProviderType;
-
toString
-