public void func_72485_a(Packet38EntityStatus p_72485_1_) { Entity var2 = this.func_72545_a(p_72485_1_.field_73627_a); if(var2 != null) { var2.func_70103_a(p_72485_1_.field_73626_b); } }
/** * Packet handler */ public void handleEntityStatus(Packet38EntityStatus par1Packet38EntityStatus) { Entity entity = this.getEntityByID(par1Packet38EntityStatus.entityId); if (entity != null) { entity.handleHealthUpdate(par1Packet38EntityStatus.entityStatus); } }
@Override public void handleEntityStatus(Packet38EntityStatus par1Packet38EntityStatus) { nch.handleEntityStatus(par1Packet38EntityStatus); }
public void func_72960_a(Entity p_72960_1_, byte p_72960_2_) { Packet38EntityStatus var3 = new Packet38EntityStatus(p_72960_1_.field_70157_k, p_72960_2_); this.func_73039_n().func_72789_b(p_72960_1_, var3); }
protected void func_71036_o() { this.field_71135_a.func_72567_b(new Packet38EntityStatus(this.field_70157_k, (byte)9)); super.func_71036_o(); }
public void func_72485_a(Packet38EntityStatus p_72485_1_) { this.func_72509_a(p_72485_1_); }
/** * sends a Packet 38 (Entity Status) to all tracked players of that entity */ public void setEntityState(Entity par1Entity, byte par2) { Packet38EntityStatus packet38entitystatus = new Packet38EntityStatus(par1Entity.entityId, par2); this.getEntityTracker().sendPacketToAllAssociatedPlayers(par1Entity, packet38entitystatus); }
/** * Used for when item use count runs out, ie: eating completed */ protected void onItemUseFinish() { this.playerNetServerHandler.sendPacketToPlayer(new Packet38EntityStatus(this.entityId, (byte)9)); super.onItemUseFinish(); }