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 cpc
intermediary net/minecraft/class_5820
named net/minecraft/world/gen/SimpleRandom
  • Field Details

    • field_31471

      private static final int field_31471
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lcpc;a:I
      intermediary field_31471 Lnet/minecraft/class_5820;field_31471:I
      named field_31471 Lnet/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 b Lcpc;b:J
      intermediary field_31472 Lnet/minecraft/class_5820;field_31472:J
      named field_31472 Lnet/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 c Lcpc;c:J
      intermediary field_31473 Lnet/minecraft/class_5820;field_31473:J
      named field_31473 Lnet/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 d Lcpc;d:J
      intermediary field_31474 Lnet/minecraft/class_5820;field_31474:J
      named field_31474 Lnet/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 e Lcpc;e:F
      intermediary field_31475 Lnet/minecraft/class_5820;field_31475:F
      named field_31475 Lnet/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 f Lcpc;f:D
      intermediary field_31476 Lnet/minecraft/class_5820;field_31476:D
      named field_31476 Lnet/minecraft/world/gen/SimpleRandom;field_31476:D
    • seed

      private final AtomicLong seed
      Mappings:
      Namespace Name Mixin selector
      official g Lcpc;g: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;
    • field_31477

      private double field_31477
      Mappings:
      Namespace Name Mixin selector
      official h Lcpc;h:D
      intermediary field_31477 Lnet/minecraft/class_5820;field_31477:D
      named field_31477 Lnet/minecraft/world/gen/SimpleRandom;field_31477:D
    • field_31478

      private boolean field_31478
      Mappings:
      Namespace Name Mixin selector
      official i Lcpc;i:Z
      intermediary field_31478 Lnet/minecraft/class_5820;field_31478:Z
      named field_31478 Lnet/minecraft/world/gen/SimpleRandom;field_31478:Z
  • Constructor Details

    • SimpleRandom

      public SimpleRandom​(long seed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpc;<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 long2)
      Specified by:
      setSeed in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official setSeed Lcpb;setSeed(J)V
      intermediary setSeed Lnet/minecraft/class_5819;setSeed(J)V
      named setSeed Lnet/minecraft/world/gen/WorldGenRandom;setSeed(J)V
    • next

      private int next​(int bits)
      Mappings:
      Namespace Name Mixin selector
      official b Lcpc;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 interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextInt Lcpb;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 interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextInt Lcpb;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 interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextLong Lcpb;nextLong()J
      intermediary nextLong Lnet/minecraft/class_5819;nextLong()J
      named nextLong Lnet/minecraft/world/gen/WorldGenRandom;nextLong()J
    • nextBoolean

      public boolean nextBoolean()
      Specified by:
      nextBoolean in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextBoolean Lcpb;nextBoolean()Z
      intermediary nextBoolean Lnet/minecraft/class_5819;nextBoolean()Z
      named nextBoolean Lnet/minecraft/world/gen/WorldGenRandom;nextBoolean()Z
    • nextFloat

      public float nextFloat()
      Specified by:
      nextFloat in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextFloat Lcpb;nextFloat()F
      intermediary nextFloat Lnet/minecraft/class_5819;nextFloat()F
      named nextFloat Lnet/minecraft/world/gen/WorldGenRandom;nextFloat()F
    • nextDouble

      public double nextDouble()
      Specified by:
      nextDouble in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextDouble Lcpb;nextDouble()D
      intermediary nextDouble Lnet/minecraft/class_5819;nextDouble()D
      named nextDouble Lnet/minecraft/world/gen/WorldGenRandom;nextDouble()D
    • nextGaussian

      public double nextGaussian()
      Specified by:
      nextGaussian in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextGaussian Lcpb;nextGaussian()D
      intermediary nextGaussian Lnet/minecraft/class_5819;nextGaussian()D
      named nextGaussian Lnet/minecraft/world/gen/WorldGenRandom;nextGaussian()D