public void processCloseWindow(C0DPacketCloseWindow p_147356_1_) { if (this.playerEntity.isDead) { return; // CraftBukkit } // Cauldron start - vanilla compatibility try { if (this.playerEntity.openContainer.getBukkitView() != null) { CraftEventFactory.handleInventoryCloseEvent(this.playerEntity); // CraftBukkit } } catch (AbstractMethodError e) { // do nothing } // Cauldron end this.playerEntity.closeContainer(); }
/** * Processes the client closing windows (container) */ public void processCloseWindow(C0DPacketCloseWindow packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerForPlayer()); this.playerEntity.closeContainer(); }
/** * set current crafting inventory back to the 2x2 square */ public void closeScreen() { this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId)); this.closeScreenAndDropStack(); }
public static void openInventoryGui() { TabRegistry.mc.thePlayer.sendQueue.addToSendQueue(new C0DPacketCloseWindow(mc.thePlayer.openContainer.windowId)); GuiInventory inventory = new GuiInventory(TabRegistry.mc.thePlayer); TabRegistry.mc.displayGuiScreen(inventory); }
/** * Processes the client closing windows (container) */ public void processCloseWindow(C0DPacketCloseWindow p_147356_1_) { this.playerEntity.closeContainer(); }
/** * set current crafting inventory back to the 2x2 square */ public void closeScreen() { this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId)); this.closeScreenNoPacket(); }
@Override public void processCloseWindow(C0DPacketCloseWindow p_147356_1_) { }
public void closeScreen() { this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId)); this.closeScreenNoPacket(); }
public void processCloseWindow(C0DPacketCloseWindow p_147356_1_) { this.playerEntity.closeContainer(); }
public static void openInventoryGui () { mc.thePlayer.sendQueue.addToSendQueue(new C0DPacketCloseWindow(mc.thePlayer.openContainer.windowId)); GuiInventory inventory = new GuiInventory(mc.thePlayer); mc.displayGuiScreen(inventory); }
/** * Processes the client closing windows (container) */ void processCloseWindow(C0DPacketCloseWindow packetIn);
/** * Processes the client closing windows (container) */ void processCloseWindow(C0DPacketCloseWindow var1);
void processCloseWindow(C0DPacketCloseWindow p_147356_1_);