Package net.minecraft.world.gen
Class SimpleRandom
java.lang.Object
net.minecraft.world.gen.SimpleRandom
- All Implemented Interfaces:
WorldGenRandom
public class SimpleRandom extends Object implements WorldGenRandom
- Mappings:
Namespace Name official cmzintermediary net/minecraft/class_5820named net/minecraft/world/gen/SimpleRandom
-
Field Summary
Fields Modifier and Type Field Description private booleanfield_28767private AtomicLongseed -
Constructor Summary
Constructors Constructor Description SimpleRandom(long seed) -
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
-
seed
- Mappings:
Namespace Name Mixin selector official aLcmz;a: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_28767
private boolean field_28767- Mappings:
Namespace Name Mixin selector official cLcmz;c:Zintermediary field_28767Lnet/minecraft/class_5820;field_28767:Znamed field_28767Lnet/minecraft/world/gen/SimpleRandom;field_28767:Z
-
-
Constructor Details
-
SimpleRandom
public SimpleRandom(long seed)- Mappings:
Namespace Name Mixin selector official <init>Lcmz;<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)- Mappings:
Namespace Name Mixin selector official setSeedLcmz;setSeed(J)Vintermediary setSeedLnet/minecraft/class_5820;setSeed(J)Vnamed setSeedLnet/minecraft/world/gen/SimpleRandom;setSeed(J)V
-
next
private int next(int bits)- Mappings:
Namespace Name Mixin selector official bLcmz;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- Mappings:
Namespace Name Mixin selector official nextIntLcmy;nextInt()Iintermediary nextIntLnet/minecraft/class_5819;nextInt()Inamed nextIntLnet/minecraft/world/gen/WorldGenRandom;nextInt()I
-
nextInt
public int nextInt(int bound)- Specified by:
nextIntin interfaceWorldGenRandom- Mappings:
Namespace Name Mixin selector official nextIntLcmy;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- Mappings:
Namespace Name Mixin selector official nextLongLcmy;nextLong()Jintermediary nextLongLnet/minecraft/class_5819;nextLong()Jnamed nextLongLnet/minecraft/world/gen/WorldGenRandom;nextLong()J
-
nextDouble
public double nextDouble()- Specified by:
nextDoublein interfaceWorldGenRandom- Mappings:
Namespace Name Mixin selector official nextDoubleLcmy;nextDouble()Dintermediary nextDoubleLnet/minecraft/class_5819;nextDouble()Dnamed nextDoubleLnet/minecraft/world/gen/WorldGenRandom;nextDouble()D
-