Package net.minecraft

Record Class class_8029

java.lang.Object
java.lang.Record
net.minecraft.class_8029
Record Components:
x -
y -

@Environment(CLIENT) public record class_8029(int x, int y) extends Record
Mappings:
Namespace Name
official eok
intermediary net/minecraft/class_8029
named net/minecraft/class_8029
official a
intermediary comp_1193
named x
official b
intermediary comp_1194
named y
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The field for the x record component.
    private final int
    The field for the y record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    class_8029(int int2, int int3)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    int
     
    static class_8029
    method_48246(class_8027 class_8027, int int2, int int3)
     
     
    final String
    Returns a string representation of this record class.
    int
    x()
    Returns the value of the x record component.
    int
    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 int x
      The field for the x record component.
    • y

      private final int y
      The field for the y record component.
  • Constructor Details

    • class_8029

      public class_8029(int int2, int int3)
  • Method Details

    • method_48246

      public static class_8029 method_48246(class_8027 class_8027, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(Leoi;II)Leok;
      intermediary method_48246 Lnet/minecraft/class_8029;method_48246(Lnet/minecraft/class_8027;II)Lnet/minecraft/class_8029;
      named method_48246 Lnet/minecraft/class_8029;method_48246(Lnet/minecraft/class_8027;II)Lnet/minecraft/class_8029;
    • method_48247

      public class_8029 method_48247(class_8028 class_8028)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(Leoj;)Leok;
      intermediary method_48247 Lnet/minecraft/class_8029;method_48247(Lnet/minecraft/class_8028;)Lnet/minecraft/class_8029;
      named method_48247 Lnet/minecraft/class_8029;method_48247(Lnet/minecraft/class_8028;)Lnet/minecraft/class_8029;
    • method_48245

      public int method_48245(class_8027 class_8027)
      Mappings:
      Namespace Name Mixin selector
      official a Leok;a(Leoi;)I
      intermediary method_48245 Lnet/minecraft/class_8029;method_48245(Lnet/minecraft/class_8027;)I
      named method_48245 Lnet/minecraft/class_8029;method_48245(Lnet/minecraft/class_8027;)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. All components in this record class 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 int x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • y

      public int y()
      Returns the value of the y record component.
      Returns:
      the value of the y record component