Interface BeaconInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

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

    • setItem Link icon

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

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