Class CloudShulkerBoxInventory

All Implemented Interfaces:
org.cloudburstmc.api.inventory.ContainerInventory, org.cloudburstmc.api.inventory.Inventory, org.cloudburstmc.api.inventory.ShulkerBoxInventory

public class CloudShulkerBoxInventory extends CloudContainer implements org.cloudburstmc.api.inventory.ShulkerBoxInventory
Created by PetteriM1
  • Constructor Details

  • Method Details

    • getHolder

      public ShulkerBoxBlockEntity getHolder()
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.Inventory
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.ShulkerBoxInventory
      Overrides:
      getHolder in class BaseInventory
    • onOpen

      public void onOpen(org.cloudburstmc.api.player.Player who)
      Specified by:
      onOpen in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      onOpen in class CloudContainer
    • onClose

      public void onClose(org.cloudburstmc.api.player.Player who)
      Specified by:
      onClose in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      onClose in class CloudContainer
    • canAddItem

      public boolean canAddItem(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      canAddItem in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      canAddItem in class BaseInventory
    • sendSlot

      public void sendSlot(int index, org.cloudburstmc.api.player.Player... players)
      Specified by:
      sendSlot in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      sendSlot in class BaseInventory