Class ConstantIntProvider
java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.ConstantIntProvider
- Mappings:
Namespace Name named net/minecraft/util/math/intprovider/ConstantIntProvider
intermediary net/minecraft/class_6016
official bpt
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ConstantIntProvider> private final int
static final ConstantIntProvider
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
-
ZERO
- Mappings:
Namespace Name Mixin selector named ZERO
Lnet/minecraft/util/math/intprovider/ConstantIntProvider;ZERO:Lnet/minecraft/util/math/intprovider/ConstantIntProvider;
intermediary field_29942
Lnet/minecraft/class_6016;field_29942:Lnet/minecraft/class_6016;
official a
Lbpt;a:Lbpt;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/util/math/intprovider/ConstantIntProvider;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_29943
Lnet/minecraft/class_6016;field_29943:Lcom/mojang/serialization/MapCodec;
official b
Lbpt;b:Lcom/mojang/serialization/MapCodec;
-
value
private final int value- Mappings:
Namespace Name Mixin selector named value
Lnet/minecraft/util/math/intprovider/ConstantIntProvider;value:I
intermediary field_29944
Lnet/minecraft/class_6016;field_29944:I
official f
Lbpt;f:I
-
-
Constructor Details
-
ConstantIntProvider
private ConstantIntProvider(int value) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/intprovider/ConstantIntProvider;<init>(I)V
intermediary <init>
Lnet/minecraft/class_6016;<init>(I)V
official <init>
Lbpt;<init>(I)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/intprovider/ConstantIntProvider;create(I)Lnet/minecraft/util/math/intprovider/ConstantIntProvider;
intermediary method_34998
Lnet/minecraft/class_6016;method_34998(I)Lnet/minecraft/class_6016;
official a
Lbpt;a(I)Lbpt;
-
getValue
public int getValue()- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/util/math/intprovider/ConstantIntProvider;getValue()I
intermediary method_34997
Lnet/minecraft/class_6016;method_34997()I
official d
Lbpt;d()I
-
get
- Specified by:
get
in classIntProvider
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/util/math/intprovider/IntProvider;get(Lnet/minecraft/util/math/random/Random;)I
intermediary method_35008
Lnet/minecraft/class_6017;method_35008(Lnet/minecraft/class_5819;)I
official a
Lbpw;a(Layw;)I
-
getMin
public int getMin()- Specified by:
getMin
in classIntProvider
- Mappings:
Namespace Name Mixin selector named getMin
Lnet/minecraft/util/math/intprovider/IntProvider;getMin()I
intermediary method_35009
Lnet/minecraft/class_6017;method_35009()I
official a
Lbpw;a()I
-
getMax
public int getMax()- Specified by:
getMax
in classIntProvider
- Mappings:
Namespace Name Mixin selector named getMax
Lnet/minecraft/util/math/intprovider/IntProvider;getMax()I
intermediary method_35011
Lnet/minecraft/class_6017;method_35011()I
official b
Lbpw;b()I
-
getType
- Specified by:
getType
in classIntProvider
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/util/math/intprovider/IntProvider;getType()Lnet/minecraft/util/math/intprovider/IntProviderType;
intermediary method_35012
Lnet/minecraft/class_6017;method_35012()Lnet/minecraft/class_6018;
official c
Lbpw;c()Lbpx;
-
toString
-