Get the nearest target which is what ever matches the given selector in an array of selectors. This will include the parent. The first selector that matches is the selector used to get the target (css ...
minecraft:behavior.nearest_attackable_target compels an entity to attack the closest target within a given subset of specific target types. attack_interval 0 Integer Time range (in seconds) between ...