Package net.minecraft.world.gen.random
Class AtomicSimpleRandom
java.lang.Object
net.minecraft.world.gen.random.AtomicSimpleRandom
- All Implemented Interfaces:
AbstractRandom,BaseSimpleRandom
- Direct Known Subclasses:
ChunkRandom
- Mappings:
Namespace Name official cxvintermediary net/minecraft/class_5820named net/minecraft/world/gen/random/AtomicSimpleRandom
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GaussianGeneratorprivate static final longprivate static final intprivate static final longprivate final AtomicLongprivate static final longFields inherited from interface net.minecraft.util.math.random.AbstractRandom
field_38930Fields inherited from interface net.minecraft.util.math.random.BaseSimpleRandom
DOUBLE_MULTIPLIER, FLOAT_MULTIPLIER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.math.random.AbstractRandom
method_43385, nextBetween, nextBetweenExclusive, skipMethods inherited from interface net.minecraft.util.math.random.BaseSimpleRandom
nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong
-
Field Details
-
INT_BITS
private static final int INT_BITS- See Also:
- Mappings:
Namespace Name Mixin selector official dLcxv;d:Iintermediary field_31471Lnet/minecraft/class_5820;field_31471:Inamed INT_BITSLnet/minecraft/world/gen/random/AtomicSimpleRandom;INT_BITS:I
-
SEED_MASK
private static final long SEED_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official eLcxv;e:Jintermediary field_31472Lnet/minecraft/class_5820;field_31472:Jnamed SEED_MASKLnet/minecraft/world/gen/random/AtomicSimpleRandom;SEED_MASK:J
-
MULTIPLIER
private static final long MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official fLcxv;f:Jintermediary field_31473Lnet/minecraft/class_5820;field_31473:Jnamed MULTIPLIERLnet/minecraft/world/gen/random/AtomicSimpleRandom;MULTIPLIER:J
-
INCREMENT
private static final long INCREMENT- See Also:
- Mappings:
Namespace Name Mixin selector official gLcxv;g:Jintermediary field_31474Lnet/minecraft/class_5820;field_31474:Jnamed INCREMENTLnet/minecraft/world/gen/random/AtomicSimpleRandom;INCREMENT:J
-
seed
- Mappings:
Namespace Name Mixin selector official hLcxv;h:Ljava/util/concurrent/atomic/AtomicLong;intermediary field_28766Lnet/minecraft/class_5820;field_28766:Ljava/util/concurrent/atomic/AtomicLong;named seedLnet/minecraft/world/gen/random/AtomicSimpleRandom;seed:Ljava/util/concurrent/atomic/AtomicLong;
-
gaussianGenerator
- Mappings:
Namespace Name Mixin selector official iLcxv;i:Lcxw;intermediary field_35124Lnet/minecraft/class_5820;field_35124:Lnet/minecraft/class_6672;named gaussianGeneratorLnet/minecraft/world/gen/random/AtomicSimpleRandom;gaussianGenerator:Lnet/minecraft/world/gen/random/GaussianGenerator;
-
-
Constructor Details
-
AtomicSimpleRandom
public AtomicSimpleRandom(long seed) - Mappings:
Namespace Name Mixin selector official <init>Lcxv;<init>(J)Vintermediary <init>Lnet/minecraft/class_5820;<init>(J)Vnamed <init>Lnet/minecraft/world/gen/random/AtomicSimpleRandom;<init>(J)V
-
-
Method Details
-
derive
- Specified by:
derivein interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official dLakq;d()Lakq;intermediary method_38420Lnet/minecraft/class_5819;method_38420()Lnet/minecraft/class_5819;named deriveLnet/minecraft/util/math/random/AbstractRandom;derive()Lnet/minecraft/util/math/random/AbstractRandom;
-
createRandomDeriver
- Specified by:
createRandomDeriverin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official eLakq;e()Lcyh;intermediary method_38421Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;named createRandomDeriverLnet/minecraft/util/math/random/AbstractRandom;createRandomDeriver()Lnet/minecraft/util/math/random/RandomDeriver;
-
setSeed
public void setSeed(long seed) - Specified by:
setSeedin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official bLakq;b(J)Vintermediary method_43052Lnet/minecraft/class_5819;method_43052(J)Vnamed setSeedLnet/minecraft/util/math/random/AbstractRandom;setSeed(J)V
-
next
public int next(int bits) - Specified by:
nextin interfaceBaseSimpleRandom- Mappings:
Namespace Name Mixin selector official cLcxj;c(I)Iintermediary method_43156Lnet/minecraft/class_6566;method_43156(I)Inamed nextLnet/minecraft/util/math/random/BaseSimpleRandom;next(I)I
-
nextGaussian
public double nextGaussian()- Specified by:
nextGaussianin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official kLakq;k()Dintermediary method_43059Lnet/minecraft/class_5819;method_43059()Dnamed nextGaussianLnet/minecraft/util/math/random/AbstractRandom;nextGaussian()D
-