Class ClampedNormalIntProvider
java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.ClampedNormalIntProvider
- Mappings:
Namespace Name official awointermediary net/minecraft/class_6728named net/minecraft/util/math/intprovider/ClampedNormalIntProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ClampedNormalIntProvider>private floatprivate intprivate floatprivate intFields inherited from class net.minecraft.util.math.intprovider.IntProvider
NON_NEGATIVE_CODEC, POSITIVE_CODEC, VALUE_CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClampedNormalIntProvider(float mean, float deviation, int min, int max) -
Method Summary
Modifier and TypeMethodDescriptionintget(AbstractRandom abstractRandom) intgetMax()intgetMin()getType()static intnext(AbstractRandom abstractRandom, float mean, float deviation, float min, float max) static ClampedNormalIntProviderof(float mean, float deviation, int min, int max) toString()Methods inherited from class net.minecraft.util.math.intprovider.IntProvider
createValidatingCodec
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLawo;a:Lcom/mojang/serialization/Codec;intermediary field_35352Lnet/minecraft/class_6728;field_35352:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;CODEC:Lcom/mojang/serialization/Codec;
-
mean
private float mean- Mappings:
Namespace Name Mixin selector official bLawo;b:Fintermediary field_35353Lnet/minecraft/class_6728;field_35353:Fnamed meanLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;mean:F
-
deviation
private float deviation- Mappings:
Namespace Name Mixin selector official fLawo;f:Fintermediary field_35354Lnet/minecraft/class_6728;field_35354:Fnamed deviationLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;deviation:F
-
min
private int min- Mappings:
Namespace Name Mixin selector official gLawo;g:Iintermediary field_35355Lnet/minecraft/class_6728;field_35355:Inamed minLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;min:I
-
max
private int max- Mappings:
Namespace Name Mixin selector official hLawo;h:Iintermediary field_35356Lnet/minecraft/class_6728;field_35356:Inamed maxLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;max:I
-
-
Constructor Details
-
ClampedNormalIntProvider
private ClampedNormalIntProvider(float mean, float deviation, int min, int max) - Mappings:
Namespace Name Mixin selector official <init>Lawo;<init>(FFII)Vintermediary <init>Lnet/minecraft/class_6728;<init>(FFII)Vnamed <init>Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;<init>(FFII)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLawo;a(FFII)Lawo;intermediary method_39156Lnet/minecraft/class_6728;method_39156(FFII)Lnet/minecraft/class_6728;named ofLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;of(FFII)Lnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;
-
get
- Specified by:
getin classIntProvider- Mappings:
Namespace Name Mixin selector official aLawt;a(Laki;)Iintermediary method_35008Lnet/minecraft/class_6017;method_35008(Lnet/minecraft/class_5819;)Inamed getLnet/minecraft/util/math/intprovider/IntProvider;get(Lnet/minecraft/world/gen/random/AbstractRandom;)I
-
next
public static int next(AbstractRandom abstractRandom, float mean, float deviation, float min, float max) - Mappings:
Namespace Name Mixin selector official aLawo;a(Laki;FFFF)Iintermediary method_39159Lnet/minecraft/class_6728;method_39159(Lnet/minecraft/class_5819;FFFF)Inamed nextLnet/minecraft/util/math/intprovider/ClampedNormalIntProvider;next(Lnet/minecraft/world/gen/random/AbstractRandom;FFFF)I
-
getMin
public int getMin()- Specified by:
getMinin classIntProvider- Mappings:
Namespace Name Mixin selector official aLawt;a()Iintermediary method_35009Lnet/minecraft/class_6017;method_35009()Inamed getMinLnet/minecraft/util/math/intprovider/IntProvider;getMin()I
-
getMax
public int getMax()- Specified by:
getMaxin classIntProvider- Mappings:
Namespace Name Mixin selector official bLawt;b()Iintermediary method_35011Lnet/minecraft/class_6017;method_35011()Inamed getMaxLnet/minecraft/util/math/intprovider/IntProvider;getMax()I
-
getType
- Specified by:
getTypein classIntProvider- Mappings:
Namespace Name Mixin selector official cLawt;c()Lawu;intermediary method_35012Lnet/minecraft/class_6017;method_35012()Lnet/minecraft/class_6018;named getTypeLnet/minecraft/util/math/intprovider/IntProvider;getType()Lnet/minecraft/util/math/intprovider/IntProviderType;
-
toString
-