Class IntProvider
java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
- Direct Known Subclasses:
BiasedToBottomIntProvider
,ClampedIntProvider
,ClampedNormalIntProvider
,ConstantIntProvider
,UniformIntProvider
,WeightedListIntProvider
- Mappings:
Namespace Name named net/minecraft/util/math/intprovider/IntProvider
intermediary net/minecraft/class_6017
official bqa
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<Integer, IntProvider>> static final com.mojang.serialization.Codec
<IntProvider> static final com.mojang.serialization.Codec
<IntProvider> static final com.mojang.serialization.Codec
<IntProvider> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<IntProvider> createValidatingCodec
(int min, int max) static <T extends IntProvider>
com.mojang.serialization.Codec<T> createValidatingCodec
(int min, int max, com.mojang.serialization.Codec<T> providerCodec) abstract int
abstract int
getMax()
abstract int
getMin()
abstract IntProviderType
<?> getType()
private static <T extends IntProvider>
com.mojang.serialization.DataResult<T> method_58612
(int int2, int int3, T t)
-
Field Details
-
INT_CODEC
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Integer,IntProvider>> INT_CODEC- Mappings:
Namespace Name Mixin selector named INT_CODEC
Lnet/minecraft/util/math/intprovider/IntProvider;INT_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_29945
Lnet/minecraft/class_6017;field_29945:Lcom/mojang/serialization/Codec;
official a
Lbqa;a:Lcom/mojang/serialization/Codec;
-
VALUE_CODEC
- Mappings:
Namespace Name Mixin selector named VALUE_CODEC
Lnet/minecraft/util/math/intprovider/IntProvider;VALUE_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_29946
Lnet/minecraft/class_6017;field_29946:Lcom/mojang/serialization/Codec;
official c
Lbqa;c:Lcom/mojang/serialization/Codec;
-
NON_NEGATIVE_CODEC
- Mappings:
Namespace Name Mixin selector named NON_NEGATIVE_CODEC
Lnet/minecraft/util/math/intprovider/IntProvider;NON_NEGATIVE_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_33450
Lnet/minecraft/class_6017;field_33450:Lcom/mojang/serialization/Codec;
official d
Lbqa;d:Lcom/mojang/serialization/Codec;
-
POSITIVE_CODEC
- Mappings:
Namespace Name Mixin selector named POSITIVE_CODEC
Lnet/minecraft/util/math/intprovider/IntProvider;POSITIVE_CODEC:Lcom/mojang/serialization/Codec;
intermediary field_33451
Lnet/minecraft/class_6017;field_33451:Lcom/mojang/serialization/Codec;
official e
Lbqa;e:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
IntProvider
public IntProvider()
-
-
Method Details
-
createValidatingCodec
- Mappings:
Namespace Name Mixin selector named createValidatingCodec
Lnet/minecraft/util/math/intprovider/IntProvider;createValidatingCodec(II)Lcom/mojang/serialization/Codec;
intermediary method_35004
Lnet/minecraft/class_6017;method_35004(II)Lcom/mojang/serialization/Codec;
official b
Lbqa;b(II)Lcom/mojang/serialization/Codec;
-
createValidatingCodec
public static <T extends IntProvider> com.mojang.serialization.Codec<T> createValidatingCodec(int min, int max, com.mojang.serialization.Codec<T> providerCodec) - Mappings:
Namespace Name Mixin selector named createValidatingCodec
Lnet/minecraft/util/math/intprovider/IntProvider;createValidatingCodec(IILcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
intermediary method_49103
Lnet/minecraft/class_6017;method_49103(IILcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
official a
Lbqa;a(IILcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
-
method_58612
private static <T extends IntProvider> com.mojang.serialization.DataResult<T> method_58612(int int2, int int3, T t) - Mappings:
Namespace Name Mixin selector named method_58612
Lnet/minecraft/util/math/intprovider/IntProvider;method_58612(IILnet/minecraft/util/math/intprovider/IntProvider;)Lcom/mojang/serialization/DataResult;
intermediary method_58612
Lnet/minecraft/class_6017;method_58612(IILnet/minecraft/class_6017;)Lcom/mojang/serialization/DataResult;
official a
Lbqa;a(IILbqa;)Lcom/mojang/serialization/DataResult;
-
get
- 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
Lbqa;a(Lazh;)I
-
getMin
public abstract int getMin()- 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
Lbqa;a()I
-
getMax
public abstract int getMax()- 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
Lbqa;b()I
-
getType
- 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
Lbqa;c()Lbqb;
-