Enum RealmsLongConfirmationScreen.Type

java.lang.Object
java.lang.Enum<RealmsLongConfirmationScreen.Type>
net.minecraft.client.realms.gui.screen.RealmsLongConfirmationScreen.Type
All Implemented Interfaces:
Serializable, Comparable<RealmsLongConfirmationScreen.Type>, java.lang.constant.Constable
Enclosing class:
RealmsLongConfirmationScreen

@Environment(CLIENT)
public static enum RealmsLongConfirmationScreen.Type
extends Enum<RealmsLongConfirmationScreen.Type>
  • Enum Constant Details

  • Field Details

    • colorCode

      public final int colorCode
    • text

      public final String text
  • Constructor Details

    • Type

      private Type​(String text, int colorCode)
  • Method Details

    • values

      public static RealmsLongConfirmationScreen.Type[] 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 RealmsLongConfirmationScreen.Type 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