Class RandomSequence

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

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

    • CODEC

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

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

    • RandomSequence

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

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

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

    • createSource

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

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

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