Enum WorldBorderStage

java.lang.Object
java.lang.Enum<WorldBorderStage>
net.minecraft.world.border.WorldBorderStage
All Implemented Interfaces:
Serializable, Comparable<WorldBorderStage>, java.lang.constant.Constable

public enum WorldBorderStage
extends Enum<WorldBorderStage>
Mappings:
Namespace Name
official amr
intermediary net/minecraft/class_394
named net/minecraft/world/border/WorldBorderStage
  • Enum Constant Details

    • GROWING

      public static final WorldBorderStage GROWING
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a:Lamr;
      intermediary field_1544 Lnet/minecraft/class_394;field_1544:Lnet/minecraft/class_394;
      named GROWING Lnet/minecraft/world/border/WorldBorderStage;GROWING:Lnet/minecraft/world/border/WorldBorderStage;
    • SHRINKING

      public static final WorldBorderStage SHRINKING
      Mappings:
      Namespace Name Mixin selector
      official b Lamr;b:Lamr;
      intermediary field_1545 Lnet/minecraft/class_394;field_1545:Lnet/minecraft/class_394;
      named SHRINKING Lnet/minecraft/world/border/WorldBorderStage;SHRINKING:Lnet/minecraft/world/border/WorldBorderStage;
    • STATIONARY

      public static final WorldBorderStage STATIONARY
      Mappings:
      Namespace Name Mixin selector
      official c Lamr;c:Lamr;
      intermediary field_1546 Lnet/minecraft/class_394;field_1546:Lnet/minecraft/class_394;
      named STATIONARY Lnet/minecraft/world/border/WorldBorderStage;STATIONARY:Lnet/minecraft/world/border/WorldBorderStage;
  • Field Details

    • color

      private final int color
      Mappings:
      Namespace Name Mixin selector
      official d Lamr;d:I
      intermediary field_1547 Lnet/minecraft/class_394;field_1547:I
      named color Lnet/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)V
      intermediary <init> Lnet/minecraft/class_394;<init>(Ljava/lang/String;II)V
      named <init> Lnet/minecraft/world/border/WorldBorderStage;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static WorldBorderStage[] 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

      public static WorldBorderStage valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getColor

      @Environment(CLIENT) public int getColor()
      Mappings:
      Namespace Name Mixin selector
      official a Lamr;a()I
      intermediary method_1289 Lnet/minecraft/class_394;method_1289()I
      named getColor Lnet/minecraft/world/border/WorldBorderStage;getColor()I