Enum Class ChunkRandom.RandomProvider

java.lang.Object
java.lang.Enum<ChunkRandom.RandomProvider>
net.minecraft.world.gen.random.ChunkRandom.RandomProvider
All Implemented Interfaces:
Serializable, Comparable<ChunkRandom.RandomProvider>, Constable
Enclosing class:
ChunkRandom

public static enum ChunkRandom.RandomProvider extends Enum<ChunkRandom.RandomProvider>
Mappings:
Namespace Name
official cts$a
intermediary net/minecraft/class_2919$class_6675
named net/minecraft/world/gen/random/ChunkRandom$RandomProvider
  • Enum Constant Details

    • LEGACY

      public static final ChunkRandom.RandomProvider LEGACY
      Mappings:
      Namespace Name Mixin selector
      official a Lcts$a;a:Lcts$a;
      intermediary field_35142 Lnet/minecraft/class_2919$class_6675;field_35142:Lnet/minecraft/class_2919$class_6675;
      named LEGACY Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;LEGACY:Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;
    • XOROSHIRO

      public static final ChunkRandom.RandomProvider XOROSHIRO
      Mappings:
      Namespace Name Mixin selector
      official b Lcts$a;b:Lcts$a;
      intermediary field_35143 Lnet/minecraft/class_2919$class_6675;field_35143:Lnet/minecraft/class_2919$class_6675;
      named XOROSHIRO Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;XOROSHIRO:Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;
  • Field Details

    • provider

      private final LongFunction<AbstractRandom> provider
      Mappings:
      Namespace Name Mixin selector
      official c Lcts$a;c:Ljava/util/function/LongFunction;
      intermediary field_35144 Lnet/minecraft/class_2919$class_6675;field_35144:Ljava/util/function/LongFunction;
      named provider Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;provider:Ljava/util/function/LongFunction;
  • Constructor Details

    • RandomProvider

      private RandomProvider(LongFunction<AbstractRandom> provider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcts$a;<init>(Ljava/lang/String;ILjava/util/function/LongFunction;)V
      intermediary <init> Lnet/minecraft/class_2919$class_6675;<init>(Ljava/lang/String;ILjava/util/function/LongFunction;)V
      named <init> Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;<init>(Ljava/lang/String;ILjava/util/function/LongFunction;)V
  • Method Details

    • values

      public static ChunkRandom.RandomProvider[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChunkRandom.RandomProvider valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • create

      public AbstractRandom create(long seed)
      Mappings:
      Namespace Name Mixin selector
      official a Lcts$a;a(J)Lcti;
      intermediary method_39006 Lnet/minecraft/class_2919$class_6675;method_39006(J)Lnet/minecraft/class_5819;
      named create Lnet/minecraft/world/gen/random/ChunkRandom$RandomProvider;create(J)Lnet/minecraft/world/gen/random/AbstractRandom;