Interface BeaconInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

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

    • setItem

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

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