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

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


  @Override
  public boolean open(Player player) {
    BrewingStandOpenEvent event = player.getEngine().getEventManager().callEvent(new BrewingStandOpenEvent(this, player));
    if (!event.isCancelled()) {
      player.get(WindowHolder.class).openWindow(new BrewingStandWindow(player, this, getInventory()));
      return true;
    }
    return false;
  }
View Full Code Here


        break;
      case ENCHANTMENT_TABLE:
        player.get(WindowHolder.class).openWindow(new EnchantmentTableWindow(player, null, new EnchantmentTableInventory()));
        break;
      case BREWING_STAND:
        player.get(WindowHolder.class).openWindow(new BrewingStandWindow(player, null, new BrewingStandInventory()));
        break;
      case VILLAGER:
        player.get(WindowHolder.class).openWindow(new VillagerWindow(player, new VillagerInventory()));
        break;
      default:
View Full Code Here

        break;
      case ENCHANTMENT_TABLE:
        player.get(WindowHolder.class).openWindow(new EnchantmentTableWindow(player, new EnchantmentTableInventory(), title));
        break;
      case BREWING_STAND:
        player.get(WindowHolder.class).openWindow(new BrewingStandWindow(player, new BrewingStandInventory(), title));
        break;
      case VILLAGER:
        player.get(WindowHolder.class).openWindow(new VillagerWindow(player, new VillagerInventory(), title));
        break;
      default:
View Full Code Here

TOP

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

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.