Interface ShulkerBox

All Superinterfaces:
BlockInventoryHolder, BlockState, Container, InventoryHolder, Lidded, Lockable, LockableTileState, Lootable, LootableBlockInventory, LootableInventory, Metadatable, Nameable, PersistentDataHolder, PersistentDataViewHolder, TileState, TileStateInventoryHolder

public interface ShulkerBox extends Container, LootableBlockInventory, Lidded
Represents a captured state of a ShulkerBox.
  • Method Details

    • getColor

      @Nullable @Nullable DyeColor getColor()
      Get the DyeColor corresponding to this ShulkerBox
      Returns:
      the DyeColor of this ShulkerBox, or null if default