Package net.minecraft.world.border
Enum Class WorldBorderStage
- All Implemented Interfaces:
Serializable,Comparable<WorldBorderStage>,Constable
- Mappings:
Namespace Name official arvintermediary net/minecraft/class_2249named net/minecraft/world/border/WorldBorderStage
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()static WorldBorderStageReturns 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 official aLarv;a:Larv;intermediary field_9928Lnet/minecraft/class_2249;field_9928:Lnet/minecraft/class_2249;named GROWINGLnet/minecraft/world/border/WorldBorderStage;GROWING:Lnet/minecraft/world/border/WorldBorderStage;
-
SHRINKING
- Mappings:
Namespace Name Mixin selector official bLarv;b:Larv;intermediary field_9929Lnet/minecraft/class_2249;field_9929:Lnet/minecraft/class_2249;named SHRINKINGLnet/minecraft/world/border/WorldBorderStage;SHRINKING:Lnet/minecraft/world/border/WorldBorderStage;
-
STATIONARY
- Mappings:
Namespace Name Mixin selector official cLarv;c:Larv;intermediary field_9930Lnet/minecraft/class_2249;field_9930:Lnet/minecraft/class_2249;named STATIONARYLnet/minecraft/world/border/WorldBorderStage;STATIONARY:Lnet/minecraft/world/border/WorldBorderStage;
-
-
Field Details
-
color
private final int color- Mappings:
Namespace Name Mixin selector official dLarv;d:Iintermediary field_9931Lnet/minecraft/class_2249;field_9931:Inamed colorLnet/minecraft/world/border/WorldBorderStage;color:I
-
-
Constructor Details
-
WorldBorderStage
private WorldBorderStage(int color) - Mappings:
Namespace Name Mixin selector official <init>Larv;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_2249;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/world/border/WorldBorderStage;<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
- Mappings:
Namespace Name Mixin selector official aLarv;a()Iintermediary method_9090Lnet/minecraft/class_2249;method_9090()Inamed getColorLnet/minecraft/world/border/WorldBorderStage;getColor()I
-