Minecraft wiki entry for Creating_behavior_packs, associated text: Priority – This sets how important this component is. Components with a higher priority will be more likely to be run. Note that a lower number means a higher priority and that priorities can be negative!
Entity_types – This is where we filter for what types of entities this entity can set as its target.
Max_dist – if the entity we want to be able to targets is within this many blocks from this entity than we can target it
Must_see – whether the entity that we want to target must be seen to be able to be set as our target