Class CloudEnchantInventory

java.lang.Object
org.cloudburstmc.server.inventory.BaseInventory
org.cloudburstmc.server.inventory.CloudEnchantInventory
All Implemented Interfaces:
org.cloudburstmc.api.inventory.EnchantInventory, org.cloudburstmc.api.inventory.Inventory

public class CloudEnchantInventory extends BaseInventory implements org.cloudburstmc.api.inventory.EnchantInventory
author: MagicDroidX Nukkit Project
  • Constructor Details

    • CloudEnchantInventory

      public CloudEnchantInventory(CloudPlayer player, org.cloudburstmc.api.blockentity.EnchantingTable table)
  • Method Details

    • getHolder

      public CloudPlayer getHolder()
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.EnchantInventory
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      getHolder in class BaseInventory
    • getTable

      public EnchantingTableBlockEntity getTable()
      Specified by:
      getTable in interface org.cloudburstmc.api.inventory.EnchantInventory
    • getInput

      public org.cloudburstmc.api.item.ItemStack getInput()
      Specified by:
      getInput in interface org.cloudburstmc.api.inventory.EnchantInventory
    • setInput

      public void setInput(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      setInput in interface org.cloudburstmc.api.inventory.EnchantInventory
    • getOutput

      public org.cloudburstmc.api.item.ItemStack getOutput()
      Specified by:
      getOutput in interface org.cloudburstmc.api.inventory.EnchantInventory
    • setOutput

      public void setOutput(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      setOutput in interface org.cloudburstmc.api.inventory.EnchantInventory
    • getReagent

      public org.cloudburstmc.api.item.ItemStack getReagent()
      Specified by:
      getReagent in interface org.cloudburstmc.api.inventory.EnchantInventory
    • setReagent

      public void setReagent(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      setReagent in interface org.cloudburstmc.api.inventory.EnchantInventory
    • onOpen

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

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