Interface BeaconInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface BeaconInventory extends Inventory
Interface to the inventory of a Beacon.
  • Method Details

    • setItem

      void setItem(@Nullable ItemStack item)
      Set the item powering the beacon.
      Parameters:
      item - The new item
    • getItem

      @Nullable ItemStack getItem()
      Get the item powering the beacon.
      Returns:
      The current item.