Java 类net.minecraft.network.packet.Packet105UpdateProgressbar 实例源码

项目:RuneCraftery    文件:NetClientHandler.java   
public void func_72505_a(Packet105UpdateProgressbar p_72505_1_) {
   EntityClientPlayerMP var2 = this.field_72563_h.field_71439_g;
   this.func_72509_a(p_72505_1_);
   if(var2.field_71070_bA != null && var2.field_71070_bA.field_75152_c == p_72505_1_.field_73634_a) {
      var2.field_71070_bA.func_75137_b(p_72505_1_.field_73632_b, p_72505_1_.field_73633_c);
   }

}
项目:RuneCraftery    文件:NetClientHandler.java   
public void handleUpdateProgressbar(Packet105UpdateProgressbar par1Packet105UpdateProgressbar)
{
    EntityClientPlayerMP entityclientplayermp = this.mc.thePlayer;
    this.unexpectedPacket(par1Packet105UpdateProgressbar);

    if (entityclientplayermp.openContainer != null && entityclientplayermp.openContainer.windowId == par1Packet105UpdateProgressbar.windowId)
    {
        entityclientplayermp.openContainer.updateProgressBar(par1Packet105UpdateProgressbar.progressBar, par1Packet105UpdateProgressbar.progressBarValue);
    }
}
项目:BetterNutritionMod    文件:NetClientHandler.java   
public void handleUpdateProgressbar(Packet105UpdateProgressbar par1Packet105UpdateProgressbar)
{
    EntityClientPlayerMP entityclientplayermp = this.mc.thePlayer;
    this.unexpectedPacket(par1Packet105UpdateProgressbar);

    if (entityclientplayermp.openContainer != null && entityclientplayermp.openContainer.windowId == par1Packet105UpdateProgressbar.windowId)
    {
        entityclientplayermp.openContainer.updateProgressBar(par1Packet105UpdateProgressbar.progressBar, par1Packet105UpdateProgressbar.progressBarValue);
    }
}
项目:forge_world_downloader    文件:WDLNetClientHandler.java   
@Override
public void handleUpdateProgressbar(Packet105UpdateProgressbar par1Packet105UpdateProgressbar)
{
    nch.handleUpdateProgressbar(par1Packet105UpdateProgressbar);        
}
项目:RuneCraftery    文件:EntityPlayerMP.java   
public void func_71112_a(Container p_71112_1_, int p_71112_2_, int p_71112_3_) {
   this.field_71135_a.func_72567_b(new Packet105UpdateProgressbar(p_71112_1_.field_75152_c, p_71112_2_, p_71112_3_));
}
项目:RuneCraftery    文件:NetHandler.java   
public void func_72505_a(Packet105UpdateProgressbar p_72505_1_) {
   this.func_72509_a(p_72505_1_);
}
项目:RuneCraftery    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container par1Container, int par2, int par3)
{
    this.playerNetServerHandler.sendPacketToPlayer(new Packet105UpdateProgressbar(par1Container.windowId, par2, par3));
}
项目:BetterNutritionMod    文件:EntityPlayerMP.java   
/**
 * Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress,
 * and enchanting level. Normally the first int identifies which variable to update, and the second contains the new
 * value. Both are truncated to shorts in non-local SMP.
 */
public void sendProgressBarUpdate(Container par1Container, int par2, int par3)
{
    this.playerNetServerHandler.sendPacketToPlayer(new Packet105UpdateProgressbar(par1Container.windowId, par2, par3));
}