Open Furnace Inventory

Discussion in 'Plugin Development' started by FunnyItsElmo, Apr 25, 2014.

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

    FunnyItsElmo

    Hello,
    How could i open an working furnace inventory?
    If i create the inventory with
    Code:
    this.inventory = Bukkit.createInventory(this, InventoryType.FURNACE);
    it works but the furnace has no functionality.
    Any Ideas?
     
  2. Offline

    zDubsCrazy

  3. Offline

    FunnyItsElmo

    zDubsCrazy yeah i know but the opened furnace inventory has no functionality.
     
  4. Offline

    zDubsCrazy

    FunnyItsElmo
    You want it to burn? Have you tried putting coal?
     
  5. FunnyItsElmo You mean like openWorkbench() or openEnchanting() but for furnaces? There's no method, and possibly no way, to do that because crafting and enchanting inventories are per person, furnace inventories are per furnace.
     
  6. Offline

    FunnyItsElmo

  7. Offline

    Tehmaker

    Re-read what Adam said...
    However, you could possibly use Bukkit's scheduler programming to check the inventory after a certain amount of time, and add iron ingots, and remove coal.
     
  8. Offline

    zDubsCrazy

  9. Offline

    FunnyItsElmo

    zDubsCrazy The plugin just supports chests and workbenchs but thanks Tehmaker AdamQpzm So i need a Furnace to create a working Furnace Inventory right? so is there any way to create a virtual/invisible block?
     
  10. Offline

    zDubsCrazy

    FunnyItsElmo
    Sorry, I thought you also had support for furnaces!
     
Thread Status:
Not open for further replies.

Share This Page