Class RandomSequence

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

public class RandomSequence extends Object
Mappings:
Namespace Name
official bec
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 Lbec;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 Lbec;b:Ldil;
      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> Lbec;<init>(Ldil;)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> Lbec;<init>(JLacq;)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
  • Method Details

    • createSource

      private static Xoroshiro128PlusPlusRandom createSource(long seed, Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbec;a(JLacq;)Ldil;
      intermediary method_52189 Lnet/minecraft/class_8564;method_52189(JLnet/minecraft/class_2960;)Lnet/minecraft/class_6677;
      named createSource Lnet/minecraft/util/math/random/RandomSequence;createSource(JLnet/minecraft/util/Identifier;)Lnet/minecraft/util/math/random/Xoroshiro128PlusPlusRandom;
    • createSeed

      public static RandomSeed.XoroshiroSeed createSeed(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbec;a(Lacq;)Ldhz$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 Lbec;a()Lapf;
      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;