Enum Class DrawContext.GuiType

java.lang.Object
java.lang.Enum<DrawContext.GuiType>
net.minecraft.client.gui.DrawContext.GuiType
All Implemented Interfaces:
Serializable, Comparable<DrawContext.GuiType>, Constable
Enclosing class:
DrawContext

@Environment(CLIENT) public static enum DrawContext.GuiType extends Enum<DrawContext.GuiType>
Mappings:
Namespace Name
named net/minecraft/client/gui/DrawContext$GuiType
intermediary net/minecraft/class_332$class_11222
official fub$a
  • Enum Constant Details

    • HUD

      public static final DrawContext.GuiType HUD
      Mappings:
      Namespace Name Mixin selector
      named HUD Lnet/minecraft/client/gui/DrawContext$GuiType;HUD:Lnet/minecraft/client/gui/DrawContext$GuiType;
      intermediary field_59829 Lnet/minecraft/class_332$class_11222;field_59829:Lnet/minecraft/class_332$class_11222;
      official a Lfub$a;a:Lfub$a;
    • SCREEN

      public static final DrawContext.GuiType SCREEN
      Mappings:
      Namespace Name Mixin selector
      named SCREEN Lnet/minecraft/client/gui/DrawContext$GuiType;SCREEN:Lnet/minecraft/client/gui/DrawContext$GuiType;
      intermediary field_59830 Lnet/minecraft/class_332$class_11222;field_59830:Lnet/minecraft/class_332$class_11222;
      official b Lfub$a;b:Lfub$a;
  • Constructor Details

    • GuiType

      private GuiType()
  • Method Details

    • values

      public static DrawContext.GuiType[] 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 DrawContext.GuiType 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