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 cnxintermediary net/minecraft/class_5820named net/minecraft/world/gen/SimpleRandom
-
Field Summary
Fields Modifier and Type Field Description private 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 aLcnx;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;
-
-
Constructor Details
-
SimpleRandom
public SimpleRandom(long seed)- Mappings:
Namespace Name Mixin selector official <init>Lcnx;<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 setSeedLcnx;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 bLcnx;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 nextIntLcnw;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 nextIntLcnw;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 nextLongLcnw;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 nextDoubleLcnw;nextDouble()Dintermediary nextDoubleLnet/minecraft/class_5819;nextDouble()Dnamed nextDoubleLnet/minecraft/world/gen/WorldGenRandom;nextDouble()D
-