Package org.spout.vanilla.inventory.window.block

Examples of org.spout.vanilla.inventory.window.block.FurnaceWindow


  public boolean open(Player player) {
    FurnaceOpenEvent event = player.getEngine().getEventManager().callEvent(new FurnaceOpenEvent(this, player));
    if (!event.isCancelled()) {
      WindowHolder window = player.get(WindowHolder.class);
      if (window != null) {
        window.openWindow(new FurnaceWindow(player, this, getInventory()));
        updateProgressArrow(player);
        updateFireIcon(player);
      }
      return true;
    }
View Full Code Here


        break;
      case CRAFTING_TABLE:
        player.get(WindowHolder.class).openWindow(new CraftingTableWindow(player));
        break;
      case FURNACE:
        player.get(WindowHolder.class).openWindow(new FurnaceWindow(player, null, new FurnaceInventory()));
        break;
      case DISPENSER:
        player.get(WindowHolder.class).openWindow(new DispenserWindow(player, new DispenserInventory()));
        break;
      case ENCHANTMENT_TABLE:
View Full Code Here

        break;
      case CRAFTING_TABLE:
        player.get(WindowHolder.class).openWindow(new CraftingTableWindow(player, title));
        break;
      case FURNACE:
        player.get(WindowHolder.class).openWindow(new FurnaceWindow(player, new FurnaceInventory(), title));
        break;
      case DISPENSER:
        player.get(WindowHolder.class).openWindow(new DispenserWindow(player, new DispenserInventory(), title));
        break;
      case ENCHANTMENT_TABLE:
View Full Code Here

TOP

Related Classes of org.spout.vanilla.inventory.window.block.FurnaceWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.