Enum Class TextWidget.TextOverflow

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

@Environment(CLIENT) public static enum TextWidget.TextOverflow extends Enum<TextWidget.TextOverflow>
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/TextWidget$TextOverflow
intermediary net/minecraft/class_7842$class_11764
official gey$a
  • Enum Constant Details

    • CLAMPED

      public static final TextWidget.TextOverflow CLAMPED
      Mappings:
      Namespace Name Mixin selector
      named CLAMPED Lnet/minecraft/client/gui/widget/TextWidget$TextOverflow;CLAMPED:Lnet/minecraft/client/gui/widget/TextWidget$TextOverflow;
      intermediary field_62126 Lnet/minecraft/class_7842$class_11764;field_62126:Lnet/minecraft/class_7842$class_11764;
      official a Lgey$a;a:Lgey$a;
    • SCROLLING

      public static final TextWidget.TextOverflow SCROLLING
      Mappings:
      Namespace Name Mixin selector
      named SCROLLING Lnet/minecraft/client/gui/widget/TextWidget$TextOverflow;SCROLLING:Lnet/minecraft/client/gui/widget/TextWidget$TextOverflow;
      intermediary field_62127 Lnet/minecraft/class_7842$class_11764;field_62127:Lnet/minecraft/class_7842$class_11764;
      official b Lgey$a;b:Lgey$a;
  • Constructor Details

    • TextOverflow

      private TextOverflow()
  • Method Details

    • values

      public static TextWidget.TextOverflow[] 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 TextWidget.TextOverflow 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