Class Hotbar

java.lang.Object
net.playavalon.mythicdungeons.player.Hotbar
Direct Known Subclasses:
HotbarMenu

public class Hotbar extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Hotbar(org.bukkit.entity.Player player)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addItem(org.bukkit.inventory.ItemStack item)
     
    void
     
    org.bukkit.inventory.ItemStack
    getItem(int index)
     
    List<org.bukkit.inventory.ItemStack>
     
    void
    setHotbar(org.bukkit.inventory.PlayerInventory inv)
     
    void
    setHotbar(org.bukkit.inventory.PlayerInventory inv, boolean setHand)
     
    void
    setItem(int index, org.bukkit.inventory.ItemStack item)
     
    void
    setItems(org.bukkit.inventory.Inventory inv)
     
    void
    updateItems(org.bukkit.inventory.Inventory inv)
     
    void
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Hotbar

      public Hotbar(org.bukkit.entity.Player player)
    • Hotbar

      public Hotbar()
  • Method Details

    • empty

      public void empty()
    • addItem

      public void addItem(org.bukkit.inventory.ItemStack item)
    • setItem

      public void setItem(int index, org.bukkit.inventory.ItemStack item)
    • setHotbar

      public void setHotbar(org.bukkit.inventory.PlayerInventory inv)
    • setHotbar

      public void setHotbar(org.bukkit.inventory.PlayerInventory inv, boolean setHand)
    • setItems

      public void setItems(org.bukkit.inventory.Inventory inv)
    • updateItems

      public void updateItems(org.bukkit.inventory.Inventory inv)
    • updateSlot

      public void updateSlot()
    • getItems

      public List<org.bukkit.inventory.ItemStack> getItems()
    • getItem

      public org.bukkit.inventory.ItemStack getItem(int index)