Package net.minecraft

Record Class class_11587.class_11588

java.lang.Object
java.lang.Record
net.minecraft.class_11587.class_11588
Record Components:
pos -
All Implemented Interfaces:
class_11587.class_11589
Enclosing interface:
class_11587

public static record class_11587.class_11588(BlockPos pos) extends Record implements class_11587.class_11589
Mappings:
Namespace Name
named net/minecraft/class_11587$class_11588
intermediary net/minecraft/class_11587$class_11588
official dyi$a
named pos
intermediary comp_4437
official a
  • Field Details

    • pos

      private final BlockPos pos
      The field for the pos record component.
  • Constructor Details

    • class_11588

      public class_11588(BlockPos blockPos)
  • Method Details

    • method_72630

      public boolean method_72630()
      Specified by:
      method_72630 in interface class_11587.class_11589
      Mappings:
      Namespace Name Mixin selector
      named method_72630 Lnet/minecraft/class_11587$class_11589;method_72630()Z
      intermediary method_72630 Lnet/minecraft/class_11587$class_11589;method_72630()Z
      official a Ldyi$b;a()Z
    • method_72631

      public boolean method_72631(class_11598 class_11598)
      Specified by:
      method_72631 in interface class_11587.class_11589
      Mappings:
      Namespace Name Mixin selector
      named method_72631 Lnet/minecraft/class_11587$class_11589;method_72631(Lnet/minecraft/class_11598;)Z
      intermediary method_72631 Lnet/minecraft/class_11587$class_11589;method_72631(Lnet/minecraft/class_11598;)Z
      official a Ldyi$b;a(Lego;)Z
    • 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 Objects::equals(Object,Object).
      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.
    • pos

      public BlockPos pos()
      Returns the value of the pos record component.
      Specified by:
      pos in interface class_11587.class_11589
      Returns:
      the value of the pos record component