@Override public void a(EntityLiving entityliving, float f) { if (type != GuardType.RANGED) { return; } super.a(entityliving, f); }