Interface ShulkerBox

All Superinterfaces:
BlockInventoryHolder, BlockState, Container, InventoryHolder, Lidded, Lockable, Lootable, Metadatable, Nameable, PersistentDataHolder, TileState

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

    • getColor

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