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 cnx
intermediary net/minecraft/class_5820
named net/minecraft/world/gen/SimpleRandom
-
Field Summary
Fields Modifier and Type Field Description private AtomicLong
seed
-
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, wait
Methods inherited from interface net.minecraft.world.gen.WorldGenRandom
skip
-
Field Details
-
seed
- Mappings:
Namespace Name Mixin selector official a
Lcnx;a: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/SimpleRandom;seed:Ljava/util/concurrent/atomic/AtomicLong;
-
-
Constructor Details
-
SimpleRandom
public SimpleRandom(long seed)- Mappings:
Namespace Name Mixin selector official <init>
Lcnx;<init>(J)V
intermediary <init>
Lnet/minecraft/class_5820;<init>(J)V
named <init>
Lnet/minecraft/world/gen/SimpleRandom;<init>(J)V
-
-
Method Details
-
setSeed
public void setSeed(long seed)- Mappings:
Namespace Name Mixin selector official setSeed
Lcnx;setSeed(J)V
intermediary setSeed
Lnet/minecraft/class_5820;setSeed(J)V
named setSeed
Lnet/minecraft/world/gen/SimpleRandom;setSeed(J)V
-
next
private int next(int bits)- Mappings:
Namespace Name Mixin selector official b
Lcnx;b(I)I
intermediary method_33651
Lnet/minecraft/class_5820;method_33651(I)I
named next
Lnet/minecraft/world/gen/SimpleRandom;next(I)I
-
nextInt
public int nextInt()- Specified by:
nextInt
in interfaceWorldGenRandom
- Mappings:
Namespace Name Mixin selector official nextInt
Lcnw;nextInt()I
intermediary nextInt
Lnet/minecraft/class_5819;nextInt()I
named nextInt
Lnet/minecraft/world/gen/WorldGenRandom;nextInt()I
-
nextInt
public int nextInt(int bound)- Specified by:
nextInt
in interfaceWorldGenRandom
- Mappings:
Namespace Name Mixin selector official nextInt
Lcnw;nextInt(I)I
intermediary nextInt
Lnet/minecraft/class_5819;nextInt(I)I
named nextInt
Lnet/minecraft/world/gen/WorldGenRandom;nextInt(I)I
-
nextLong
public long nextLong()- Specified by:
nextLong
in interfaceWorldGenRandom
- Mappings:
Namespace Name Mixin selector official nextLong
Lcnw;nextLong()J
intermediary nextLong
Lnet/minecraft/class_5819;nextLong()J
named nextLong
Lnet/minecraft/world/gen/WorldGenRandom;nextLong()J
-
nextDouble
public double nextDouble()- Specified by:
nextDouble
in interfaceWorldGenRandom
- Mappings:
Namespace Name Mixin selector official nextDouble
Lcnw;nextDouble()D
intermediary nextDouble
Lnet/minecraft/class_5819;nextDouble()D
named nextDouble
Lnet/minecraft/world/gen/WorldGenRandom;nextDouble()D
-