Class EntityDimensions

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

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

    • width

      public final float width
      Mappings:
      Namespace Name Mixin selector
      official a Lawn;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 Lawn;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 Lawn;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> Lawn;<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 Lawn;a(Ldnz;)Ldnu;
      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 Lawn;a(DDD)Ldnu;
      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 Lawn;a(F)Lawn;
      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 Lawn;a(FF)Lawn;
      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 Lawn;b(FF)Lawn;
      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 Lawn;c(FF)Lawn;
      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