Package net.minecraft
Record Class class_12237
java.lang.Object
java.lang.Record
net.minecraft.class_12237
- Record Components:
x-y-advance-ascent-height-style-
- All Implemented Interfaces:
class_12236
@Environment(CLIENT)
public record class_12237(float x, float y, float advance, float ascent, float height, Style style)
extends Record
implements class_12236
- Mappings:
Namespace Name named net/minecraft/class_12237intermediary net/minecraft/class_12237official glanamed xintermediary comp_5154official cnamed yintermediary comp_5155official dnamed advanceintermediary comp_5156official enamed ascentintermediary comp_5157official fnamed heightintermediary comp_5158official gnamed styleintermediary comp_3317official h
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for theadvancerecord component.private final floatThe field for theascentrecord component.static final floatstatic final floatprivate final floatThe field for theheightrecord component.private final StyleThe field for thestylerecord component.private final floatThe field for thexrecord component.private final floatThe field for theyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_12237(float x, float y, float advance, float ascent, float height, Style style) Creates an instance of aclass_12237record class. -
Method Summary
Modifier and TypeMethodDescriptionfloatadvance()Returns the value of theadvancerecord component.floatascent()Returns the value of theascentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatheight()Returns the value of theheightrecord component.floatfloatfloatfloatstyle()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.floatx()Returns the value of thexrecord component.floaty()Returns the value of theyrecord component.
-
Field Details
-
x
private final float xThe field for thexrecord component. -
y
private final float yThe field for theyrecord component. -
advance
private final float advanceThe field for theadvancerecord component. -
ascent
private final float ascentThe field for theascentrecord component. -
height
private final float heightThe field for theheightrecord component. -
style
The field for thestylerecord component. -
field_63886
public static final float field_63886- See Also:
- Mappings:
Namespace Name Mixin selector named field_63886Lnet/minecraft/class_12237;field_63886:Fintermediary field_63886Lnet/minecraft/class_12237;field_63886:Fofficial aLgla;a:F
-
field_63887
public static final float field_63887- See Also:
- Mappings:
Namespace Name Mixin selector named field_63887Lnet/minecraft/class_12237;field_63887:Fintermediary field_63887Lnet/minecraft/class_12237;field_63887:Fofficial bLgla;b:F
-
-
Constructor Details
-
class_12237
Creates an instance of aclass_12237record class.
-
-
Method Details
-
method_75818
public float method_75818()- Specified by:
method_75818in interfaceclass_12236- Mappings:
Namespace Name Mixin selector named method_75818Lnet/minecraft/class_12236;method_75818()Fintermediary method_75818Lnet/minecraft/class_12236;method_75818()Fofficial bLgkw;b()F
-
method_75819
public float method_75819()- Specified by:
method_75819in interfaceclass_12236- Mappings:
Namespace Name Mixin selector named method_75819Lnet/minecraft/class_12236;method_75819()Fintermediary method_75819Lnet/minecraft/class_12236;method_75819()Fofficial cLgkw;c()F
-
method_75820
public float method_75820()- Specified by:
method_75820in interfaceclass_12236- Mappings:
Namespace Name Mixin selector named method_75820Lnet/minecraft/class_12236;method_75820()Fintermediary method_75820Lnet/minecraft/class_12236;method_75820()Fofficial dLgkw;d()F
-
method_75821
public float method_75821()- Specified by:
method_75821in interfaceclass_12236- Mappings:
Namespace Name Mixin selector named method_75821Lnet/minecraft/class_12236;method_75821()Fintermediary method_75821Lnet/minecraft/class_12236;method_75821()Fofficial eLgkw;e()F
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
x
public float x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public float y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
advance
public float advance()Returns the value of theadvancerecord component.- Returns:
- the value of the
advancerecord component
-
ascent
public float ascent()Returns the value of theascentrecord component.- Returns:
- the value of the
ascentrecord component
-
height
public float height()Returns the value of theheightrecord component.- Returns:
- the value of the
heightrecord component
-
style
Returns the value of thestylerecord component.- Specified by:
stylein interfaceclass_12236- Returns:
- the value of the
stylerecord component
-