Class SimpleRandom

java.lang.Object
net.minecraft.world.gen.random.SimpleRandom
All Implemented Interfaces:
AbstractRandom, BaseSimpleRandom

public class SimpleRandom extends Object implements BaseSimpleRandom
Mappings:
Namespace Name
official cxx
intermediary net/minecraft/class_6575
named net/minecraft/world/gen/random/SimpleRandom
  • Field Details

    • INT_BITS

      private static final int INT_BITS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcxx;c:I
      intermediary field_34689 Lnet/minecraft/class_6575;field_34689:I
      named INT_BITS Lnet/minecraft/world/gen/random/SimpleRandom;INT_BITS:I
    • SEED_MASK

      private static final long SEED_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lcxx;d:J
      intermediary field_34690 Lnet/minecraft/class_6575;field_34690:J
      named SEED_MASK Lnet/minecraft/world/gen/random/SimpleRandom;SEED_MASK:J
    • MULTIPLIER

      private static final long MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lcxx;e:J
      intermediary field_34691 Lnet/minecraft/class_6575;field_34691:J
      named MULTIPLIER Lnet/minecraft/world/gen/random/SimpleRandom;MULTIPLIER:J
    • INCREMENT

      private static final long INCREMENT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcxx;f:J
      intermediary field_34692 Lnet/minecraft/class_6575;field_34692:J
      named INCREMENT Lnet/minecraft/world/gen/random/SimpleRandom;INCREMENT:J
    • seed

      private long seed
      Mappings:
      Namespace Name Mixin selector
      official g Lcxx;g:J
      intermediary field_34693 Lnet/minecraft/class_6575;field_34693:J
      named seed Lnet/minecraft/world/gen/random/SimpleRandom;seed:J
    • gaussianGenerator

      private final GaussianGenerator gaussianGenerator
      Mappings:
      Namespace Name Mixin selector
      official h Lcxx;h:Lcxj;
      intermediary field_35136 Lnet/minecraft/class_6575;field_35136:Lnet/minecraft/class_6672;
      named gaussianGenerator Lnet/minecraft/world/gen/random/SimpleRandom;gaussianGenerator:Lnet/minecraft/world/gen/random/GaussianGenerator;
  • Constructor Details

    • SimpleRandom

      public SimpleRandom(long seed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxx;<init>(J)V
      intermediary <init> Lnet/minecraft/class_6575;<init>(J)V
      named <init> Lnet/minecraft/world/gen/random/SimpleRandom;<init>(J)V
  • Method Details

    • derive

      public AbstractRandom derive()
      Specified by:
      derive in interface AbstractRandom
      Mappings:
      Namespace Name Mixin selector
      official d Laki;d()Laki;
      intermediary method_38420 Lnet/minecraft/class_5819;method_38420()Lnet/minecraft/class_5819;
      named derive Lnet/minecraft/world/gen/random/AbstractRandom;derive()Lnet/minecraft/world/gen/random/AbstractRandom;
    • createRandomDeriver

      public RandomDeriver createRandomDeriver()
      Specified by:
      createRandomDeriver in interface AbstractRandom
      Mappings:
      Namespace Name Mixin selector
      official e Laki;e()Lcxu;
      intermediary method_38421 Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;
      named createRandomDeriver Lnet/minecraft/world/gen/random/AbstractRandom;createRandomDeriver()Lnet/minecraft/world/gen/random/RandomDeriver;
    • setSeed

      public void setSeed(long seed)
      Specified by:
      setSeed in interface AbstractRandom
      Mappings:
      Namespace Name Mixin selector
      official b Laki;b(J)V
      intermediary method_43052 Lnet/minecraft/class_5819;method_43052(J)V
      named setSeed Lnet/minecraft/world/gen/random/AbstractRandom;setSeed(J)V
    • method_43156

      public int method_43156(int int2)
      Specified by:
      method_43156 in interface BaseSimpleRandom
      Mappings:
      Namespace Name Mixin selector
      official c Lcww;c(I)I
      intermediary method_43156 Lnet/minecraft/class_6566;method_43156(I)I
      named method_43156 Lnet/minecraft/world/gen/random/BaseSimpleRandom;method_43156(I)I
    • nextGaussian

      public double nextGaussian()
      Specified by:
      nextGaussian in interface AbstractRandom
      Mappings:
      Namespace Name Mixin selector
      official k Laki;k()D
      intermediary method_43059 Lnet/minecraft/class_5819;method_43059()D
      named nextGaussian Lnet/minecraft/world/gen/random/AbstractRandom;nextGaussian()D