Class RandomSequence

java.lang.Object
net.minecraft.util.math.random.RandomSequence

public class RandomSequence extends Object
Mappings:
Namespace Name
official bhd
intermediary net/minecraft/class_8564
named net/minecraft/util/math/random/RandomSequence
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<RandomSequence> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lbhd;a:Lcom/mojang/serialization/Codec;
      intermediary field_44859 Lnet/minecraft/class_8564;field_44859:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/random/RandomSequence;CODEC:Lcom/mojang/serialization/Codec;
    • source

      private final Xoroshiro128PlusPlusRandom source
      Mappings:
      Namespace Name Mixin selector
      official b Lbhd;b:Ldlt;
      intermediary field_44860 Lnet/minecraft/class_8564;field_44860:Lnet/minecraft/class_6677;
      named source Lnet/minecraft/util/math/random/RandomSequence;source:Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandom;
  • Constructor Details

    • RandomSequence

      public RandomSequence(Xoroshiro128PlusPlusRandom source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbhd;<init>(Ldlt;)V
      intermediary <init> Lnet/minecraft/class_8564;<init>(Lnet/minecraft/class_6677;)V
      named <init> Lnet/minecraft/util/math/random/RandomSequence;<init>(Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandom;)V
    • RandomSequence

      public RandomSequence(long seed, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbhd;<init>(JLaew;)V
      intermediary <init> Lnet/minecraft/class_8564;<init>(JLnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/util/math/random/RandomSequence;<init>(JLnet/minecraft/util/Identifier;)V
    • RandomSequence

      public RandomSequence(long seed, Optional<Identifier> id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbhd;<init>(JLjava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_8564;<init>(JLjava/util/Optional;)V
      named <init> Lnet/minecraft/util/math/random/RandomSequence;<init>(JLjava/util/Optional;)V
  • Method Details

    • createSource

      private static Xoroshiro128PlusPlusRandom createSource(long seed, Optional<Identifier> id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhd;a(JLjava/util/Optional;)Ldlt;
      intermediary method_52189 Lnet/minecraft/class_8564;method_52189(JLjava/util/Optional;)Lnet/minecraft/class_6677;
      named createSource Lnet/minecraft/util/math/random/RandomSequence;createSource(JLjava/util/Optional;)Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandom;
    • createSeed

      public static RandomSeed.XoroshiroSeed createSeed(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhd;a(Laew;)Ldlh$a;
      intermediary method_52171 Lnet/minecraft/class_8564;method_52171(Lnet/minecraft/class_2960;)Lnet/minecraft/class_6673$class_6674;
      named createSeed Lnet/minecraft/util/math/random/RandomSequence;createSeed(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/math/random/RandomSeed$XoroshiroSeed;
    • getSource

      public Random getSource()
      Mappings:
      Namespace Name Mixin selector
      official a Lbhd;a()Lasc;
      intermediary method_51839 Lnet/minecraft/class_8564;method_51839()Lnet/minecraft/class_5819;
      named getSource Lnet/minecraft/util/math/random/RandomSequence;getSource()Lnet/minecraft/util/math/random/Random;