JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Field Summary
Fields
static final com.mojang.serialization.Codec<SpreadType >
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns the unique string representation of the enum, used for serialization.
int
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
LINEAR
Mappings:
Namespace
Name
Mixin selector
official
a
Leac;a:Leac;
intermediary
field_36421
Lnet/minecraft/class_6873;field_36421:Lnet/minecraft/class_6873;
named
LINEAR
Lnet/minecraft/world/gen/chunk/placement/SpreadType;LINEAR:Lnet/minecraft/world/gen/chunk/placement/SpreadType;
TRIANGULAR
Mappings:
Namespace
Name
Mixin selector
official
b
Leac;b:Leac;
intermediary
field_36422
Lnet/minecraft/class_6873;field_36422:Lnet/minecraft/class_6873;
named
TRIANGULAR
Lnet/minecraft/world/gen/chunk/placement/SpreadType;TRIANGULAR:Lnet/minecraft/world/gen/chunk/placement/SpreadType;
Field Details
CODEC
public static final com.mojang.serialization.Codec<SpreadType > CODEC
Mappings:
Namespace
Name
Mixin selector
official
c
Leac;c:Lcom/mojang/serialization/Codec;
intermediary
field_36423
Lnet/minecraft/class_6873;field_36423:Lcom/mojang/serialization/Codec;
named
CODEC
Lnet/minecraft/world/gen/chunk/placement/SpreadType;CODEC:Lcom/mojang/serialization/Codec;
name
Mappings:
Namespace
Name
Mixin selector
official
d
Leac;d:Ljava/lang/String;
intermediary
field_36425
Lnet/minecraft/class_6873;field_36425:Ljava/lang/String;
named
name
Lnet/minecraft/world/gen/chunk/placement/SpreadType;name:Ljava/lang/String;
Constructor Details
SpreadType
private SpreadType (String name)
Mappings:
Namespace
Name
Mixin selector
official
<init>
Leac;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary
<init>
Lnet/minecraft/class_6873;<init>(Ljava/lang/String;ILjava/lang/String;)V
named
<init>
Lnet/minecraft/world/gen/chunk/placement/SpreadType;<init>(Ljava/lang/String;ILjava/lang/String;)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 name
NullPointerException
- if the argument is null
asString
Returns the unique string representation of the enum, used for serialization.
Specified by:
asString
in interface StringIdentifiable
Returns:
the unique string representation of the enum, used for serialization
Mappings:
Namespace
Name
Mixin selector
official
c
Lavk;c()Ljava/lang/String;
intermediary
method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named
asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
get
public int get (Random random,
int bound)
Mappings:
Namespace
Name
Mixin selector
official
a
Leac;a(Lauv;I)I
intermediary
method_40173
Lnet/minecraft/class_6873;method_40173(Lnet/minecraft/class_5819;I)I
named
get
Lnet/minecraft/world/gen/chunk/placement/SpreadType;get(Lnet/minecraft/util/math/random/Random;I)I