Record Class Entity.class_9494

java.lang.Object
java.lang.Record
net.minecraft.entity.Entity.class_9494
Record Components:
movement -
subGrid -
Enclosing class:
Entity

public static record Entity.class_9494(Vec3d movement, @Nullable class_9513 subGrid) extends Record
Mappings:
Namespace Name
official brv$a
intermediary net/minecraft/class_1297$class_9494
named net/minecraft/entity/Entity$class_9494
official a
intermediary comp_2568
named movement
official b
intermediary comp_2569
named subGrid
  • Field Details

  • Constructor Details

  • Method Details

    • method_58855

      public Entity.class_9494 method_58855(Vec3d vec3d)
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv$a;a(Lewu;)Lbrv$a;
      intermediary method_58855 Lnet/minecraft/class_1297$class_9494;method_58855(Lnet/minecraft/class_243;)Lnet/minecraft/class_1297$class_9494;
      named method_58855 Lnet/minecraft/entity/Entity$class_9494;method_58855(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/Entity$class_9494;
    • method_58854

      public Vec3d method_58854()
      Mappings:
      Namespace Name Mixin selector
      official a Lbrv$a;a()Lewu;
      intermediary method_58854 Lnet/minecraft/class_1297$class_9494;method_58854()Lnet/minecraft/class_243;
      named method_58854 Lnet/minecraft/entity/Entity$class_9494;method_58854()Lnet/minecraft/util/math/Vec3d;
    • method_58856

      public Vec3d method_58856(Vec3d vec3d)
      Mappings:
      Namespace Name Mixin selector
      official b Lbrv$a;b(Lewu;)Lewu;
      intermediary method_58856 Lnet/minecraft/class_1297$class_9494;method_58856(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named method_58856 Lnet/minecraft/entity/Entity$class_9494;method_58856(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • 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.
    • movement

      public Vec3d movement()
      Returns the value of the movement record component.
      Returns:
      the value of the movement record component
    • subGrid

      @Nullable public @Nullable class_9513 subGrid()
      Returns the value of the subGrid record component.
      Returns:
      the value of the subGrid record component