Beispiel #1
0
 /** Displays the GUI for interacting with a beacon. */
 public void displayGUIBeacon(TileEntityBeacon par1TileEntityBeacon) {
   this.incrementWindowID();
   this.playerNetServerHandler.sendPacketToPlayer(
       new Packet100OpenWindow(
           this.currentWindowId,
           7,
           par1TileEntityBeacon.getInvName(),
           par1TileEntityBeacon.getSizeInventory(),
           par1TileEntityBeacon.isInvNameLocalized()));
   this.openContainer = new ContainerBeacon(this.inventory, par1TileEntityBeacon);
   this.openContainer.windowId = this.currentWindowId;
   this.openContainer.addCraftingToCrafters(this);
 }