Package net.minecraft.world.gen.random
Class AtomicSimpleRandom
java.lang.Object
net.minecraft.world.gen.random.AtomicSimpleRandom
- All Implemented Interfaces:
AbstractRandom,BaseSimpleRandom
- Mappings:
Namespace Name official csbintermediary net/minecraft/class_5820named net/minecraft/world/gen/random/AtomicSimpleRandom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final longprivate static final intprivate static final longprivate doubleprivate final AtomicLongprivate static final longFields inherited from interface net.minecraft.world.gen.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.world.gen.random.AbstractRandom
createBlockPosRandomDeriver, skipMethods inherited from interface net.minecraft.world.gen.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 cLcsb;c: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 dLcsb;d: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 eLcsb;e: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 fLcsb;f:Jintermediary field_31474Lnet/minecraft/class_5820;field_31474:Jnamed INCREMENTLnet/minecraft/world/gen/random/AtomicSimpleRandom;INCREMENT:J
-
seed
- Mappings:
Namespace Name Mixin selector official gLcsb;g: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;
-
nextNextGaussian
private double nextNextGaussian- Mappings:
Namespace Name Mixin selector official hLcsb;h:Dintermediary field_31477Lnet/minecraft/class_5820;field_31477:Dnamed nextNextGaussianLnet/minecraft/world/gen/random/AtomicSimpleRandom;nextNextGaussian:D
-
hasNextGaussian
private boolean hasNextGaussian- Mappings:
Namespace Name Mixin selector official iLcsb;i:Zintermediary field_31478Lnet/minecraft/class_5820;field_31478:Znamed hasNextGaussianLnet/minecraft/world/gen/random/AtomicSimpleRandom;hasNextGaussian:Z
-
-
Constructor Details
-
AtomicSimpleRandom
public AtomicSimpleRandom(long seed) - Mappings:
Namespace Name Mixin selector official <init>Lcsb;<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 aLcsa;a()Lcsa;intermediary method_38420Lnet/minecraft/class_5819;method_38420()Lnet/minecraft/class_5819;named deriveLnet/minecraft/world/gen/random/AbstractRandom;derive()Lnet/minecraft/world/gen/random/AbstractRandom;
-
setSeed
public void setSeed(long seed) - Specified by:
setSeedin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official setSeedLcsa;setSeed(J)Vintermediary setSeedLnet/minecraft/class_5819;setSeed(J)Vnamed setSeedLnet/minecraft/world/gen/random/AbstractRandom;setSeed(J)V
-
next
public int next(int bits) - Specified by:
nextin interfaceBaseSimpleRandom- Mappings:
Namespace Name Mixin selector official aLcrd;a(I)Iintermediary method_33651Lnet/minecraft/class_6566;method_33651(I)Inamed nextLnet/minecraft/world/gen/random/BaseSimpleRandom;next(I)I
-
nextGaussian
public double nextGaussian()- Specified by:
nextGaussianin interfaceAbstractRandom
-