Package net.minecraft

Record Class class_11566.class_11567

java.lang.Object
java.lang.Record
net.minecraft.class_11566.class_11567
Record Components:
getPos -
getBodyYaw -
getWorld -
All Implemented Interfaces:
class_11566
Enclosing interface:
class_11566

public static record class_11566.class_11567(Vec3d getPos, float getBodyYaw, World getWorld) extends Record implements class_11566
Mappings:
Namespace Name
named net/minecraft/class_11566$class_11567
intermediary net/minecraft/class_11566$class_11567
official cau$a
named getPos
intermediary comp_4424
official a
named getBodyYaw
intermediary comp_4425
official b
named getWorld
intermediary comp_4426
official c
  • Field Details

    • getPos

      private final Vec3d getPos
      The field for the getPos record component.
    • getBodyYaw

      private final float getBodyYaw
      The field for the getBodyYaw record component.
    • getWorld

      private final World getWorld
      The field for the getWorld record component.
  • Constructor Details

    • class_11567

      public class_11567(Vec3d vec3d, float float2, World world)
  • 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.
    • getPos

      public Vec3d getPos()
      Returns the value of the getPos record component.
      Specified by:
      getPos in interface class_11566
      Returns:
      the value of the getPos record component
    • getBodyYaw

      public float getBodyYaw()
      Returns the value of the getBodyYaw record component.
      Specified by:
      getBodyYaw in interface class_11566
      Returns:
      the value of the getBodyYaw record component
    • getWorld

      public World getWorld()
      Returns the value of the getWorld record component.
      Specified by:
      getWorld in interface class_11566
      Returns:
      the value of the getWorld record component