Class DisplayEntity

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

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

    • field_42397

      static final Logger field_42397
      Mappings:
      Namespace Name Mixin selector
      official o Lbfg;o:Lorg/slf4j/Logger;
      intermediary field_42397 Lnet/minecraft/class_8113;field_42397:Lorg/slf4j/Logger;
      named field_42397 Lnet/minecraft/entity/decoration/DisplayEntity;field_42397:Lorg/slf4j/Logger;
    • field_43150

      private static final float field_43150
      Mappings:
      Namespace Name Mixin selector
      official p Lbfg;p:F
      intermediary field_43150 Lnet/minecraft/class_8113;field_43150:F
      named field_43150 Lnet/minecraft/entity/decoration/DisplayEntity;field_43150:F
    • field_42384

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

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

      private static final TrackedData<Integer> INTERPOLATION_DURATION
      Mappings:
      Namespace Name Mixin selector
      official r Lbfg;r:Lacl;
      intermediary field_42400 Lnet/minecraft/class_8113;field_42400:Lnet/minecraft/class_2940;
      named INTERPOLATION_DURATION Lnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION:Lnet/minecraft/entity/data/TrackedData;
    • TRANSLATION

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

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

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

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

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

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

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

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

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

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

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

      private static final TrackedData<Integer> GLOW_COLOR_OVERRIDE
      Mappings:
      Namespace Name Mixin selector
      official aK Lbfg;aK:Lacl;
      intermediary field_42375 Lnet/minecraft/class_8113;field_42375:Lnet/minecraft/class_2940;
      named GLOW_COLOR_OVERRIDE Lnet/minecraft/entity/decoration/DisplayEntity;GLOW_COLOR_OVERRIDE:Lnet/minecraft/entity/data/TrackedData;
    • field_42376

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

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

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

      public static final String INTERPOLATION_DURATION_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbfg;c:Ljava/lang/String;
      intermediary field_42385 Lnet/minecraft/class_8113;field_42385:Ljava/lang/String;
      named INTERPOLATION_DURATION_NBT_KEY Lnet/minecraft/entity/decoration/DisplayEntity;INTERPOLATION_DURATION_NBT_KEY:Ljava/lang/String;
    • START_INTERPOLATION_KEY

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

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

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

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

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

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

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

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

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

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

      private final DisplayEntity.AbstractInterpolator<AffineTransformation> transformationInterpolator
      Mappings:
      Namespace Name Mixin selector
      official aO Lbfg;aO:Lbfg$e;
      intermediary field_42379 Lnet/minecraft/class_8113;field_42379:Lnet/minecraft/class_8113$class_8118;
      named transformationInterpolator Lnet/minecraft/entity/decoration/DisplayEntity;transformationInterpolator:Lnet/minecraft/entity/decoration/DisplayEntity$AbstractInterpolator;
    • shadowRadiusLerper

      private final DisplayEntity.FloatLerper shadowRadiusLerper
      Mappings:
      Namespace Name Mixin selector
      official aP Lbfg;aP:Lbfg$d;
      intermediary field_42380 Lnet/minecraft/class_8113;field_42380:Lnet/minecraft/class_8113$class_8117;
      named shadowRadiusLerper Lnet/minecraft/entity/decoration/DisplayEntity;shadowRadiusLerper:Lnet/minecraft/entity/decoration/DisplayEntity$FloatLerper;
    • shadowStrengthLerper

      private final DisplayEntity.FloatLerper shadowStrengthLerper
      Mappings:
      Namespace Name Mixin selector
      official aQ Lbfg;aQ:Lbfg$d;
      intermediary field_42381 Lnet/minecraft/class_8113;field_42381:Lnet/minecraft/class_8113$class_8117;
      named shadowStrengthLerper Lnet/minecraft/entity/decoration/DisplayEntity;shadowStrengthLerper:Lnet/minecraft/entity/decoration/DisplayEntity$FloatLerper;
    • fixedRotation

      private final Quaternionf fixedRotation
      Mappings:
      Namespace Name Mixin selector
      official aR Lbfg;aR:Lorg/joml/Quaternionf;
      intermediary field_42382 Lnet/minecraft/class_8113;field_42382:Lorg/joml/Quaternionf;
      named fixedRotation Lnet/minecraft/entity/decoration/DisplayEntity;fixedRotation:Lorg/joml/Quaternionf;
    • interpolators

      protected final DisplayEntity.Interpolators interpolators
      Mappings:
      Namespace Name Mixin selector
      official n Lbfg;n:Lbfg$i;
      intermediary field_42396 Lnet/minecraft/class_8113;field_42396:Lnet/minecraft/class_8113$class_8121;
      named interpolators Lnet/minecraft/entity/decoration/DisplayEntity;interpolators:Lnet/minecraft/entity/decoration/DisplayEntity$Interpolators;
    • interpolationStart

      private long interpolationStart
      Mappings:
      Namespace Name Mixin selector
      official aS Lbfg;aS:J
      intermediary field_42620 Lnet/minecraft/class_8113;field_42620:J
      named interpolationStart Lnet/minecraft/entity/decoration/DisplayEntity;interpolationStart:J
    • lerpProgress

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

      private Box visibilityBoundingBox
      Mappings:
      Namespace Name Mixin selector
      official aU Lbfg;aU:Lecz;
      intermediary field_42383 Lnet/minecraft/class_8113;field_42383:Lnet/minecraft/class_238;
      named visibilityBoundingBox Lnet/minecraft/entity/decoration/DisplayEntity;visibilityBoundingBox:Lnet/minecraft/util/math/Box;
    • startInterpolationOnNextTick

      private boolean startInterpolationOnNextTick
      Mappings:
      Namespace Name Mixin selector
      official aV Lbfg;aV:Z
      intermediary field_43147 Lnet/minecraft/class_8113;field_43147:Z
      named startInterpolationOnNextTick Lnet/minecraft/entity/decoration/DisplayEntity;startInterpolationOnNextTick:Z
    • startInterpolationChanged

      private boolean startInterpolationChanged
      Mappings:
      Namespace Name Mixin selector
      official aW Lbfg;aW:Z
      intermediary field_43148 Lnet/minecraft/class_8113;field_43148:Z
      named startInterpolationChanged Lnet/minecraft/entity/decoration/DisplayEntity;startInterpolationChanged:Z
  • Constructor Details

    • DisplayEntity

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

    • onDataTrackerUpdate

      public void onDataTrackerUpdate(List<DataTracker.SerializedEntry<?>> dataEntries)
      Overrides:
      onDataTrackerUpdate in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Ljava/util/List;)V
      intermediary method_48850 Lnet/minecraft/class_1297;method_48850(Ljava/util/List;)V
      named onDataTrackerUpdate Lnet/minecraft/entity/Entity;onDataTrackerUpdate(Ljava/util/List;)V
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Overrides:
      onTrackedDataSet in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Lacl;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • getTransformation

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

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbfh;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbfh;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses has 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
      official a Lbfh;a(Lre;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • setTransformation

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

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses has 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
      official b Lbfh;b(Lre;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • createSpawnPacket

      public Packet<ClientPlayPacketListener> createSpawnPacket()
      Returns a packet to notify the clients of the entity's spawning.
      Overrides:
      createSpawnPacket in class Entity
      Returns:
      a packet to notify the clients of the entity's spawning
      Mappings:
      Namespace Name Mixin selector
      official S Lbfh;S()Lvb;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/packet/Packet;
    • getVisibilityBoundingBox

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

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

      This is PistonBehavior.NORMAL by default. AreaEffectCloudEntity, 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
      official C_ Lbfh;C_()Ldwp;
      intermediary method_5657 Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
      named getPistonBehavior Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
    • getFixedRotation

      public Quaternionf getFixedRotation()
      Mappings:
      Namespace Name Mixin selector
      official i Lbfg;i()Lorg/joml/Quaternionf;
      intermediary method_48863 Lnet/minecraft/class_8113;method_48863()Lorg/joml/Quaternionf;
      named getFixedRotation Lnet/minecraft/entity/decoration/DisplayEntity;getFixedRotation()Lorg/joml/Quaternionf;
    • lerpTransformation

      public AffineTransformation lerpTransformation(float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfg;a(F)Lj;
      intermediary method_48842 Lnet/minecraft/class_8113;method_48842(F)Lnet/minecraft/class_4590;
      named lerpTransformation Lnet/minecraft/entity/decoration/DisplayEntity;lerpTransformation(F)Lnet/minecraft/util/math/AffineTransformation;
    • setInterpolationDuration

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

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

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

      private int getStartInterpolation()
      Mappings:
      Namespace Name Mixin selector
      official p Lbfg;p()I
      intermediary method_49745 Lnet/minecraft/class_8113;method_49745()I
      named getStartInterpolation Lnet/minecraft/entity/decoration/DisplayEntity;getStartInterpolation()I
    • setBillboardMode

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

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

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

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

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

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

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

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

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

      public float lerpShadowRadius(float delta)
      Mappings:
      Namespace Name Mixin selector
      official b Lbfg;b(F)F
      intermediary method_48852 Lnet/minecraft/class_8113;method_48852(F)F
      named lerpShadowRadius Lnet/minecraft/entity/decoration/DisplayEntity;lerpShadowRadius(F)F
    • setShadowStrength

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

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

      public float lerpShadowStrength(float delta)
      Mappings:
      Namespace Name Mixin selector
      official c Lbfg;c(F)F
      intermediary method_48857 Lnet/minecraft/class_8113;method_48857(F)F
      named lerpShadowStrength Lnet/minecraft/entity/decoration/DisplayEntity;lerpShadowStrength(F)F
    • setDIsplayWidth

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

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

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

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

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

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

      private float getDisplayHeight()
      Mappings:
      Namespace Name Mixin selector
      official x Lbfg;x()F
      intermediary method_48877 Lnet/minecraft/class_8113;method_48877()F
      named getDisplayHeight Lnet/minecraft/entity/decoration/DisplayEntity;getDisplayHeight()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
      official e Lbfh;e(DDD)V
      intermediary method_5814 Lnet/minecraft/class_1297;method_5814(DDD)V
      named setPosition Lnet/minecraft/entity/Entity;setPosition(DDD)V
    • updateVisibilityBoundingBox

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

      public void setPitch(float pitch)
      Overrides:
      setPitch in class Entity
      Mappings:
      Namespace Name Mixin selector
      official e Lbfh;e(F)V
      intermediary method_36457 Lnet/minecraft/class_1297;method_36457(F)V
      named setPitch Lnet/minecraft/entity/Entity;setPitch(F)V
    • setYaw

      public void setYaw(float yaw)
      Overrides:
      setYaw in class Entity
      Mappings:
      Namespace Name Mixin selector
      official f Lbfh;f(F)V
      intermediary method_36456 Lnet/minecraft/class_1297;method_36456(F)V
      named setYaw Lnet/minecraft/entity/Entity;setYaw(F)V
    • updateFixedRotation

      private void updateFixedRotation()
      Mappings:
      Namespace Name Mixin selector
      official z Lbfg;z()V
      intermediary method_48841 Lnet/minecraft/class_8113;method_48841()V
      named updateFixedRotation Lnet/minecraft/entity/decoration/DisplayEntity;updateFixedRotation()V
    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(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
      official B_ Lbfh;B_()I
      intermediary method_22861 Lnet/minecraft/class_1297;method_22861()I
      named getTeamColorValue Lnet/minecraft/entity/Entity;getTeamColorValue()I