Class DisplayEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.decoration.DisplayEntity
All Implemented Interfaces:
DataTracked, ScoreHolder, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
DisplayEntity.BlockDisplayEntity, DisplayEntity.ItemDisplayEntity, DisplayEntity.TextDisplayEntity

public abstract class DisplayEntity extends Entity
Mappings:
Namespace Name
named net/minecraft/entity/decoration/DisplayEntity
intermediary net/minecraft/class_8113
official bsp
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/entity/decoration/DisplayEntity;LOGGER:Lorg/slf4j/Logger;
      intermediary field_42397 Lnet/minecraft/class_8113;field_42397:Lorg/slf4j/Logger;
      official p Lbsp;p:Lorg/slf4j/Logger;
    • field_42384

      public static final int field_42384
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42384 Lnet/minecraft/entity/decoration/DisplayEntity;field_42384:I
      intermediary field_42384 Lnet/minecraft/class_8113;field_42384:I
      official b Lbsp;b:I
    • START_INTERPOLATION

      private static final TrackedData<Integer> START_INTERPOLATION
      Mappings:
      Namespace Name Mixin selector
      named START_INTERPOLATION Lnet/minecraft/entity/decoration/DisplayEntity;START_INTERPOLATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_45112 Lnet/minecraft/class_8113;field_45112:Lnet/minecraft/class_2940;
      official q Lbsp;q:Lajv;
    • INTERPOLATION_DURATION

      private static final TrackedData<Integer> INTERPOLATION_DURATION
      Mappings:
      Namespace Name Mixin selector
      named INTERPOLATION_DURATION Lnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_45113 Lnet/minecraft/class_8113;field_45113:Lnet/minecraft/class_2940;
      official r Lbsp;r:Lajv;
    • TELEPORT_DURATION

      private static final TrackedData<Integer> TELEPORT_DURATION
      Mappings:
      Namespace Name Mixin selector
      named TELEPORT_DURATION Lnet/minecraft/entity/decoration/DisplayEntity;TELEPORT_DURATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_45114 Lnet/minecraft/class_8113;field_45114:Lnet/minecraft/class_2940;
      official s Lbsp;s:Lajv;
    • TRANSLATION

      private static final TrackedData<Vector3f> TRANSLATION
      Mappings:
      Namespace Name Mixin selector
      named TRANSLATION Lnet/minecraft/entity/decoration/DisplayEntity;TRANSLATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42401 Lnet/minecraft/class_8113;field_42401:Lnet/minecraft/class_2940;
      official t Lbsp;t:Lajv;
    • SCALE

      private static final TrackedData<Vector3f> SCALE
      Mappings:
      Namespace Name Mixin selector
      named SCALE Lnet/minecraft/entity/decoration/DisplayEntity;SCALE:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42402 Lnet/minecraft/class_8113;field_42402:Lnet/minecraft/class_2940;
      official u Lbsp;u:Lajv;
    • LEFT_ROTATION

      private static final TrackedData<Quaternionf> LEFT_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named LEFT_ROTATION Lnet/minecraft/entity/decoration/DisplayEntity;LEFT_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42403 Lnet/minecraft/class_8113;field_42403:Lnet/minecraft/class_2940;
      official v Lbsp;v:Lajv;
    • RIGHT_ROTATION

      private static final TrackedData<Quaternionf> RIGHT_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named RIGHT_ROTATION Lnet/minecraft/entity/decoration/DisplayEntity;RIGHT_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42367 Lnet/minecraft/class_8113;field_42367:Lnet/minecraft/class_2940;
      official aD Lbsp;aD:Lajv;
    • BILLBOARD

      private static final TrackedData<Byte> BILLBOARD
      Mappings:
      Namespace Name Mixin selector
      named BILLBOARD Lnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42368 Lnet/minecraft/class_8113;field_42368:Lnet/minecraft/class_2940;
      official aE Lbsp;aE:Lajv;
    • BRIGHTNESS

      private static final TrackedData<Integer> BRIGHTNESS
      Mappings:
      Namespace Name Mixin selector
      named BRIGHTNESS Lnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42369 Lnet/minecraft/class_8113;field_42369:Lnet/minecraft/class_2940;
      official aF Lbsp;aF:Lajv;
    • VIEW_RANGE

      private static final TrackedData<Float> VIEW_RANGE
      Mappings:
      Namespace Name Mixin selector
      named VIEW_RANGE Lnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42370 Lnet/minecraft/class_8113;field_42370:Lnet/minecraft/class_2940;
      official aG Lbsp;aG:Lajv;
    • SHADOW_RADIUS

      private static final TrackedData<Float> SHADOW_RADIUS
      Mappings:
      Namespace Name Mixin selector
      named SHADOW_RADIUS Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42371 Lnet/minecraft/class_8113;field_42371:Lnet/minecraft/class_2940;
      official aH Lbsp;aH:Lajv;
    • SHADOW_STRENGTH

      private static final TrackedData<Float> SHADOW_STRENGTH
      Mappings:
      Namespace Name Mixin selector
      named SHADOW_STRENGTH Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42372 Lnet/minecraft/class_8113;field_42372:Lnet/minecraft/class_2940;
      official aI Lbsp;aI:Lajv;
    • WIDTH

      private static final TrackedData<Float> WIDTH
      Mappings:
      Namespace Name Mixin selector
      named WIDTH Lnet/minecraft/entity/decoration/DisplayEntity;WIDTH:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42373 Lnet/minecraft/class_8113;field_42373:Lnet/minecraft/class_2940;
      official aJ Lbsp;aJ:Lajv;
    • HEIGHT

      private static final TrackedData<Float> HEIGHT
      Mappings:
      Namespace Name Mixin selector
      named HEIGHT Lnet/minecraft/entity/decoration/DisplayEntity;HEIGHT:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42374 Lnet/minecraft/class_8113;field_42374:Lnet/minecraft/class_2940;
      official aK Lbsp;aK:Lajv;
    • GLOW_COLOR_OVERRIDE

      private static final TrackedData<Integer> GLOW_COLOR_OVERRIDE
      Mappings:
      Namespace Name Mixin selector
      named GLOW_COLOR_OVERRIDE Lnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_42375 Lnet/minecraft/class_8113;field_42375:Lnet/minecraft/class_2940;
      official aL Lbsp;aL:Lajv;
    • RENDERING_DATA_IDS

      private static final IntSet RENDERING_DATA_IDS
      Mappings:
      Namespace Name Mixin selector
      named RENDERING_DATA_IDS Lnet/minecraft/entity/decoration/DisplayEntity;RENDERING_DATA_IDS:Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary field_43180 Lnet/minecraft/class_8113;field_43180:Lit/unimi/dsi/fastutil/ints/IntSet;
      official aM Lbsp;aM:Lit/unimi/dsi/fastutil/ints/IntSet;
    • field_42376

      private static final float field_42376
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42376 Lnet/minecraft/entity/decoration/DisplayEntity;field_42376:F
      intermediary field_42376 Lnet/minecraft/class_8113;field_42376:F
      official aN Lbsp;aN:F
    • field_42377

      private static final float field_42377
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42377 Lnet/minecraft/entity/decoration/DisplayEntity;field_42377:F
      intermediary field_42377 Lnet/minecraft/class_8113;field_42377:F
      official aO Lbsp;aO:F
    • field_42378

      private static final int field_42378
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_42378 Lnet/minecraft/entity/decoration/DisplayEntity;field_42378:I
      intermediary field_42378 Lnet/minecraft/class_8113;field_42378:I
      official aP Lbsp;aP:I
    • TELEPORT_DURATION_KEY

      public static final String TELEPORT_DURATION_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TELEPORT_DURATION_KEY Lnet/minecraft/entity/decoration/DisplayEntity;TELEPORT_DURATION_KEY:Ljava/lang/String;
      intermediary field_45109 Lnet/minecraft/class_8113;field_45109:Ljava/lang/String;
      official c Lbsp;c:Ljava/lang/String;
    • INTERPOLATION_DURATION_KEY

      public static final String INTERPOLATION_DURATION_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named INTERPOLATION_DURATION_KEY Lnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION_KEY:Ljava/lang/String;
      intermediary field_45110 Lnet/minecraft/class_8113;field_45110:Ljava/lang/String;
      official d Lbsp;d:Ljava/lang/String;
    • START_INTERPOLATION_KEY

      public static final String START_INTERPOLATION_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named START_INTERPOLATION_KEY Lnet/minecraft/entity/decoration/DisplayEntity;START_INTERPOLATION_KEY:Ljava/lang/String;
      intermediary field_45111 Lnet/minecraft/class_8113;field_45111:Ljava/lang/String;
      official e Lbsp;e:Ljava/lang/String;
    • TRANSFORMATION_NBT_KEY

      public static final String TRANSFORMATION_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TRANSFORMATION_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;TRANSFORMATION_NBT_KEY:Ljava/lang/String;
      intermediary field_42387 Lnet/minecraft/class_8113;field_42387:Ljava/lang/String;
      official f Lbsp;f:Ljava/lang/String;
    • BILLBOARD_NBT_KEY

      public static final String BILLBOARD_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BILLBOARD_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;BILLBOARD_NBT_KEY:Ljava/lang/String;
      intermediary field_42388 Lnet/minecraft/class_8113;field_42388:Ljava/lang/String;
      official g Lbsp;g:Ljava/lang/String;
    • BRIGHTNESS_NBT_KEY

      public static final String BRIGHTNESS_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BRIGHTNESS_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;BRIGHTNESS_NBT_KEY:Ljava/lang/String;
      intermediary field_42389 Lnet/minecraft/class_8113;field_42389:Ljava/lang/String;
      official h Lbsp;h:Ljava/lang/String;
    • VIEW_RANGE_NBT_KEY

      public static final String VIEW_RANGE_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VIEW_RANGE_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;VIEW_RANGE_NBT_KEY:Ljava/lang/String;
      intermediary field_42390 Lnet/minecraft/class_8113;field_42390:Ljava/lang/String;
      official i Lbsp;i:Ljava/lang/String;
    • SHADOW_RADIUS_NBT_KEY

      public static final String SHADOW_RADIUS_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SHADOW_RADIUS_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_RADIUS_NBT_KEY:Ljava/lang/String;
      intermediary field_42391 Lnet/minecraft/class_8113;field_42391:Ljava/lang/String;
      official j Lbsp;j:Ljava/lang/String;
    • SHADOW_STRENGTH_NBT_KEY

      public static final String SHADOW_STRENGTH_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SHADOW_STRENGTH_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;SHADOW_STRENGTH_NBT_KEY:Ljava/lang/String;
      intermediary field_42392 Lnet/minecraft/class_8113;field_42392:Ljava/lang/String;
      official k Lbsp;k:Ljava/lang/String;
    • WIDTH_NBT_KEY

      public static final String WIDTH_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WIDTH_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;WIDTH_NBT_KEY:Ljava/lang/String;
      intermediary field_42393 Lnet/minecraft/class_8113;field_42393:Ljava/lang/String;
      official l Lbsp;l:Ljava/lang/String;
    • HEIGHT_NBT_KEY

      public static final String HEIGHT_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HEIGHT_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;HEIGHT_NBT_KEY:Ljava/lang/String;
      intermediary field_42394 Lnet/minecraft/class_8113;field_42394:Ljava/lang/String;
      official m Lbsp;m:Ljava/lang/String;
    • GLOW_COLOR_OVERRIDE_NBT_KEY

      public static final String GLOW_COLOR_OVERRIDE_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named GLOW_COLOR_OVERRIDE_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE_NBT_KEY:Ljava/lang/String;
      intermediary field_42395 Lnet/minecraft/class_8113;field_42395:Ljava/lang/String;
      official n Lbsp;n:Ljava/lang/String;
    • interpolationStart

      private long interpolationStart
      Mappings:
      Namespace Name Mixin selector
      named interpolationStart Lnet/minecraft/entity/decoration/DisplayEntity;interpolationStart:J
      intermediary field_42620 Lnet/minecraft/class_8113;field_42620:J
      official aQ Lbsp;aQ:J
    • interpolationDuration

      private int interpolationDuration
      Mappings:
      Namespace Name Mixin selector
      named interpolationDuration Lnet/minecraft/entity/decoration/DisplayEntity;interpolationDuration:I
      intermediary field_43181 Lnet/minecraft/class_8113;field_43181:I
      official aR Lbsp;aR:I
    • lerpProgress

      private float lerpProgress
      Mappings:
      Namespace Name Mixin selector
      named lerpProgress Lnet/minecraft/entity/decoration/DisplayEntity;lerpProgress:F
      intermediary field_43135 Lnet/minecraft/class_8113;field_43135:F
      official aS Lbsp;aS:F
    • visibilityBoundingBox

      private Box visibilityBoundingBox
      Mappings:
      Namespace Name Mixin selector
      named visibilityBoundingBox Lnet/minecraft/entity/decoration/DisplayEntity;visibilityBoundingBox:Lnet/minecraft/util/math/Box;
      intermediary field_42383 Lnet/minecraft/class_8113;field_42383:Lnet/minecraft/class_238;
      official aT Lbsp;aT:Lewr;
    • renderingDataSet

      protected boolean renderingDataSet
      Mappings:
      Namespace Name Mixin selector
      named renderingDataSet Lnet/minecraft/entity/decoration/DisplayEntity;renderingDataSet:Z
      intermediary field_43185 Lnet/minecraft/class_8113;field_43185:Z
      official o Lbsp;o:Z
    • startInterpolationSet

      private boolean startInterpolationSet
      Mappings:
      Namespace Name Mixin selector
      named startInterpolationSet Lnet/minecraft/entity/decoration/DisplayEntity;startInterpolationSet:Z
      intermediary field_43182 Lnet/minecraft/class_8113;field_43182:Z
      official aU Lbsp;aU:Z
    • interpolationDurationSet

      private boolean interpolationDurationSet
      Mappings:
      Namespace Name Mixin selector
      named interpolationDurationSet Lnet/minecraft/entity/decoration/DisplayEntity;interpolationDurationSet:Z
      intermediary field_43183 Lnet/minecraft/class_8113;field_43183:Z
      official aV Lbsp;aV:Z
    • renderState

      Mappings:
      Namespace Name Mixin selector
      named renderState Lnet/minecraft/entity/decoration/DisplayEntity;renderState:Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
      intermediary field_43184 Lnet/minecraft/class_8113;field_43184:Lnet/minecraft/class_8113$class_8229;
      official aW Lbsp;aW:Lbsp$k;
    • interpolationTarget

      Mappings:
      Namespace Name Mixin selector
      named interpolationTarget Lnet/minecraft/entity/decoration/DisplayEntity;interpolationTarget:Lnet/minecraft/entity/decoration/DisplayEntity$InterpolationTarget;
      intermediary field_45108 Lnet/minecraft/class_8113;field_45108:Lnet/minecraft/class_8113$class_8639;
      official aX Lbsp;aX:Lbsp$j;
  • Constructor Details

    • DisplayEntity

      public DisplayEntity(EntityType<?> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsq;<init>(Lbsw;Ldcu;)V
  • Method Details

    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Specified by:
      onTrackedDataSet in interface DataTracked
      Overrides:
      onTrackedDataSet in class Entity
      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lajy;a(Lajv;)V
    • getTransformation

      private static AffineTransformation getTransformation(DataTracker dataTracker)
      Mappings:
      Namespace Name Mixin selector
      named getTransformation Lnet/minecraft/entity/decoration/DisplayEntity;getTransformation(Lnet/minecraft/entity/data/DataTracker;)Lnet/minecraft/util/math/AffineTransformation;
      intermediary method_48845 Lnet/minecraft/class_8113;method_48845(Lnet/minecraft/class_2945;)Lnet/minecraft/class_4590;
      official a Lbsp;a(Lajz;)Lj;
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class Entity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to Entity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsq;l()V
    • refreshData

      protected abstract void refreshData(boolean shouldLerp, float lerpProgress)
      Mappings:
      Namespace Name Mixin selector
      named refreshData Lnet/minecraft/entity/decoration/DisplayEntity;refreshData(ZF)V
      intermediary method_49776 Lnet/minecraft/class_8113;method_49776(ZF)V
      official a Lbsp;a(ZF)V
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Specified by:
      initDataTracker in class Entity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbsq;a(Lajz$a;)V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Specified by:
      readCustomDataFromNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbsq;a(Lua;)V
    • setTransformation

      private void setTransformation(AffineTransformation transformation)
      Mappings:
      Namespace Name Mixin selector
      named setTransformation Lnet/minecraft/entity/decoration/DisplayEntity;setTransformation(Lnet/minecraft/util/math/AffineTransformation;)V
      intermediary method_48849 Lnet/minecraft/class_8113;method_48849(Lnet/minecraft/class_4590;)V
      official a Lbsp;a(Lj;)V
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Specified by:
      writeCustomDataToNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbsq;b(Lua;)V
    • updateTrackedPositionAndAngles

      public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps)
      Overrides:
      updateTrackedPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      named updateTrackedPositionAndAngles Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFI)V
      intermediary method_5759 Lnet/minecraft/class_1297;method_5759(DDDFFI)V
      official a Lbsq;a(DDDFFI)V
    • getLerpTargetX

      public double getLerpTargetX()
      Overrides:
      getLerpTargetX in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetX Lnet/minecraft/entity/Entity;getLerpTargetX()D
      intermediary method_53830 Lnet/minecraft/class_1297;method_53830()D
      official c_ Lbsq;c_()D
    • getLerpTargetY

      public double getLerpTargetY()
      Overrides:
      getLerpTargetY in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetY Lnet/minecraft/entity/Entity;getLerpTargetY()D
      intermediary method_53827 Lnet/minecraft/class_1297;method_53827()D
      official d_ Lbsq;d_()D
    • getLerpTargetZ

      public double getLerpTargetZ()
      Overrides:
      getLerpTargetZ in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetZ Lnet/minecraft/entity/Entity;getLerpTargetZ()D
      intermediary method_53828 Lnet/minecraft/class_1297;method_53828()D
      official L_ Lbsq;L_()D
    • getLerpTargetPitch

      public float getLerpTargetPitch()
      Overrides:
      getLerpTargetPitch in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetPitch Lnet/minecraft/entity/Entity;getLerpTargetPitch()F
      intermediary method_53829 Lnet/minecraft/class_1297;method_53829()F
      official M_ Lbsq;M_()F
    • getLerpTargetYaw

      public float getLerpTargetYaw()
      Overrides:
      getLerpTargetYaw in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getLerpTargetYaw Lnet/minecraft/entity/Entity;getLerpTargetYaw()F
      intermediary method_53831 Lnet/minecraft/class_1297;method_53831()F
      official e_ Lbsq;e_()F
    • getVisibilityBoundingBox

      public Box getVisibilityBoundingBox()
      Overrides:
      getVisibilityBoundingBox in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getVisibilityBoundingBox Lnet/minecraft/entity/Entity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;
      intermediary method_5830 Lnet/minecraft/class_1297;method_5830()Lnet/minecraft/class_238;
      official h_ Lbsq;h_()Lewr;
    • getPistonBehavior

      public PistonBehavior getPistonBehavior()
      Returns the behavior of the piston for this entity.

      This is PistonBehavior.NORMAL by default.

      invalid reference
      AreaEffectCloudEntity
      ,
      invalid reference
      MarkerEntity
      , and marker ArmorStandEntity return PistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated like PistonBehavior.NORMAL.
      Overrides:
      getPistonBehavior in class Entity
      Returns:
      the behavior of the piston for this entity
      Mappings:
      Namespace Name Mixin selector
      named getPistonBehavior Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
      intermediary method_5657 Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
      official j_ Lbsq;j_()Lepd;
    • canAvoidTraps

      public boolean canAvoidTraps()
      Returns whether the entity cannot trigger pressure plates or tripwires.

      BatEntity is the only entity in vanilla that can avoid traps.

      Overrides:
      canAvoidTraps in class Entity
      Returns:
      whether the entity cannot trigger pressure plates or tripwires
      Mappings:
      Namespace Name Mixin selector
      named canAvoidTraps Lnet/minecraft/entity/Entity;canAvoidTraps()Z
      intermediary method_5696 Lnet/minecraft/class_1297;method_5696()Z
      official r_ Lbsq;r_()Z
    • getRenderState

      Mappings:
      Namespace Name Mixin selector
      named getRenderState Lnet/minecraft/entity/decoration/DisplayEntity;getRenderState()Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
      intermediary method_49777 Lnet/minecraft/class_8113;method_49777()Lnet/minecraft/class_8113$class_8229;
      official p Lbsp;p()Lbsp$k;
    • setInterpolationDuration

      private void setInterpolationDuration(int interpolationDuration)
      Mappings:
      Namespace Name Mixin selector
      named setInterpolationDuration Lnet/minecraft/entity/decoration/DisplayEntity;setInterpolationDuration(I)V
      intermediary method_52524 Lnet/minecraft/class_8113;method_52524(I)V
      official b Lbsp;b(I)V
    • getInterpolationDuration

      private int getInterpolationDuration()
      Mappings:
      Namespace Name Mixin selector
      named getInterpolationDuration Lnet/minecraft/entity/decoration/DisplayEntity;getInterpolationDuration()I
      intermediary method_52527 Lnet/minecraft/class_8113;method_52527()I
      official s Lbsp;s()I
    • setStartInterpolation

      private void setStartInterpolation(int startInterpolation)
      Mappings:
      Namespace Name Mixin selector
      named setStartInterpolation Lnet/minecraft/entity/decoration/DisplayEntity;setStartInterpolation(I)V
      intermediary method_52525 Lnet/minecraft/class_8113;method_52525(I)V
      official c Lbsp;c(I)V
    • getStartInterpolation

      private int getStartInterpolation()
      Mappings:
      Namespace Name Mixin selector
      named getStartInterpolation Lnet/minecraft/entity/decoration/DisplayEntity;getStartInterpolation()I
      intermediary method_52528 Lnet/minecraft/class_8113;method_52528()I
      official t Lbsp;t()I
    • setTeleportDuration

      private void setTeleportDuration(int teleportDuration)
      Mappings:
      Namespace Name Mixin selector
      named setTeleportDuration Lnet/minecraft/entity/decoration/DisplayEntity;setTeleportDuration(I)V
      intermediary method_52526 Lnet/minecraft/class_8113;method_52526(I)V
      official d Lbsp;d(I)V
    • getTeleportDuration

      private int getTeleportDuration()
      Mappings:
      Namespace Name Mixin selector
      named getTeleportDuration Lnet/minecraft/entity/decoration/DisplayEntity;getTeleportDuration()I
      intermediary method_52529 Lnet/minecraft/class_8113;method_52529()I
      official v Lbsp;v()I
    • setBillboardMode

      private void setBillboardMode(DisplayEntity.BillboardMode billboardMode)
      Mappings:
      Namespace Name Mixin selector
      named setBillboardMode Lnet/minecraft/entity/decoration/DisplayEntity;setBillboardMode(Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;)V
      intermediary method_48847 Lnet/minecraft/class_8113;method_48847(Lnet/minecraft/class_8113$class_8114;)V
      official a Lbsp;a(Lbsp$a;)V
    • getBillboardMode

      private DisplayEntity.BillboardMode getBillboardMode()
      Mappings:
      Namespace Name Mixin selector
      named getBillboardMode Lnet/minecraft/entity/decoration/DisplayEntity;getBillboardMode()Lnet/minecraft/entity/decoration/DisplayEntity$BillboardMode;
      intermediary method_48864 Lnet/minecraft/class_8113;method_48864()Lnet/minecraft/class_8113$class_8114;
      official w Lbsp;w()Lbsp$a;
    • setBrightness

      private void setBrightness(@Nullable @Nullable Brightness brightness)
      Mappings:
      Namespace Name Mixin selector
      named setBrightness Lnet/minecraft/entity/decoration/DisplayEntity;setBrightness(Lnet/minecraft/entity/decoration/Brightness;)V
      intermediary method_48846 Lnet/minecraft/class_8113;method_48846(Lnet/minecraft/class_8104;)V
      official a Lbsp;a(Laxc;)V
    • getBrightnessUnpacked

      @Nullable private @Nullable Brightness getBrightnessUnpacked()
      Mappings:
      Namespace Name Mixin selector
      named getBrightnessUnpacked Lnet/minecraft/entity/decoration/DisplayEntity;getBrightnessUnpacked()Lnet/minecraft/entity/decoration/Brightness;
      intermediary method_48868 Lnet/minecraft/class_8113;method_48868()Lnet/minecraft/class_8104;
      official x Lbsp;x()Laxc;
    • getBrightness

      private int getBrightness()
      Mappings:
      Namespace Name Mixin selector
      named getBrightness Lnet/minecraft/entity/decoration/DisplayEntity;getBrightness()I
      intermediary method_48865 Lnet/minecraft/class_8113;method_48865()I
      official y Lbsp;y()I
    • setViewRange

      private void setViewRange(float viewRange)
      Mappings:
      Namespace Name Mixin selector
      named setViewRange Lnet/minecraft/entity/decoration/DisplayEntity;setViewRange(F)V
      intermediary method_48861 Lnet/minecraft/class_8113;method_48861(F)V
      official b Lbsp;b(F)V
    • getViewRange

      private float getViewRange()
      Mappings:
      Namespace Name Mixin selector
      named getViewRange Lnet/minecraft/entity/decoration/DisplayEntity;getViewRange()F
      intermediary method_48869 Lnet/minecraft/class_8113;method_48869()F
      official z Lbsp;z()F
    • setShadowRadius

      private void setShadowRadius(float shadowRadius)
      Mappings:
      Namespace Name Mixin selector
      named setShadowRadius Lnet/minecraft/entity/decoration/DisplayEntity;setShadowRadius(F)V
      intermediary method_48862 Lnet/minecraft/class_8113;method_48862(F)V
      official c Lbsp;c(F)V
    • getShadowRadius

      private float getShadowRadius()
      Mappings:
      Namespace Name Mixin selector
      named getShadowRadius Lnet/minecraft/entity/decoration/DisplayEntity;getShadowRadius()F
      intermediary method_48870 Lnet/minecraft/class_8113;method_48870()F
      official A Lbsp;A()F
    • setShadowStrength

      private void setShadowStrength(float shadowStrength)
      Mappings:
      Namespace Name Mixin selector
      named setShadowStrength Lnet/minecraft/entity/decoration/DisplayEntity;setShadowStrength(F)V
      intermediary method_48872 Lnet/minecraft/class_8113;method_48872(F)V
      official u Lbsp;u(F)V
    • getShadowStrength

      private float getShadowStrength()
      Mappings:
      Namespace Name Mixin selector
      named getShadowStrength Lnet/minecraft/entity/decoration/DisplayEntity;getShadowStrength()F
      intermediary method_48871 Lnet/minecraft/class_8113;method_48871()F
      official B Lbsp;B()F
    • setDisplayWidth

      private void setDisplayWidth(float width)
      Mappings:
      Namespace Name Mixin selector
      named setDisplayWidth Lnet/minecraft/entity/decoration/DisplayEntity;setDisplayWidth(F)V
      intermediary method_48873 Lnet/minecraft/class_8113;method_48873(F)V
      official v Lbsp;v(F)V
    • getDisplayWidth

      private float getDisplayWidth()
      Mappings:
      Namespace Name Mixin selector
      named getDisplayWidth Lnet/minecraft/entity/decoration/DisplayEntity;getDisplayWidth()F
      intermediary method_48874 Lnet/minecraft/class_8113;method_48874()F
      official C Lbsp;C()F
    • setDisplayHeight

      private void setDisplayHeight(float height)
      Mappings:
      Namespace Name Mixin selector
      named setDisplayHeight Lnet/minecraft/entity/decoration/DisplayEntity;setDisplayHeight(F)V
      intermediary method_48875 Lnet/minecraft/class_8113;method_48875(F)V
      official w Lbsp;w(F)V
    • getGlowColorOverride

      private int getGlowColorOverride()
      Mappings:
      Namespace Name Mixin selector
      named getGlowColorOverride Lnet/minecraft/entity/decoration/DisplayEntity;getGlowColorOverride()I
      intermediary method_48876 Lnet/minecraft/class_8113;method_48876()I
      official D Lbsp;D()I
    • setGlowColorOverride

      private void setGlowColorOverride(int glowColorOverride)
      Mappings:
      Namespace Name Mixin selector
      named setGlowColorOverride Lnet/minecraft/entity/decoration/DisplayEntity;setGlowColorOverride(I)V
      intermediary method_48858 Lnet/minecraft/class_8113;method_48858(I)V
      official m Lbsp;m(I)V
    • getLerpProgress

      public float getLerpProgress(float delta)
      Mappings:
      Namespace Name Mixin selector
      named getLerpProgress Lnet/minecraft/entity/decoration/DisplayEntity;getLerpProgress(F)F
      intermediary method_48844 Lnet/minecraft/class_8113;method_48844(F)F
      official a Lbsp;a(F)F
    • getDisplayHeight

      private float getDisplayHeight()
      Mappings:
      Namespace Name Mixin selector
      named getDisplayHeight Lnet/minecraft/entity/decoration/DisplayEntity;getDisplayHeight()F
      intermediary method_48877 Lnet/minecraft/class_8113;method_48877()F
      official E Lbsp;E()F
    • setPosition

      public void setPosition(double x, double y, double z)
      Sets the position and refreshes the bounding box.

      This should be called after creating an instance of non-living entities. For living entities, Entity.refreshPositionAndAngles(net.minecraft.util.math.BlockPos, float, float) should be used instead.

      Overrides:
      setPosition in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named setPosition Lnet/minecraft/entity/Entity;setPosition(DDD)V
      intermediary method_5814 Lnet/minecraft/class_1297;method_5814(DDD)V
      official a_ Lbsq;a_(DDD)V
    • updateVisibilityBoundingBox

      private void updateVisibilityBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      named updateVisibilityBoundingBox Lnet/minecraft/entity/decoration/DisplayEntity;updateVisibilityBoundingBox()V
      intermediary method_48878 Lnet/minecraft/class_8113;method_48878()V
      official F Lbsp;F()V
    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      official a Lbsq;a(D)Z
    • getTeamColorValue

      public int getTeamColorValue()
      Returns the team color value, or 0xFFFFFF if the entity is not in a team or the color is not set.
      Overrides:
      getTeamColorValue in class Entity
      Returns:
      the team color value, or 0xFFFFFF if the entity is not in a team or the color is not set
      Mappings:
      Namespace Name Mixin selector
      named getTeamColorValue Lnet/minecraft/entity/Entity;getTeamColorValue()I
      intermediary method_22861 Lnet/minecraft/class_1297;method_22861()I
      official q_ Lbsq;q_()I
    • copyRenderState

      private DisplayEntity.RenderState copyRenderState()
      Mappings:
      Namespace Name Mixin selector
      named copyRenderState Lnet/minecraft/entity/decoration/DisplayEntity;copyRenderState()Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
      intermediary method_49774 Lnet/minecraft/class_8113;method_49774()Lnet/minecraft/class_8113$class_8229;
      official H Lbsp;H()Lbsp$k;
    • getLerpedRenderState

      private DisplayEntity.RenderState getLerpedRenderState(DisplayEntity.RenderState state, float lerpProgress)
      Mappings:
      Namespace Name Mixin selector
      named getLerpedRenderState Lnet/minecraft/entity/decoration/DisplayEntity;getLerpedRenderState(Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;F)Lnet/minecraft/entity/decoration/DisplayEntity$RenderState;
      intermediary method_49775 Lnet/minecraft/class_8113;method_49775(Lnet/minecraft/class_8113$class_8229;F)Lnet/minecraft/class_8113$class_8229;
      official a Lbsp;a(Lbsp$k;F)Lbsp$k;