Package net.minecraft.util.math.random
Enum Class ChunkRandom.RandomProvider
java.lang.Object
java.lang.Enum<ChunkRandom.RandomProvider>
net.minecraft.util.math.random.ChunkRandom.RandomProvider
- All Implemented Interfaces:
Serializable
,Comparable<ChunkRandom.RandomProvider>
,Constable
- Enclosing class:
ChunkRandom
- Mappings:
Namespace Name named net/minecraft/util/math/random/ChunkRandom$RandomProvider
intermediary net/minecraft/class_2919$class_6675
official dzu$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(long seed) static ChunkRandom.RandomProvider
Returns the enum constant of this class with the specified name.static ChunkRandom.RandomProvider[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEGACY
- Mappings:
Namespace Name Mixin selector named LEGACY
Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;LEGACY:Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;
intermediary field_35142
Lnet/minecraft/class_2919$class_6675;field_35142:Lnet/minecraft/class_2919$class_6675;
official a
Ldzu$a;a:Ldzu$a;
-
XOROSHIRO
- Mappings:
Namespace Name Mixin selector named XOROSHIRO
Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;XOROSHIRO:Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;
intermediary field_35143
Lnet/minecraft/class_2919$class_6675;field_35143:Lnet/minecraft/class_2919$class_6675;
official b
Ldzu$a;b:Ldzu$a;
-
-
Field Details
-
provider
- Mappings:
Namespace Name Mixin selector named provider
Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;provider:Ljava/util/function/LongFunction;
intermediary field_35144
Lnet/minecraft/class_2919$class_6675;field_35144:Ljava/util/function/LongFunction;
official c
Ldzu$a;c:Ljava/util/function/LongFunction;
-
-
Constructor Details
-
RandomProvider
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;<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
official <init>
Ldzu$a;<init>(Ljava/lang/String;ILjava/util/function/LongFunction;)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/random/ChunkRandom$RandomProvider;create(J)Lnet/minecraft/util/math/random/Random;
intermediary method_39006
Lnet/minecraft/class_2919$class_6675;method_39006(J)Lnet/minecraft/class_5819;
official a
Ldzu$a;a(J)Layv;
-