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 csv
intermediary net/minecraft/class_5820
named net/minecraft/world/gen/random/AtomicSimpleRandom
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GaussianGenerator
private static final long
private static final int
private static final long
private final AtomicLong
private static final long
Fields inherited from interface net.minecraft.world.gen.random.BaseSimpleRandom
DOUBLE_MULTIPLIER, FLOAT_MULTIPLIER
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.random.AbstractRandom
nextBetween, skip
Methods 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 c
Lcsv;c:I
intermediary field_31471
Lnet/minecraft/class_5820;field_31471:I
named INT_BITS
Lnet/minecraft/world/gen/random/AtomicSimpleRandom;INT_BITS:I
-
SEED_MASK
private static final long SEED_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcsv;d:J
intermediary field_31472
Lnet/minecraft/class_5820;field_31472:J
named SEED_MASK
Lnet/minecraft/world/gen/random/AtomicSimpleRandom;SEED_MASK:J
-
MULTIPLIER
private static final long MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcsv;e:J
intermediary field_31473
Lnet/minecraft/class_5820;field_31473:J
named MULTIPLIER
Lnet/minecraft/world/gen/random/AtomicSimpleRandom;MULTIPLIER:J
-
INCREMENT
private static final long INCREMENT- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lcsv;f:J
intermediary field_31474
Lnet/minecraft/class_5820;field_31474:J
named INCREMENT
Lnet/minecraft/world/gen/random/AtomicSimpleRandom;INCREMENT:J
-
seed
- Mappings:
Namespace Name Mixin selector official g
Lcsv;g:Ljava/util/concurrent/atomic/AtomicLong;
intermediary field_28766
Lnet/minecraft/class_5820;field_28766:Ljava/util/concurrent/atomic/AtomicLong;
named seed
Lnet/minecraft/world/gen/random/AtomicSimpleRandom;seed:Ljava/util/concurrent/atomic/AtomicLong;
-
gaussianGenerator
- Mappings:
Namespace Name Mixin selector official h
Lcsv;h:Lcsw;
intermediary field_35124
Lnet/minecraft/class_5820;field_35124:Lnet/minecraft/class_6672;
named gaussianGenerator
Lnet/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>
Lcsv;<init>(J)V
intermediary <init>
Lnet/minecraft/class_5820;<init>(J)V
named <init>
Lnet/minecraft/world/gen/random/AtomicSimpleRandom;<init>(J)V
-
-
Method Details
-
derive
- Specified by:
derive
in interfaceAbstractRandom
- Mappings:
Namespace Name Mixin selector official a
Lcti;a()Lcti;
intermediary method_38420
Lnet/minecraft/class_5819;method_38420()Lnet/minecraft/class_5819;
named derive
Lnet/minecraft/world/gen/random/AbstractRandom;derive()Lnet/minecraft/world/gen/random/AbstractRandom;
-
createRandomDeriver
- Specified by:
createRandomDeriver
in interfaceAbstractRandom
- Mappings:
Namespace Name Mixin selector official b
Lcti;b()Lcth;
intermediary method_38421
Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;
named createRandomDeriver
Lnet/minecraft/world/gen/random/AbstractRandom;createRandomDeriver()Lnet/minecraft/world/gen/random/RandomDeriver;
-
setSeed
public void setSeed(long seed) - Specified by:
setSeed
in interfaceAbstractRandom
- Mappings:
Namespace Name Mixin selector official setSeed
Lcti;setSeed(J)V
intermediary setSeed
Lnet/minecraft/class_5819;setSeed(J)V
named setSeed
Lnet/minecraft/world/gen/random/AbstractRandom;setSeed(J)V
-
next
public int next(int bits) - Specified by:
next
in interfaceBaseSimpleRandom
- Mappings:
Namespace Name Mixin selector official a
Lcsl;a(I)I
intermediary method_33651
Lnet/minecraft/class_6566;method_33651(I)I
named next
Lnet/minecraft/world/gen/random/BaseSimpleRandom;next(I)I
-
nextGaussian
public double nextGaussian()- Specified by:
nextGaussian
in interfaceAbstractRandom
-