Enum Class WorldBorderStage

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

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

    • GROWING

      public static final WorldBorderStage GROWING
      Mappings:
      Namespace Name Mixin selector
      official a Lddh;a:Lddh;
      intermediary field_12754 Lnet/minecraft/class_2789;field_12754:Lnet/minecraft/class_2789;
      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 Lddh;b:Lddh;
      intermediary field_12756 Lnet/minecraft/class_2789;field_12756:Lnet/minecraft/class_2789;
      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 Lddh;c:Lddh;
      intermediary field_12753 Lnet/minecraft/class_2789;field_12753:Lnet/minecraft/class_2789;
      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 Lddh;d:I
      intermediary field_12755 Lnet/minecraft/class_2789;field_12755:I
      named color Lnet/minecraft/world/border/WorldBorderStage;color:I
  • Constructor Details

    • WorldBorderStage

      private WorldBorderStage(int color)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddh;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_2789;<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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WorldBorderStage valueOf(String name)
      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
    • getColor

      public int getColor()
      Mappings:
      Namespace Name Mixin selector
      official a Lddh;a()I
      intermediary method_11999 Lnet/minecraft/class_2789;method_11999()I
      named getColor Lnet/minecraft/world/border/WorldBorderStage;getColor()I