Class Display

All Implemented Interfaces:
CommandSource, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, INBTSerializable<CompoundTag>
Direct Known Subclasses:
Display.BlockDisplay, Display.ItemDisplay, Display.TextDisplay

public abstract class Display extends Entity
  • Field Details

  • Constructor Details

  • Method Details

    • onSyncedDataUpdated

      public void onSyncedDataUpdated(List<SynchedEntityData.DataValue<?>> p_270860_)
      Overrides:
      onSyncedDataUpdated in class Entity
    • onSyncedDataUpdated

      public void onSyncedDataUpdated(EntityDataAccessor<?> p_270275_)
      Overrides:
      onSyncedDataUpdated in class Entity
    • createTransformation

      private static Transformation createTransformation(SynchedEntityData p_270278_)
    • tick

      public void tick()
      Overrides:
      tick in class Entity
    • defineSynchedData

      protected void defineSynchedData()
      Specified by:
      defineSynchedData in class Entity
    • readAdditionalSaveData

      protected void readAdditionalSaveData(CompoundTag p_270854_)
      Specified by:
      readAdditionalSaveData in class Entity
    • setTransformation

      private void setTransformation(Transformation p_270186_)
    • addAdditionalSaveData

      protected void addAdditionalSaveData(CompoundTag p_270779_)
      Specified by:
      addAdditionalSaveData in class Entity
    • getAddEntityPacket

      public Packet<ClientGamePacketListener> getAddEntityPacket()
      Overrides:
      getAddEntityPacket in class Entity
    • getBoundingBoxForCulling

      public AABB getBoundingBoxForCulling()
      Overrides:
      getBoundingBoxForCulling in class Entity
    • getPistonPushReaction

      public PushReaction getPistonPushReaction()
      Overrides:
      getPistonPushReaction in class Entity
    • orientation

      public org.joml.Quaternionf orientation()
    • transformation

      public Transformation transformation(float p_270349_)
    • setInterpolationDuration

      private void setInterpolationDuration(int p_270803_)
    • getInterpolationDuration

      private int getInterpolationDuration()
    • setInterpolationDelay

      private void setInterpolationDelay(int p_276366_)
    • getInterpolationDelay

      private int getInterpolationDelay()
    • setBillboardConstraints

      private void setBillboardConstraints(Display.BillboardConstraints p_270345_)
    • getBillboardConstraints

      public Display.BillboardConstraints getBillboardConstraints()
    • setBrightnessOverride

      private void setBrightnessOverride(@Nullable Brightness p_270461_)
    • getBrightnessOverride

      @Nullable private Brightness getBrightnessOverride()
    • getPackedBrightnessOverride

      public int getPackedBrightnessOverride()
    • setViewRange

      private void setViewRange(float p_270907_)
    • getViewRange

      private float getViewRange()
    • setShadowRadius

      private void setShadowRadius(float p_270122_)
    • getShadowRadius

      private float getShadowRadius()
    • getShadowRadius

      public float getShadowRadius(float p_270525_)
    • setShadowStrength

      private void setShadowStrength(float p_270866_)
    • getShadowStrength

      private float getShadowStrength()
    • getShadowStrength

      public float getShadowStrength(float p_270465_)
    • setWidth

      private void setWidth(float p_270741_)
    • getWidth

      private float getWidth()
    • setHeight

      private void setHeight(float p_270716_)
    • getGlowColorOverride

      private int getGlowColorOverride()
    • setGlowColorOverride

      private void setGlowColorOverride(int p_270784_)
    • calculateInterpolationProgress

      public float calculateInterpolationProgress(float p_272675_)
    • getHeight

      private float getHeight()
    • setPos

      public void setPos(double p_270091_, double p_270983_, double p_270419_)
      Overrides:
      setPos in class Entity
    • updateCulling

      private void updateCulling()
    • setXRot

      public void setXRot(float p_270257_)
      Overrides:
      setXRot in class Entity
    • setYRot

      public void setYRot(float p_270921_)
      Overrides:
      setYRot in class Entity
    • updateOrientation

      private void updateOrientation()
    • shouldRenderAtSqrDistance

      public boolean shouldRenderAtSqrDistance(double p_270991_)
      Overrides:
      shouldRenderAtSqrDistance in class Entity
    • getTeamColor

      public int getTeamColor()
      Overrides:
      getTeamColor in class Entity