Interface BlockDisplay

All Superinterfaces:
CommandSender, Display, Entity, Metadatable, Nameable, Permissible, PersistentDataHolder, ServerOperator

public interface BlockDisplay extends Display
Represents a block display entity.
  • Method Details

    • getBlock

      @NotNull BlockData getBlock()
      Gets the displayed block.
      Returns:
      the displayed block
    • setBlock

      void setBlock(@NotNull BlockData block)
      Sets the displayed block.
      Parameters:
      block - the new block