Examples of AnvilWindow


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

    Player player = (Player) entity;
    AnvilInventory inventory = new AnvilInventory();
    AnvilOpenEvent event = player.getEngine().getEventManager().callEvent(new AnvilOpenEvent(block, inventory, player));
    if (!event.isCancelled()) {
      player.get(WindowHolder.class).openWindow(new AnvilWindow(player, new AnvilInventory(), block));
    }
  }
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.