Package net.minecraft.client.gui.widget
Enum Class 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$TextOverflowintermediary net/minecraft/class_7842$class_11764official gey$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextWidget.TextOverflowReturns the enum constant of this class with the specified name.static TextWidget.TextOverflow[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLAMPED
- Mappings:
Namespace Name Mixin selector named CLAMPEDLnet/minecraft/client/gui/widget/TextWidget$TextOverflow;CLAMPED:Lnet/minecraft/client/gui/widget/TextWidget$TextOverflow;intermediary field_62126Lnet/minecraft/class_7842$class_11764;field_62126:Lnet/minecraft/class_7842$class_11764;official aLgey$a;a:Lgey$a;
-
SCROLLING
- Mappings:
Namespace Name Mixin selector named SCROLLINGLnet/minecraft/client/gui/widget/TextWidget$TextOverflow;SCROLLING:Lnet/minecraft/client/gui/widget/TextWidget$TextOverflow;intermediary field_62127Lnet/minecraft/class_7842$class_11764;field_62127:Lnet/minecraft/class_7842$class_11764;official bLgey$a;b:Lgey$a;
-
-
Constructor Details
-
TextOverflow
private TextOverflow()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-