Examples of FurnaceWindow


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

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

        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

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

        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
Copyright © 2018 www.massapi.com. 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.