public void func_146101_a(TileEntityFurnace p_146101_1_) { this.getNextWindowId(); this.playerNetServerHandler.sendPacket( new S2DPacketOpenWindow( this.currentWindowId, 2, p_146101_1_.getInventoryName(), p_146101_1_.getSizeInventory(), p_146101_1_.isCustomInventoryName())); this.openContainer = new ContainerFurnace(this.inventory, p_146101_1_); this.openContainer.windowId = this.currentWindowId; this.openContainer.onCraftGuiOpened(this); }