Interface BeaconInventory

All Superinterfaces:
Inventory, java.lang.Iterable<ItemStack>

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

    • setItem

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

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