Package net.minecraft.world.gen
Class SimpleRandom
java.lang.Object
net.minecraft.world.gen.SimpleRandom
- All Implemented Interfaces:
WorldGenRandom
- Mappings:
Namespace Name official cqgintermediary net/minecraft/class_5820named net/minecraft/world/gen/SimpleRandom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static intprivate static longprivate static longprivate static longprivate static floatprivate static doubleprivate doubleprivate booleanprivate AtomicLong -
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.WorldGenRandom
skip
-
Field Details
-
field_31471
private static final int field_31471- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLcqg;a:Iintermediary field_31471Lnet/minecraft/class_5820;field_31471:Inamed field_31471Lnet/minecraft/world/gen/SimpleRandom;field_31471:I
-
field_31472
private static final long field_31472- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLcqg;b:Jintermediary field_31472Lnet/minecraft/class_5820;field_31472:Jnamed field_31472Lnet/minecraft/world/gen/SimpleRandom;field_31472:J
-
field_31473
private static final long field_31473- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLcqg;c:Jintermediary field_31473Lnet/minecraft/class_5820;field_31473:Jnamed field_31473Lnet/minecraft/world/gen/SimpleRandom;field_31473:J
-
field_31474
private static final long field_31474- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official dLcqg;d:Jintermediary field_31474Lnet/minecraft/class_5820;field_31474:Jnamed field_31474Lnet/minecraft/world/gen/SimpleRandom;field_31474:J
-
field_31475
private static final float field_31475- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official eLcqg;e:Fintermediary field_31475Lnet/minecraft/class_5820;field_31475:Fnamed field_31475Lnet/minecraft/world/gen/SimpleRandom;field_31475:F
-
field_31476
private static final double field_31476- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official fLcqg;f:Dintermediary field_31476Lnet/minecraft/class_5820;field_31476:Dnamed field_31476Lnet/minecraft/world/gen/SimpleRandom;field_31476:D
-
seed
- Mappings:
Namespace Name Mixin selector official gLcqg;g:Ljava/util/concurrent/atomic/AtomicLong;intermediary field_28766Lnet/minecraft/class_5820;field_28766:Ljava/util/concurrent/atomic/AtomicLong;named seedLnet/minecraft/world/gen/SimpleRandom;seed:Ljava/util/concurrent/atomic/AtomicLong;
-
field_31477
private double field_31477- Mappings:
Namespace Name Mixin selector official hLcqg;h:Dintermediary field_31477Lnet/minecraft/class_5820;field_31477:Dnamed field_31477Lnet/minecraft/world/gen/SimpleRandom;field_31477:D
-
field_31478
private boolean field_31478- Mappings:
Namespace Name Mixin selector official iLcqg;i:Zintermediary field_31478Lnet/minecraft/class_5820;field_31478:Znamed field_31478Lnet/minecraft/world/gen/SimpleRandom;field_31478:Z
-
-
Constructor Details
-
SimpleRandom
public SimpleRandom(long seed)- Mappings:
Namespace Name Mixin selector official <init>Lcqg;<init>(J)Vintermediary <init>Lnet/minecraft/class_5820;<init>(J)Vnamed <init>Lnet/minecraft/world/gen/SimpleRandom;<init>(J)V
-
-
Method Details
-
setSeed
public void setSeed(long seed)- Specified by:
setSeedin interfaceWorldGenRandom- Mappings:
Namespace Name Mixin selector official setSeedLcqf;setSeed(J)Vintermediary setSeedLnet/minecraft/class_5819;setSeed(J)Vnamed setSeedLnet/minecraft/world/gen/WorldGenRandom;setSeed(J)V
-
next
private int next(int bits)- Mappings:
Namespace Name Mixin selector official bLcqg;b(I)Iintermediary method_33651Lnet/minecraft/class_5820;method_33651(I)Inamed nextLnet/minecraft/world/gen/SimpleRandom;next(I)I
-
nextInt
public int nextInt()- Specified by:
nextIntin interfaceWorldGenRandom
-
nextInt
public int nextInt(int bound)- Specified by:
nextIntin interfaceWorldGenRandom- Mappings:
Namespace Name Mixin selector official nextIntLcqf;nextInt(I)Iintermediary nextIntLnet/minecraft/class_5819;nextInt(I)Inamed nextIntLnet/minecraft/world/gen/WorldGenRandom;nextInt(I)I
-
nextLong
public long nextLong()- Specified by:
nextLongin interfaceWorldGenRandom
-
nextBoolean
public boolean nextBoolean()- Specified by:
nextBooleanin interfaceWorldGenRandom
-
nextFloat
public float nextFloat()- Specified by:
nextFloatin interfaceWorldGenRandom
-
nextDouble
public double nextDouble()- Specified by:
nextDoublein interfaceWorldGenRandom
-
nextGaussian
public double nextGaussian()- Specified by:
nextGaussianin interfaceWorldGenRandom
-