Class EntityDimensions

java.lang.Object
net.minecraft.entity.EntityDimensions

public class EntityDimensions extends Object
Mappings:
Namespace Name
official bds
intermediary net/minecraft/class_4048
named net/minecraft/entity/EntityDimensions
  • Field Details

    • width

      public final float width
      Mappings:
      Namespace Name Mixin selector
      official a Lbds;a:F
      intermediary field_18067 Lnet/minecraft/class_4048;field_18067:F
      named width Lnet/minecraft/entity/EntityDimensions;width:F
    • height

      public final float height
      Mappings:
      Namespace Name Mixin selector
      official b Lbds;b:F
      intermediary field_18068 Lnet/minecraft/class_4048;field_18068:F
      named height Lnet/minecraft/entity/EntityDimensions;height:F
    • fixed

      public final boolean fixed
      Mappings:
      Namespace Name Mixin selector
      official c Lbds;c:Z
      intermediary field_18069 Lnet/minecraft/class_4048;field_18069:Z
      named fixed Lnet/minecraft/entity/EntityDimensions;fixed:Z
  • Constructor Details

    • EntityDimensions

      public EntityDimensions(float width, float height, boolean fixed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbds;<init>(FFZ)V
      intermediary <init> Lnet/minecraft/class_4048;<init>(FFZ)V
      named <init> Lnet/minecraft/entity/EntityDimensions;<init>(FFZ)V
  • Method Details

    • getBoxAt

      public Box getBoxAt(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbds;a(Leae;)Ldzz;
      intermediary method_30757 Lnet/minecraft/class_4048;method_30757(Lnet/minecraft/class_243;)Lnet/minecraft/class_238;
      named getBoxAt Lnet/minecraft/entity/EntityDimensions;getBoxAt(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Box;
    • getBoxAt

      public Box getBoxAt(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbds;a(DDD)Ldzz;
      intermediary method_30231 Lnet/minecraft/class_4048;method_30231(DDD)Lnet/minecraft/class_238;
      named getBoxAt Lnet/minecraft/entity/EntityDimensions;getBoxAt(DDD)Lnet/minecraft/util/math/Box;
    • scaled

      public EntityDimensions scaled(float ratio)
      Mappings:
      Namespace Name Mixin selector
      official a Lbds;a(F)Lbds;
      intermediary method_18383 Lnet/minecraft/class_4048;method_18383(F)Lnet/minecraft/class_4048;
      named scaled Lnet/minecraft/entity/EntityDimensions;scaled(F)Lnet/minecraft/entity/EntityDimensions;
    • scaled

      public EntityDimensions scaled(float widthRatio, float heightRatio)
      Mappings:
      Namespace Name Mixin selector
      official a Lbds;a(FF)Lbds;
      intermediary method_19539 Lnet/minecraft/class_4048;method_19539(FF)Lnet/minecraft/class_4048;
      named scaled Lnet/minecraft/entity/EntityDimensions;scaled(FF)Lnet/minecraft/entity/EntityDimensions;
    • changing

      public static EntityDimensions changing(float width, float height)
      Mappings:
      Namespace Name Mixin selector
      official b Lbds;b(FF)Lbds;
      intermediary method_18384 Lnet/minecraft/class_4048;method_18384(FF)Lnet/minecraft/class_4048;
      named changing Lnet/minecraft/entity/EntityDimensions;changing(FF)Lnet/minecraft/entity/EntityDimensions;
    • fixed

      public static EntityDimensions fixed(float width, float height)
      Mappings:
      Namespace Name Mixin selector
      official c Lbds;c(FF)Lbds;
      intermediary method_18385 Lnet/minecraft/class_4048;method_18385(FF)Lnet/minecraft/class_4048;
      named fixed Lnet/minecraft/entity/EntityDimensions;fixed(FF)Lnet/minecraft/entity/EntityDimensions;
    • toString

      public String toString()
      Overrides:
      toString in class Object