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

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

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

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.