Java 类cpw.mods.fml.common.network.internal.FMLMessage.OpenGui 实例源码

项目:TRHS_Club_Mod_2016    文件:OpenGuiHandler.java   
@Override
protected void channelRead0(ChannelHandlerContext ctx, OpenGui msg) throws Exception
{
    EntityPlayer player = FMLClientHandler.instance().getClient().field_71439_g;
    player.openGui(msg.modId, msg.modGuiId, player.field_70170_p, msg.x, msg.y, msg.z);
    player.field_71070_bA.field_75152_c = msg.windowId;
}
项目:CauldronGit    文件:OpenGuiHandler.java   
@Override
protected void channelRead0(ChannelHandlerContext ctx, OpenGui msg) throws Exception
{
    EntityPlayer player = FMLClientHandler.instance().getClient().thePlayer;
    player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);
    player.openContainer.windowId = msg.windowId;
}
项目:Cauldron    文件:OpenGuiHandler.java   
@Override
protected void channelRead0(ChannelHandlerContext ctx, OpenGui msg) throws Exception
{
    EntityPlayer player = FMLClientHandler.instance().getClient().thePlayer;
    player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);
    player.openContainer.windowId = msg.windowId;
}
项目:Cauldron    文件:OpenGuiHandler.java   
@Override
protected void channelRead0(ChannelHandlerContext ctx, OpenGui msg) throws Exception
{
    EntityPlayer player = FMLClientHandler.instance().getClient().thePlayer;
    player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);
    player.openContainer.windowId = msg.windowId;
}
项目:Cauldron    文件:OpenGuiHandler.java   
@Override
protected void channelRead0(ChannelHandlerContext ctx, OpenGui msg) throws Exception
{
    EntityPlayer player = FMLClientHandler.instance().getClient().thePlayer;
    player.openGui(msg.modId, msg.modGuiId, player.worldObj, msg.x, msg.y, msg.z);
    player.openContainer.windowId = msg.windowId;
}