Inventories

Discussion in 'Plugin Development' started by TerroDoor, Apr 25, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    TerroDoor

    i'm lost with creating interactive inventories can i have some assistance?
     
  2. Offline

    Shqep

    What exactly do you need help with? Please be more detailed.
     
  3. Offline

    TerroDoor

    How do i go about importing and creating an inventory
     
  4. Offline

    Shqep

    Importing? What did you mean by importing?
    Creating, eh
    Code:Java
    1. Bukkit.createInventory(owner, slots, name of inv);


    Adding items by
    Code:Java
    1. .setItem(slot-index, item);


    You can check for InventoryClickEvent and do stuff with it.
     
  5. Offline

    KarimAKL

    @TerroDoor You simply create an inventory and then check for inventory events like "InventoryClickEvent" and "InventoryDragEvent"
     
Thread Status:
Not open for further replies.

Share This Page