145146147148149150151152153154155
entity.setInternal(IArmorState.ARMOR_NA, entity.locations() - loop); } // Now apply the damage. entity.applyDamage(); } } // Handle the next element. // Return the entity.