Class CloudChestInventory

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

public class CloudChestInventory extends CloudContainer implements org.cloudburstmc.api.inventory.ChestInventory
author: MagicDroidX Nukkit Project
  • Field Details

  • Constructor Details

    • CloudChestInventory

      public CloudChestInventory(org.cloudburstmc.api.blockentity.Chest chest)
  • Method Details

    • getHolder

      public ChestBlockEntity getHolder()
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.ChestInventory
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.Inventory
      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
    • setDoubleInventory

      public void setDoubleInventory(CloudDoubleChestInventory doubleInventory)
    • getDoubleInventory

      public CloudDoubleChestInventory getDoubleInventory()
    • 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
    • isDouble

      public boolean isDouble()
      Specified by:
      isDouble in interface org.cloudburstmc.api.inventory.ChestInventory