Package net.minecraft

Record Class class_8433.class_8434

java.lang.Object
java.lang.Record
net.minecraft.class_8433.class_8434
Record Components:
start -
pos -
length -
depth -
rustLevel -
direction -
Enclosing class:
class_8433

private static record class_8433.class_8434(BlockPos start, BlockPos pos, int length, int depth, int rustLevel, Direction direction) extends Record
Mappings:
Namespace Name
official dlt$a
intermediary net/minecraft/class_8433$class_8434
named net/minecraft/class_8433$class_8434
official a
intermediary comp_1436
named start
official b
intermediary comp_1437
named pos
official c
intermediary comp_1438
named length
official d
intermediary comp_1439
named depth
official e
intermediary comp_1440
named rustLevel
official f
intermediary comp_1441
named direction
  • Field Details

    • start

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

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

      private final int length
      The field for the length record component.
    • depth

      private final int depth
      The field for the depth record component.
    • rustLevel

      private final int rustLevel
      The field for the rustLevel record component.
    • direction

      private final Direction direction
      The field for the direction record component.
  • Constructor Details

  • Method Details

    • 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.
    • start

      public BlockPos start()
      Returns the value of the start record component.
      Returns:
      the value of the start record component
    • pos

      public BlockPos pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • length

      public int length()
      Returns the value of the length record component.
      Returns:
      the value of the length record component
    • depth

      public int depth()
      Returns the value of the depth record component.
      Returns:
      the value of the depth record component
    • rustLevel

      public int rustLevel()
      Returns the value of the rustLevel record component.
      Returns:
      the value of the rustLevel record component
    • direction

      public Direction direction()
      Returns the value of the direction record component.
      Returns:
      the value of the direction record component