Package net.minecraft

Record Class class_11909

java.lang.Object
java.lang.Record
net.minecraft.class_11909
Record Components:
x -
y -
buttonInfo -
All Implemented Interfaces:
class_11907

@Environment(CLIENT) public record class_11909(double x, double y, class_11910 buttonInfo) extends Record implements class_11907
Mappings:
Namespace Name
named net/minecraft/class_11909
intermediary net/minecraft/class_11909
official gsk
named x
intermediary comp_4798
official b
named y
intermediary comp_4799
official c
named buttonInfo
intermediary comp_4800
official d
  • Field Details

    • x

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

      private final double y
      The field for the y record component.
    • buttonInfo

      private final class_11910 buttonInfo
      The field for the buttonInfo record component.
  • Constructor Details

    • class_11909

      public class_11909(double double2, double double3, class_11910 class_11910)
  • Method Details

    • method_74228

      public int method_74228()
      Specified by:
      method_74228 in interface class_11907
      Mappings:
      Namespace Name Mixin selector
      named method_74228 Lnet/minecraft/class_11907;method_74228()I
      intermediary method_74228 Lnet/minecraft/class_11907;method_74228()I
      official a Lgsi;a()I
    • method_74245

      public int method_74245()
      Mappings:
      Namespace Name Mixin selector
      named method_74245 Lnet/minecraft/class_11909;method_74245()I
      intermediary method_74245 Lnet/minecraft/class_11909;method_74245()I
      official s Lgsk;s()I
    • modifiers

      public int modifiers()
      Specified by:
      modifiers in interface class_11907
      Mappings:
      Namespace Name Mixin selector
      named modifiers Lnet/minecraft/class_11907;modifiers()I
      intermediary comp_4797 Lnet/minecraft/class_11907;comp_4797()I
      official b Lgsi;b()I
    • 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 double x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public double y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component
    • buttonInfo

      public class_11910 buttonInfo()
      Returns the value of the buttonInfo record component.
      Returns:
      the value of the buttonInfo record component