Package net.minecraft.world.gen.random
Class SimpleRandom
java.lang.Object
net.minecraft.world.gen.random.SimpleRandom
- All Implemented Interfaces:
AbstractRandom
,BaseSimpleRandom
- Mappings:
Namespace Name official csc
intermediary net/minecraft/class_6575
named net/minecraft/world/gen/random/SimpleRandom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final long
private static final int
private static final long
private double
private long
private static final long
Fields 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, wait
Methods inherited from interface net.minecraft.world.gen.random.AbstractRandom
createBlockPosRandomDeriver, 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
Lcsc;c:I
intermediary field_34689
Lnet/minecraft/class_6575;field_34689:I
named INT_BITS
Lnet/minecraft/world/gen/random/SimpleRandom;INT_BITS:I
-
SEED_MASK
private static final long SEED_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcsc;d:J
intermediary field_34690
Lnet/minecraft/class_6575;field_34690:J
named SEED_MASK
Lnet/minecraft/world/gen/random/SimpleRandom;SEED_MASK:J
-
MULTIPLIER
private static final long MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcsc;e:J
intermediary field_34691
Lnet/minecraft/class_6575;field_34691:J
named MULTIPLIER
Lnet/minecraft/world/gen/random/SimpleRandom;MULTIPLIER:J
-
INCREMENT
private static final long INCREMENT- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lcsc;f:J
intermediary field_34692
Lnet/minecraft/class_6575;field_34692:J
named INCREMENT
Lnet/minecraft/world/gen/random/SimpleRandom;INCREMENT:J
-
seed
private long seed- Mappings:
Namespace Name Mixin selector official g
Lcsc;g:J
intermediary field_34693
Lnet/minecraft/class_6575;field_34693:J
named seed
Lnet/minecraft/world/gen/random/SimpleRandom;seed:J
-
nextNextGaussian
private double nextNextGaussian- Mappings:
Namespace Name Mixin selector official h
Lcsc;h:D
intermediary field_34694
Lnet/minecraft/class_6575;field_34694:D
named nextNextGaussian
Lnet/minecraft/world/gen/random/SimpleRandom;nextNextGaussian:D
-
hasNextGaussian
private boolean hasNextGaussian- Mappings:
Namespace Name Mixin selector official i
Lcsc;i:Z
intermediary field_34695
Lnet/minecraft/class_6575;field_34695:Z
named hasNextGaussian
Lnet/minecraft/world/gen/random/SimpleRandom;hasNextGaussian:Z
-
-
Constructor Details
-
SimpleRandom
public SimpleRandom(long seed) - Mappings:
Namespace Name Mixin selector official <init>
Lcsc;<init>(J)V
intermediary <init>
Lnet/minecraft/class_6575;<init>(J)V
named <init>
Lnet/minecraft/world/gen/random/SimpleRandom;<init>(J)V
-
-
Method Details
-
derive
- Specified by:
derive
in interfaceAbstractRandom
- Mappings:
Namespace Name Mixin selector official a
Lcsa;a()Lcsa;
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;
-
setSeed
public void setSeed(long seed) - Specified by:
setSeed
in interfaceAbstractRandom
- Mappings:
Namespace Name Mixin selector official setSeed
Lcsa;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
Lcrd;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
-