Package net.minecraft.world.border
Enum WorldBorderStage
- All Implemented Interfaces:
Serializable,Comparable<WorldBorderStage>,java.lang.constant.Constable
public enum WorldBorderStage extends Enum<WorldBorderStage>
- Mappings:
Namespace Name official amrintermediary net/minecraft/class_394named 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 Enum Constant Description GROWINGSHRINKINGSTATIONARY -
Field Summary
Fields Modifier and Type Field Description private intcolor -
Constructor Summary
Constructors Modifier Constructor Description privateWorldBorderStage(int color) -
Method Summary
Modifier and Type Method Description intgetColor()static WorldBorderStagevalueOf(String name)Returns the enum constant of this type with the specified name.static WorldBorderStage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GROWING
- Mappings:
Namespace Name Mixin selector official aLamr;a:Lamr;intermediary field_1544Lnet/minecraft/class_394;field_1544:Lnet/minecraft/class_394;named GROWINGLnet/minecraft/world/border/WorldBorderStage;GROWING:Lnet/minecraft/world/border/WorldBorderStage;
-
SHRINKING
- Mappings:
Namespace Name Mixin selector official bLamr;b:Lamr;intermediary field_1545Lnet/minecraft/class_394;field_1545:Lnet/minecraft/class_394;named SHRINKINGLnet/minecraft/world/border/WorldBorderStage;SHRINKING:Lnet/minecraft/world/border/WorldBorderStage;
-
STATIONARY
- Mappings:
Namespace Name Mixin selector official cLamr;c:Lamr;intermediary field_1546Lnet/minecraft/class_394;field_1546:Lnet/minecraft/class_394;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 dLamr;d:Iintermediary field_1547Lnet/minecraft/class_394;field_1547:Inamed colorLnet/minecraft/world/border/WorldBorderStage;color:I
-
-
Constructor Details
-
WorldBorderStage
private WorldBorderStage(int color)- Mappings:
Namespace Name Mixin selector official <init>Lamr;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_394;<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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getColor
- Mappings:
Namespace Name Mixin selector official aLamr;a()Iintermediary method_1289Lnet/minecraft/class_394;method_1289()Inamed getColorLnet/minecraft/world/border/WorldBorderStage;getColor()I
-