Package net.minecraft.client.font
Enum Class Alignment
- All Implemented Interfaces:
Serializable,Comparable<Alignment>,Constable
- Mappings:
Namespace Name named net/minecraft/client/font/Alignmentintermediary net/minecraft/class_11735official ggf
-
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 TypeMethodDescriptionabstract intgetAdjustedX(int x, int width) intmethod_75792(int int2, TextRenderer textRenderer, OrderedText orderedText) static AlignmentReturns the enum constant of this class with the specified name.static Alignment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
- Mappings:
Namespace Name Mixin selector named LEFTLnet/minecraft/client/font/Alignment;LEFT:Lnet/minecraft/client/font/Alignment;intermediary field_62009Lnet/minecraft/class_11735;field_62009:Lnet/minecraft/class_11735;official aLggf;a:Lggf;
-
CENTER
- Mappings:
Namespace Name Mixin selector named CENTERLnet/minecraft/client/font/Alignment;CENTER:Lnet/minecraft/client/font/Alignment;intermediary field_62010Lnet/minecraft/class_11735;field_62010:Lnet/minecraft/class_11735;official bLggf;b:Lggf;
-
RIGHT
- Mappings:
Namespace Name Mixin selector named RIGHTLnet/minecraft/client/font/Alignment;RIGHT:Lnet/minecraft/client/font/Alignment;intermediary field_62011Lnet/minecraft/class_11735;field_62011:Lnet/minecraft/class_11735;official cLggf;c:Lggf;
-
-
Constructor Details
-
Alignment
private Alignment()
-
-
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
-
getAdjustedX
public abstract int getAdjustedX(int x, int width) - Mappings:
Namespace Name Mixin selector named getAdjustedXLnet/minecraft/client/font/Alignment;getAdjustedX(II)Iintermediary method_73214Lnet/minecraft/class_11735;method_73214(II)Iofficial aLggf;a(II)I
-
method_75792
- Mappings:
Namespace Name Mixin selector named method_75792Lnet/minecraft/client/font/Alignment;method_75792(ILnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/OrderedText;)Iintermediary method_75792Lnet/minecraft/class_11735;method_75792(ILnet/minecraft/class_327;Lnet/minecraft/class_5481;)Iofficial aLggf;a(ILgga;Lbfs;)I
-