/** Called when the mob's health reaches 0. */ public void onDeath(DamageSource par1DamageSource) { super.onDeath(par1DamageSource); this.worldObj.setBlock(beamX, beamY, beamZ, 0); }
/** Called when the mob's health reaches 0. */ public void onDeath(DamageSource var1) { super.onDeath(var1); this.worldObj.setBlockWithNotify(this.beamX, this.beamY, this.beamZ, 0); }