Java 类net.minecraft.network.play.server.SPacketUpdateHealth 实例源码

项目:Zombe-Modpack    文件:NetHandlerPlayClient.java   
public void handleUpdateHealth(SPacketUpdateHealth packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.player.setPlayerSPHealth(packetIn.getHealth());
    this.gameController.player.getFoodStats().setFoodLevel(packetIn.getFoodLevel());
    this.gameController.player.getFoodStats().setFoodSaturationLevel(packetIn.getSaturationLevel());
}
项目:Backmemed    文件:NetHandlerPlayClient.java   
public void handleUpdateHealth(SPacketUpdateHealth packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.player.setPlayerSPHealth(packetIn.getHealth());
    this.gameController.player.getFoodStats().setFoodLevel(packetIn.getFoodLevel());
    this.gameController.player.getFoodStats().setFoodSaturationLevel(packetIn.getSaturationLevel());
}
项目:CustomWorldGen    文件:NetHandlerPlayClient.java   
public void handleUpdateHealth(SPacketUpdateHealth packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.thePlayer.setPlayerSPHealth(packetIn.getHealth());
    this.gameController.thePlayer.getFoodStats().setFoodLevel(packetIn.getFoodLevel());
    this.gameController.thePlayer.getFoodStats().setFoodSaturationLevel(packetIn.getSaturationLevel());
}
项目:ExpandedRailsMod    文件:NetHandlerPlayClient.java   
public void handleUpdateHealth(SPacketUpdateHealth packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.thePlayer.setPlayerSPHealth(packetIn.getHealth());
    this.gameController.thePlayer.getFoodStats().setFoodLevel(packetIn.getFoodLevel());
    this.gameController.thePlayer.getFoodStats().setFoodSaturationLevel(packetIn.getSaturationLevel());
}
项目:Backmemed    文件:INetHandlerPlayClient.java   
void handleUpdateHealth(SPacketUpdateHealth packetIn);
项目:CustomWorldGen    文件:INetHandlerPlayClient.java   
void handleUpdateHealth(SPacketUpdateHealth packetIn);