Class CloudAnvilInventory

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

public class CloudAnvilInventory extends BaseInventory implements org.cloudburstmc.api.inventory.AnvilInventory
author: MagicDroidX Nukkit Project
  • Field Details

  • Constructor Details

    • CloudAnvilInventory

      public CloudAnvilInventory(CloudPlayer player)
  • Method Details

    • getHolder

      public CloudPlayer getHolder()
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.AnvilInventory
      Specified by:
      getHolder in interface org.cloudburstmc.api.inventory.Inventory
      Overrides:
      getHolder 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
    • 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
    • setInput

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

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

      public void setMaterial(org.cloudburstmc.api.item.ItemStack item)
      Specified by:
      setMaterial in interface org.cloudburstmc.api.inventory.AnvilInventory
    • getMaterial

      public org.cloudburstmc.api.item.ItemStack getMaterial()
      Specified by:
      getMaterial in interface org.cloudburstmc.api.inventory.AnvilInventory
    • setCost

      public void setCost(int cost)
      Specified by:
      setCost in interface org.cloudburstmc.api.inventory.AnvilInventory
    • getCost

      public int getCost()
      Specified by:
      getCost in interface org.cloudburstmc.api.inventory.AnvilInventory