Class EntityAttachments

java.lang.Object
net.minecraft.entity.EntityAttachments

public class EntityAttachments extends Object
Mappings:
Namespace Name
named net/minecraft/entity/EntityAttachments
intermediary net/minecraft/class_9066
official bsx
  • Field Details

    • points

      private final Map<EntityAttachmentType,List<Vec3d>> points
      Mappings:
      Namespace Name Mixin selector
      named points Lnet/minecraft/entity/EntityAttachments;points:Ljava/util/Map;
      intermediary field_47752 Lnet/minecraft/class_9066;field_47752:Ljava/util/Map;
      official a Lbsx;a:Ljava/util/Map;
  • Constructor Details

    • EntityAttachments

      EntityAttachments(Map<EntityAttachmentType,List<Vec3d>> points)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/EntityAttachments;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_9066;<init>(Ljava/util/Map;)V
      official <init> Lbsx;<init>(Ljava/util/Map;)V
  • Method Details

    • of

      public static EntityAttachments of(float width, float height)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/entity/EntityAttachments;of(FF)Lnet/minecraft/entity/EntityAttachments;
      intermediary method_55844 Lnet/minecraft/class_9066;method_55844(FF)Lnet/minecraft/class_9066;
      official a Lbsx;a(FF)Lbsx;
    • builder

      public static EntityAttachments.Builder builder()
      Mappings:
      Namespace Name Mixin selector
      named builder Lnet/minecraft/entity/EntityAttachments;builder()Lnet/minecraft/entity/EntityAttachments$Builder;
      intermediary method_55673 Lnet/minecraft/class_9066;method_55673()Lnet/minecraft/class_9066$class_9067;
      official a Lbsx;a()Lbsx$a;
    • scale

      public EntityAttachments scale(float xScale, float yScale, float zScale)
      Mappings:
      Namespace Name Mixin selector
      named scale Lnet/minecraft/entity/EntityAttachments;scale(FFF)Lnet/minecraft/entity/EntityAttachments;
      intermediary method_55674 Lnet/minecraft/class_9066;method_55674(FFF)Lnet/minecraft/class_9066;
      official a Lbsx;a(FFF)Lbsx;
    • scalePoints

      private static List<Vec3d> scalePoints(List<Vec3d> points, float xScale, float yScale, float zScale)
      Mappings:
      Namespace Name Mixin selector
      named scalePoints Lnet/minecraft/entity/EntityAttachments;scalePoints(Ljava/util/List;FFF)Ljava/util/List;
      intermediary method_55677 Lnet/minecraft/class_9066;method_55677(Ljava/util/List;FFF)Ljava/util/List;
      official a Lbsx;a(Ljava/util/List;FFF)Ljava/util/List;
    • getPointNullable

      @Nullable public @Nullable Vec3d getPointNullable(EntityAttachmentType type, int index, float yaw)
      Mappings:
      Namespace Name Mixin selector
      named getPointNullable Lnet/minecraft/entity/EntityAttachments;getPointNullable(Lnet/minecraft/entity/EntityAttachmentType;IF)Lnet/minecraft/util/math/Vec3d;
      intermediary method_55675 Lnet/minecraft/class_9066;method_55675(Lnet/minecraft/class_9064;IF)Lnet/minecraft/class_243;
      official a Lbsx;a(Lbsw;IF)Levs;
    • getPoint

      public Vec3d getPoint(EntityAttachmentType type, int index, float yaw)
      Mappings:
      Namespace Name Mixin selector
      named getPoint Lnet/minecraft/entity/EntityAttachments;getPoint(Lnet/minecraft/entity/EntityAttachmentType;IF)Lnet/minecraft/util/math/Vec3d;
      intermediary method_55678 Lnet/minecraft/class_9066;method_55678(Lnet/minecraft/class_9064;IF)Lnet/minecraft/class_243;
      official b Lbsx;b(Lbsw;IF)Levs;
    • getPointOrDefault

      public Vec3d getPointOrDefault(EntityAttachmentType type, int index, float yaw)
      Mappings:
      Namespace Name Mixin selector
      named getPointOrDefault Lnet/minecraft/entity/EntityAttachments;getPointOrDefault(Lnet/minecraft/entity/EntityAttachmentType;IF)Lnet/minecraft/util/math/Vec3d;
      intermediary method_55679 Lnet/minecraft/class_9066;method_55679(Lnet/minecraft/class_9064;IF)Lnet/minecraft/class_243;
      official c Lbsx;c(Lbsw;IF)Levs;
    • rotatePoint

      private static Vec3d rotatePoint(Vec3d point, float yaw)
      Mappings:
      Namespace Name Mixin selector
      named rotatePoint Lnet/minecraft/entity/EntityAttachments;rotatePoint(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
      intermediary method_55676 Lnet/minecraft/class_9066;method_55676(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;
      official a Lbsx;a(Levs;F)Levs;