protected void collideWithEntity(Entity par1Entity) { if (par1Entity instanceof IMob && this.getRNG().nextInt(20) == 0) { this.setAttackTarget((EntityLivingBase) par1Entity); } super.collideWithEntity(par1Entity); }
protected void collideWithEntity(Entity p_82167_1_) { if (p_82167_1_ instanceof IMob && !(p_82167_1_ instanceof EntityCreeper) && this.getRNG().nextInt(20) == 0) { this.setAttackTarget((EntityLivingBase) p_82167_1_); } super.collideWithEntity(p_82167_1_); }