Interface DisplayEntity

All Superinterfaces:
CopyableDataHolder, DataHolder, DataHolder.Mutable, DataSerializable, Entity, EntityProjectileSource, HoverEventSource<HoverEvent.ShowEntity>, Identifiable, Locatable, ProjectileSource, RandomProvider, SerializableDataHolder, SerializableDataHolder.Mutable, Sound.Emitter, TeamMember, ValueContainer
All Known Subinterfaces:
BlockDisplay, ItemDisplay, TextDisplay

public interface DisplayEntity extends Entity
  • Method Details

    • transform

      default Transform transform()
      Returns the transform.

      Supports interpolation.

      Specified by:
      transform in interface Entity
      Returns:
      the transform
    • interpolationDuration

      default Ticks interpolationDuration()
      Returns the duration of the interpolation
      Returns:
      the duration of the interpolation
    • interpolationDelay

      default Ticks interpolationDelay()
      Returns the delay to the start of the interpolation
      Returns:
      the delay to the start of the interpolation
    • billboardType

      default BillboardType billboardType()
    • skyLight

      default Optional<Integer> skyLight()
      Returns the skylight override.
      Returns:
      the skylight override
    • blockLight

      default Optional<Integer> blockLight()
      Returns the blocklight override.
      Returns:
      the blocklight override
    • shadowRadius

      default Double shadowRadius()
      Returns the shadow radius.
      Returns:
      the shadow radius.
    • shadowStrength

      default Double shadowStrength()
      Returns the shadow strength or darkness.

      Vanilla defaults to 1

      Returns:
      the shadow strength.
    • viewRange

      default Double viewRange()
      Returns the range at which the display entity is rendered.
      Returns:
      the view range