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_12237
intermediary net/minecraft/class_12237
official gla
named x
intermediary comp_5154
official c
named y
intermediary comp_5155
official d
named advance
intermediary comp_5156
official e
named ascent
intermediary comp_5157
official f
named height
intermediary comp_5158
official g
named style
intermediary comp_3317
official h
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final float
    The field for the advance record component.
    private final float
    The field for the ascent record component.
    static final float
     
    static final float
     
    private final float
    The field for the height record component.
    private final Style
    The field for the style record component.
    private final float
    The field for the x record component.
    private final float
    The field for the y record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    class_12237(float x, float y, float advance, float ascent, float height, Style style)
    Creates an instance of a class_12237 record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Returns the value of the advance record component.
    float
    Returns the value of the ascent record component.
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    float
    Returns the value of the height record component.
    float
     
    float
     
    float
     
    float
     
    Returns the value of the style record component.
    final String
    Returns a string representation of this record class.
    float
    x()
    Returns the value of the x record component.
    float
    y()
    Returns the value of the y record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • x

      private final float x
      The field for the x record component.
    • y

      private final float y
      The field for the y record component.
    • advance

      private final float advance
      The field for the advance record component.
    • ascent

      private final float ascent
      The field for the ascent record component.
    • height

      private final float height
      The field for the height record component.
    • style

      private final Style style
      The field for the style record component.
    • field_63886

      public static final float field_63886
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_63886 Lnet/minecraft/class_12237;field_63886:F
      intermediary field_63886 Lnet/minecraft/class_12237;field_63886:F
      official a Lgla;a:F
    • field_63887

      public static final float field_63887
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_63887 Lnet/minecraft/class_12237;field_63887:F
      intermediary field_63887 Lnet/minecraft/class_12237;field_63887:F
      official b Lgla;b:F
  • Constructor Details

    • class_12237

      public class_12237(float x, float y, float advance, float ascent, float height, Style style)
      Creates an instance of a class_12237 record class.
      Parameters:
      x - the value for the x record component
      y - the value for the y record component
      advance - the value for the advance record component
      ascent - the value for the ascent record component
      height - the value for the height record component
      style - the value for the style record component
  • Method Details

    • method_75818

      public float method_75818()
      Specified by:
      method_75818 in interface class_12236
      Mappings:
      Namespace Name Mixin selector
      named method_75818 Lnet/minecraft/class_12236;method_75818()F
      intermediary method_75818 Lnet/minecraft/class_12236;method_75818()F
      official b Lgkw;b()F
    • method_75819

      public float method_75819()
      Specified by:
      method_75819 in interface class_12236
      Mappings:
      Namespace Name Mixin selector
      named method_75819 Lnet/minecraft/class_12236;method_75819()F
      intermediary method_75819 Lnet/minecraft/class_12236;method_75819()F
      official c Lgkw;c()F
    • method_75820

      public float method_75820()
      Specified by:
      method_75820 in interface class_12236
      Mappings:
      Namespace Name Mixin selector
      named method_75820 Lnet/minecraft/class_12236;method_75820()F
      intermediary method_75820 Lnet/minecraft/class_12236;method_75820()F
      official d Lgkw;d()F
    • method_75821

      public float method_75821()
      Specified by:
      method_75821 in interface class_12236
      Mappings:
      Namespace Name Mixin selector
      named method_75821 Lnet/minecraft/class_12236;method_75821()F
      intermediary method_75821 Lnet/minecraft/class_12236;method_75821()F
      official e Lgkw;e()F
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • x

      public float x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public float y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • advance

      public float advance()
      Returns the value of the advance record component.
      Returns:
      the value of the advance record component
    • ascent

      public float ascent()
      Returns the value of the ascent record component.
      Returns:
      the value of the ascent record component
    • height

      public float height()
      Returns the value of the height record component.
      Returns:
      the value of the height record component
    • style

      public Style style()
      Returns the value of the style record component.
      Specified by:
      style in interface class_12236
      Returns:
      the value of the style record component