Package net.minecraft

Enum class_5681

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

@Environment(CLIENT)
public enum class_5681
extends Enum<class_5681>
  • Enum Constant Details

    • field_27986

      public static final class_5681 field_27986
    • field_27987

      public static final class_5681 field_27987
    • field_27988

      public static final class_5681 field_27988
    • field_27989

      public static final class_5681 field_27989
  • Field Details

    • field_27990

      private final GameMode field_27990
    • field_27991

      private final Text field_27991
  • Constructor Details

    • class_5681

      private class_5681​(GameMode gameMode)
  • Method Details

    • values

      public static class_5681[] 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 class_5681 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
    • method_32636

      public GameMode method_32636()
    • method_32637

      public Text method_32637()