Package net.minecraft.world.border
Enum Class WorldBorderStage
- All Implemented Interfaces:
Serializable
,Comparable<WorldBorderStage>
,Constable
- Mappings:
Namespace Name named net/minecraft/world/border/WorldBorderStage
intermediary net/minecraft/class_2789
official dzj
-
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 TypeMethodDescriptionint
getColor()
static WorldBorderStage
Returns the enum constant of this class with the specified name.static WorldBorderStage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GROWING
- Mappings:
Namespace Name Mixin selector named GROWING
Lnet/minecraft/world/border/WorldBorderStage;GROWING:Lnet/minecraft/world/border/WorldBorderStage;
intermediary field_12754
Lnet/minecraft/class_2789;field_12754:Lnet/minecraft/class_2789;
official a
Ldzj;a:Ldzj;
-
SHRINKING
- Mappings:
Namespace Name Mixin selector named SHRINKING
Lnet/minecraft/world/border/WorldBorderStage;SHRINKING:Lnet/minecraft/world/border/WorldBorderStage;
intermediary field_12756
Lnet/minecraft/class_2789;field_12756:Lnet/minecraft/class_2789;
official b
Ldzj;b:Ldzj;
-
STATIONARY
- Mappings:
Namespace Name Mixin selector named STATIONARY
Lnet/minecraft/world/border/WorldBorderStage;STATIONARY:Lnet/minecraft/world/border/WorldBorderStage;
intermediary field_12753
Lnet/minecraft/class_2789;field_12753:Lnet/minecraft/class_2789;
official c
Ldzj;c:Ldzj;
-
-
Field Details
-
color
private final int color- Mappings:
Namespace Name Mixin selector named color
Lnet/minecraft/world/border/WorldBorderStage;color:I
intermediary field_12755
Lnet/minecraft/class_2789;field_12755:I
official d
Ldzj;d:I
-
-
Constructor Details
-
WorldBorderStage
private WorldBorderStage(int color) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/border/WorldBorderStage;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_2789;<init>(Ljava/lang/String;II)V
official <init>
Ldzj;<init>(Ljava/lang/String;II)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
-
getColor
public int getColor()- Mappings:
Namespace Name Mixin selector named getColor
Lnet/minecraft/world/border/WorldBorderStage;getColor()I
intermediary method_11999
Lnet/minecraft/class_2789;method_11999()I
official a
Ldzj;a()I
-