Package net.minecraft.util.math.random
Class LocalRandom
java.lang.Object
net.minecraft.util.math.random.LocalRandom
- All Implemented Interfaces:
- BaseRandom,- Random
A local random, not intended to be shared across threads.
- Mappings:
- Namespace - Name - official - dia- intermediary - net/minecraft/class_6575- named - net/minecraft/util/math/random/LocalRandom
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final GaussianGeneratorprivate static final longprivate static final intprivate static final longprivate longprivate static final longFields inherited from interface net.minecraft.util.math.random.BaseRandomDOUBLE_MULTIPLIER, FLOAT_MULTIPLIERFields inherited from interface net.minecraft.util.math.random.Randomfield_38930
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.math.random.BaseRandomnextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLongMethods inherited from interface net.minecraft.util.math.random.RandomnextBetween, nextBetweenExclusive, nextTriangular, skip
- 
Field Details- 
INT_BITSprivate static final int INT_BITS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldia;d:I- intermediary - field_34689- Lnet/minecraft/class_6575;field_34689:I- named - INT_BITS- Lnet/minecraft/util/math/random/LocalRandom;INT_BITS:I
 
- 
SEED_MASKprivate static final long SEED_MASK- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - e- Ldia;e:J- intermediary - field_34690- Lnet/minecraft/class_6575;field_34690:J- named - SEED_MASK- Lnet/minecraft/util/math/random/LocalRandom;SEED_MASK:J
 
- 
MULTIPLIERprivate static final long MULTIPLIER- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldia;f:J- intermediary - field_34691- Lnet/minecraft/class_6575;field_34691:J- named - MULTIPLIER- Lnet/minecraft/util/math/random/LocalRandom;MULTIPLIER:J
 
- 
INCREMENTprivate static final long INCREMENT- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - g- Ldia;g:J- intermediary - field_34692- Lnet/minecraft/class_6575;field_34692:J- named - INCREMENT- Lnet/minecraft/util/math/random/LocalRandom;INCREMENT:J
 
- 
seedprivate long seed- Mappings:
- Namespace - Name - Mixin selector - official - h- Ldia;h:J- intermediary - field_34693- Lnet/minecraft/class_6575;field_34693:J- named - seed- Lnet/minecraft/util/math/random/LocalRandom;seed:J
 
- 
gaussianGenerator- Mappings:
- Namespace - Name - Mixin selector - official - i- Ldia;i:Ldhm;- intermediary - field_35136- Lnet/minecraft/class_6575;field_35136:Lnet/minecraft/class_6672;- named - gaussianGenerator- Lnet/minecraft/util/math/random/LocalRandom;gaussianGenerator:Lnet/minecraft/util/math/random/GaussianGenerator;
 
 
- 
- 
Constructor Details- 
LocalRandompublic LocalRandom(long seed) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldia;<init>(J)V- intermediary - <init>- Lnet/minecraft/class_6575;<init>(J)V- named - <init>- Lnet/minecraft/util/math/random/LocalRandom;<init>(J)V
 
 
- 
- 
Method Details- 
split
- 
nextSplitter- Specified by:
- nextSplitterin interface- Random
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lapf;e()Ldhx;- intermediary - method_38421- Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;- named - nextSplitter- Lnet/minecraft/util/math/random/Random;nextSplitter()Lnet/minecraft/util/math/random/RandomSplitter;
 
- 
setSeedpublic void setSeed(long seed) 
- 
nextpublic int next(int bits) - Specified by:
- nextin interface- BaseRandom
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldgz;c(I)I- intermediary - method_43156- Lnet/minecraft/class_6566;method_43156(I)I- named - next- Lnet/minecraft/util/math/random/BaseRandom;next(I)I
 
- 
nextGaussianpublic double nextGaussian()- Specified by:
- nextGaussianin interface- Random
- Mappings:
- Namespace - Name - Mixin selector - official - k- Lapf;k()D- intermediary - method_43059- Lnet/minecraft/class_5819;method_43059()D- named - nextGaussian- Lnet/minecraft/util/math/random/Random;nextGaussian()D
 
 
-