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

    • field_31471

      private static final int field_31471
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcqg;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:
      Mappings:
      Namespace Name Mixin selector
      official b Lcqg;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:
      Mappings:
      Namespace Name Mixin selector
      official c Lcqg;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:
      Mappings:
      Namespace Name Mixin selector
      official d Lcqg;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:
      Mappings:
      Namespace Name Mixin selector
      official e Lcqg;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:
      Mappings:
      Namespace Name Mixin selector
      official f Lcqg;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 Lcqg;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 Lcqg;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 Lcqg;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> Lcqg;<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)
      Specified by:
      setSeed in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official setSeed Lcqf;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 Lcqg;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
    • nextInt

      public int nextInt(int bound)
      Specified by:
      nextInt in interface WorldGenRandom
      Mappings:
      Namespace Name Mixin selector
      official nextInt Lcqf;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
    • nextBoolean

      public boolean nextBoolean()
      Specified by:
      nextBoolean in interface WorldGenRandom
    • nextFloat

      public float nextFloat()
      Specified by:
      nextFloat in interface WorldGenRandom
    • nextDouble

      public double nextDouble()
      Specified by:
      nextDouble in interface WorldGenRandom
    • nextGaussian

      public double nextGaussian()
      Specified by:
      nextGaussian in interface WorldGenRandom