Java 类net.minecraft.network.play.client.C0DPacketCloseWindow 实例源码

项目:Cauldron    文件:NetHandlerPlayServer.java   
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();
}
项目:DecompiledMinecraft    文件:NetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
public void processCloseWindow(C0DPacketCloseWindow packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerForPlayer());
    this.playerEntity.closeContainer();
}
项目:DecompiledMinecraft    文件:NetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
public void processCloseWindow(C0DPacketCloseWindow packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerForPlayer());
    this.playerEntity.closeContainer();
}
项目:DecompiledMinecraft    文件:EntityPlayerSP.java   
/**
 * set current crafting inventory back to the 2x2 square
 */
public void closeScreen()
{
    this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId));
    this.closeScreenAndDropStack();
}
项目:BaseClient    文件:NetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
public void processCloseWindow(C0DPacketCloseWindow packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerForPlayer());
    this.playerEntity.closeContainer();
}
项目:BaseClient    文件:EntityPlayerSP.java   
/**
 * set current crafting inventory back to the 2x2 square
 */
public void closeScreen()
{
    this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId));
    this.closeScreenAndDropStack();
}
项目:BaseClient    文件:NetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
public void processCloseWindow(C0DPacketCloseWindow packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerForPlayer());
    this.playerEntity.closeContainer();
}
项目:BaseClient    文件:EntityPlayerSP.java   
/**
 * set current crafting inventory back to the 2x2 square
 */
public void closeScreen() {
    this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId));
    this.closeScreenAndDropStack();
}
项目:4Space-5    文件:TabRegistry.java   
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);
}
项目:Resilience-Client-Source    文件:NetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
public void processCloseWindow(C0DPacketCloseWindow p_147356_1_)
{
    this.playerEntity.closeContainer();
}
项目:Resilience-Client-Source    文件:EntityClientPlayerMP.java   
/**
 * set current crafting inventory back to the 2x2 square
 */
public void closeScreen()
{
    this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId));
    this.closeScreenNoPacket();
}
项目:Gadomancy    文件:FakeNetServerHandler.java   
@Override
public void processCloseWindow(C0DPacketCloseWindow p_147356_1_) {
}
项目:Cauldron    文件:EntityClientPlayerMP.java   
public void closeScreen()
{
    this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId));
    this.closeScreenNoPacket();
}
项目:Cauldron    文件:NetHandlerPlayServer.java   
public void processCloseWindow(C0DPacketCloseWindow p_147356_1_)
{
    this.playerEntity.closeContainer();
}
项目:Cauldron    文件:EntityClientPlayerMP.java   
public void closeScreen()
{
    this.sendQueue.addToSendQueue(new C0DPacketCloseWindow(this.openContainer.windowId));
    this.closeScreenNoPacket();
}
项目:Atmatm6_Mods    文件:TabRegistry.java   
public static void openInventoryGui ()
{
    mc.thePlayer.sendQueue.addToSendQueue(new C0DPacketCloseWindow(mc.thePlayer.openContainer.windowId));
    GuiInventory inventory = new GuiInventory(mc.thePlayer);
    mc.displayGuiScreen(inventory);
}
项目:DecompiledMinecraft    文件:INetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
void processCloseWindow(C0DPacketCloseWindow packetIn);
项目:DecompiledMinecraft    文件:INetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
void processCloseWindow(C0DPacketCloseWindow packetIn);
项目:BaseClient    文件:INetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
void processCloseWindow(C0DPacketCloseWindow packetIn);
项目:BaseClient    文件:INetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
void processCloseWindow(C0DPacketCloseWindow packetIn);
项目:Resilience-Client-Source    文件:INetHandlerPlayServer.java   
/**
 * Processes the client closing windows (container)
 */
void processCloseWindow(C0DPacketCloseWindow var1);
项目:Cauldron    文件:INetHandlerPlayServer.java   
void processCloseWindow(C0DPacketCloseWindow p_147356_1_);
项目:Cauldron    文件:INetHandlerPlayServer.java   
void processCloseWindow(C0DPacketCloseWindow p_147356_1_);