Class ClampedIntProvider
java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.ClampedIntProvider
- Mappings:
Namespace Name named net/minecraft/util/math/intprovider/ClampedIntProvider
intermediary net/minecraft/class_6334
official bpf
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ClampedIntProvider> private final int
private final int
private final IntProvider
Fields inherited from class net.minecraft.util.math.intprovider.IntProvider
NON_NEGATIVE_CODEC, POSITIVE_CODEC, 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, createValidatingCodec
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_33446
Lnet/minecraft/class_6334;field_33446:Lcom/mojang/serialization/MapCodec;
official a
Lbpf;a:Lcom/mojang/serialization/MapCodec;
-
source
- Mappings:
Namespace Name Mixin selector named source
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;source:Lnet/minecraft/util/math/intprovider/IntProvider;
intermediary field_33447
Lnet/minecraft/class_6334;field_33447:Lnet/minecraft/class_6017;
official b
Lbpf;b:Lbpm;
-
min
private final int min- Mappings:
Namespace Name Mixin selector named min
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;min:I
intermediary field_33448
Lnet/minecraft/class_6334;field_33448:I
official f
Lbpf;f:I
-
max
private final int max- Mappings:
Namespace Name Mixin selector named max
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;max:I
intermediary field_33449
Lnet/minecraft/class_6334;field_33449:I
official g
Lbpf;g:I
-
-
Constructor Details
-
ClampedIntProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;II)V
intermediary <init>
Lnet/minecraft/class_6334;<init>(Lnet/minecraft/class_6017;II)V
official <init>
Lbpf;<init>(Lbpm;II)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/intprovider/ClampedIntProvider;create(Lnet/minecraft/util/math/intprovider/IntProvider;II)Lnet/minecraft/util/math/intprovider/ClampedIntProvider;
intermediary method_36255
Lnet/minecraft/class_6334;method_36255(Lnet/minecraft/class_6017;II)Lnet/minecraft/class_6334;
official a
Lbpf;a(Lbpm;II)Lbpf;
-
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
Lbpm;a(Layo;)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
Lbpm;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
Lbpm;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
Lbpm;c()Lbpn;
-