类 SimpleRandom
- java.lang.Object
-
- net.minecraft.world.gen.SimpleRandom
-
- 所有已实现的接口:
WorldGenRandom
public class SimpleRandom extends Object implements WorldGenRandom
- Mappings:
Namespace Name official cpcintermediary net/minecraft/class_5820named net/minecraft/world/gen/SimpleRandom
-
-
字段概要
字段 修饰符和类型 字段 说明 private static intfield_31471private static longfield_31472private static longfield_31473private static longfield_31474private static floatfield_31475private static doublefield_31476private doublefield_31477private booleanfield_31478private AtomicLongseed
-
构造器概要
构造器 构造器 说明 SimpleRandom(long seed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private intnext(int bits)booleannextBoolean()doublenextDouble()floatnextFloat()doublenextGaussian()intnextInt()intnextInt(int bound)longnextLong()voidsetSeed(long long2)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.gen.WorldGenRandom
skip
-
-
-
-
字段详细资料
-
field_31471
private static final int field_31471
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcpc;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLcpc;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLcpc;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLcpc;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLcpc;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
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLcpc;f:Dintermediary field_31476Lnet/minecraft/class_5820;field_31476:Dnamed field_31476Lnet/minecraft/world/gen/SimpleRandom;field_31476:D
-
seed
private final AtomicLong seed
- Mappings:
Namespace Name Mixin selector official gLcpc;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 hLcpc;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 iLcpc;i:Zintermediary field_31478Lnet/minecraft/class_5820;field_31478:Znamed field_31478Lnet/minecraft/world/gen/SimpleRandom;field_31478:Z
-
-
方法详细资料
-
setSeed
public void setSeed(long long2)
- 指定者:
setSeed在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official setSeedLcpb;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 bLcpc;b(I)Iintermediary method_33651Lnet/minecraft/class_5820;method_33651(I)Inamed nextLnet/minecraft/world/gen/SimpleRandom;next(I)I
-
nextInt
public int nextInt()
- 指定者:
nextInt在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextIntLcpb;nextInt()Iintermediary nextIntLnet/minecraft/class_5819;nextInt()Inamed nextIntLnet/minecraft/world/gen/WorldGenRandom;nextInt()I
-
nextInt
public int nextInt(int bound)
- 指定者:
nextInt在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextIntLcpb;nextInt(I)Iintermediary nextIntLnet/minecraft/class_5819;nextInt(I)Inamed nextIntLnet/minecraft/world/gen/WorldGenRandom;nextInt(I)I
-
nextLong
public long nextLong()
- 指定者:
nextLong在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextLongLcpb;nextLong()Jintermediary nextLongLnet/minecraft/class_5819;nextLong()Jnamed nextLongLnet/minecraft/world/gen/WorldGenRandom;nextLong()J
-
nextBoolean
public boolean nextBoolean()
- 指定者:
nextBoolean在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextBooleanLcpb;nextBoolean()Zintermediary nextBooleanLnet/minecraft/class_5819;nextBoolean()Znamed nextBooleanLnet/minecraft/world/gen/WorldGenRandom;nextBoolean()Z
-
nextFloat
public float nextFloat()
- 指定者:
nextFloat在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextFloatLcpb;nextFloat()Fintermediary nextFloatLnet/minecraft/class_5819;nextFloat()Fnamed nextFloatLnet/minecraft/world/gen/WorldGenRandom;nextFloat()F
-
nextDouble
public double nextDouble()
- 指定者:
nextDouble在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextDoubleLcpb;nextDouble()Dintermediary nextDoubleLnet/minecraft/class_5819;nextDouble()Dnamed nextDoubleLnet/minecraft/world/gen/WorldGenRandom;nextDouble()D
-
nextGaussian
public double nextGaussian()
- 指定者:
nextGaussian在接口中WorldGenRandom- Mappings:
Namespace Name Mixin selector official nextGaussianLcpb;nextGaussian()Dintermediary nextGaussianLnet/minecraft/class_5819;nextGaussian()Dnamed nextGaussianLnet/minecraft/world/gen/WorldGenRandom;nextGaussian()D
-
-