/** * Handle a remove entity effect packet. */ public void handleRemoveEntityEffect(Packet42RemoveEntityEffect par1Packet42RemoveEntityEffect) { Entity entity = this.getEntityByID(par1Packet42RemoveEntityEffect.entityId); if (entity instanceof EntityLivingBase) { ((EntityLivingBase)entity).removePotionEffectClient(par1Packet42RemoveEntityEffect.effectId); } }
@Override public void handleRemoveEntityEffect(Packet42RemoveEntityEffect par1Packet42RemoveEntityEffect) { nch.handleRemoveEntityEffect(par1Packet42RemoveEntityEffect); }
protected void func_70688_c(PotionEffect p_70688_1_) { super.func_70688_c(p_70688_1_); this.field_71135_a.func_72567_b(new Packet42RemoveEntityEffect(this.field_70157_k, p_70688_1_)); }
public void func_72452_a(Packet42RemoveEntityEffect p_72452_1_) { this.func_72509_a(p_72452_1_); }
public void func_72452_a(Packet42RemoveEntityEffect p_72452_1_) { Entity var2 = this.func_72545_a(p_72452_1_.field_73375_a); if(var2 instanceof EntityLivingBase) { ((EntityLivingBase)var2).func_70618_n(p_72452_1_.field_73374_b); } }
protected void onFinishedPotionEffect(PotionEffect par1PotionEffect) { super.onFinishedPotionEffect(par1PotionEffect); this.playerNetServerHandler.sendPacketToPlayer(new Packet42RemoveEntityEffect(this.entityId, par1PotionEffect)); }