public void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityId()); if (entity instanceof EntityLivingBase) { ((EntityLivingBase)entity).removePotionEffectClient(packetIn.getEffectId()); } }
public void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityId()); if (entity instanceof EntityLivingBase) { ((EntityLivingBase) entity).removePotionEffectClient(packetIn.getEffectId()); } }
public void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect p_147262_1_) { Entity var2 = this.clientWorldController.getEntityByID(p_147262_1_.func_149076_c()); if (var2 instanceof EntityLivingBase) { ((EntityLivingBase)var2).removePotionEffectClient(p_147262_1_.func_149075_d()); } }
public void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect p_147262_1_) { Entity entity = this.clientWorldController.getEntityByID(p_147262_1_.func_149076_c()); if (entity instanceof EntityLivingBase) { ((EntityLivingBase)entity).removePotionEffectClient(p_147262_1_.func_149075_d()); } }
protected void onFinishedPotionEffect(PotionEffect p_70688_1_) { super.onFinishedPotionEffect(p_70688_1_); this.playerNetServerHandler.sendPacket(new S1EPacketRemoveEntityEffect(this.getEntityId(), p_70688_1_)); }
protected void onFinishedPotionEffect(PotionEffect par1PotionEffect) { super.onFinishedPotionEffect(par1PotionEffect); this.playerNetServerHandler.sendPacket(new S1EPacketRemoveEntityEffect(this.getEntityId(), par1PotionEffect)); }
void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect packetIn);
void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect var1);
void handleRemoveEntityEffect(S1EPacketRemoveEntityEffect p_147262_1_);