Package org.spout.vanilla.event.inventory

Examples of org.spout.vanilla.event.inventory.FurnaceOpenEvent


    return getData().get(VanillaData.FURNACE_INVENTORY);
  }

  @Override
  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);
View Full Code Here

TOP

Related Classes of org.spout.vanilla.event.inventory.FurnaceOpenEvent

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.