Interface BlockDisplay

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

public interface BlockDisplay extends DisplayEntity
A BlockDisplay is an entity that displays a single block state in the world.
  • Method Details

    • displayedBlock

      default BlockState displayedBlock()
      Returns the block displayed
      Returns:
      the block displayed