/** * set current crafting inventory back to the 2x2 square */ public void closeScreen() { this.playerNetServerHandler.sendPacket(new S2EPacketCloseWindow(this.openContainer.windowId)); this.closeContainer(); }
/** * Resets the ItemStack held in hand and closes the window that is opened */ public void handleCloseWindow(S2EPacketCloseWindow packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); this.gameController.thePlayer.closeScreenAndDropStack(); }
@Override public Packet closeWindow(int windowId) { return new NeptunePacket(new S2EPacketCloseWindow(windowId)); }
/** * Resets the ItemStack held in hand and closes the window that is opened */ public void handleCloseWindow(S2EPacketCloseWindow p_147276_1_) { this.gameController.thePlayer.closeScreenNoPacket(); }
@Override public Packet closeWindow(int windowId) { return (Packet) new S2EPacketCloseWindow(windowId); }
public void closeScreen() { CraftEventFactory.handleInventoryCloseEvent(this); // CraftBukkit this.playerNetServerHandler.sendPacket(new S2EPacketCloseWindow(this.openContainer.windowId)); this.closeContainer(); }
public void handleCloseWindow(S2EPacketCloseWindow p_147276_1_) { this.gameController.thePlayer.closeScreenNoPacket(); }
public void closeScreen() { this.playerNetServerHandler.sendPacket(new S2EPacketCloseWindow(this.openContainer.windowId)); this.closeContainer(); }
/** * Resets the ItemStack held in hand and closes the window that is opened */ void handleCloseWindow(S2EPacketCloseWindow packetIn);
/** * Resets the ItemStack held in hand and closes the window that is opened */ void handleCloseWindow(S2EPacketCloseWindow var1);
void handleCloseWindow(S2EPacketCloseWindow p_147276_1_);