Class ClampedIntProvider
java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.ClampedIntProvider
- Mappings:
Namespace Name official arc
intermediary net/minecraft/class_6334
named net/minecraft/util/math/intprovider/ClampedIntProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<ClampedIntProvider>
private int
private int
private IntProvider
Fields inherited from class net.minecraft.util.math.intprovider.IntProvider
field_33450, field_33451, VALUE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClampedIntProvider
create(IntProvider source, int min, int max)
int
int
getMax()
int
getMin()
getType()
Methods inherited from class net.minecraft.util.math.intprovider.IntProvider
createValidatingCodec
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Larc;a:Lcom/mojang/serialization/Codec;
intermediary field_33446
Lnet/minecraft/class_6334;field_33446:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;CODEC:Lcom/mojang/serialization/Codec;
-
source
- Mappings:
Namespace Name Mixin selector official b
Larc;b:Lari;
intermediary field_33447
Lnet/minecraft/class_6334;field_33447:Lnet/minecraft/class_6017;
named source
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;source:Lnet/minecraft/util/math/intprovider/IntProvider;
-
min
private int min- Mappings:
Namespace Name Mixin selector official f
Larc;f:I
intermediary field_33448
Lnet/minecraft/class_6334;field_33448:I
named min
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;min:I
-
max
private int max- Mappings:
Namespace Name Mixin selector official g
Larc;g:I
intermediary field_33449
Lnet/minecraft/class_6334;field_33449:I
named max
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;max:I
-
-
Constructor Details
-
ClampedIntProvider
- Mappings:
Namespace Name Mixin selector official <init>
Larc;<init>(Lari;II)V
intermediary <init>
Lnet/minecraft/class_6334;<init>(Lnet/minecraft/class_6017;II)V
named <init>
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;II)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Larc;a(Lari;II)Larc;
intermediary method_36255
Lnet/minecraft/class_6334;method_36255(Lnet/minecraft/class_6017;II)Lnet/minecraft/class_6334;
named create
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;create(Lnet/minecraft/util/math/intprovider/IntProvider;II)Lnet/minecraft/util/math/intprovider/ClampedIntProvider;
-
get
- Specified by:
get
in classIntProvider
- Mappings:
Namespace Name Mixin selector official a
Lari;a(Ljava/util/Random;)I
intermediary method_35008
Lnet/minecraft/class_6017;method_35008(Ljava/util/Random;)I
named get
Lnet/minecraft/util/math/intprovider/IntProvider;get(Ljava/util/Random;)I
-
getMin
public int getMin()- Specified by:
getMin
in classIntProvider
- Mappings:
Namespace Name Mixin selector official a
Lari;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
Lari;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
Lari;c()Larj;
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;
-