Sorry for the back to back updates.
Added 'CheckTicks': This allows you to modify how often
to check if player is looking at an entity. Currently, i'm experimenting with the value 0. Seems to provide a better experience but increase if lagging, maybe to 10 or 20. The old value was 20.
Added 'Whitelist': If enabled (by adding names), action health will only appear for white listed entities.
Config changes if you'd like to modify these values:
Code (Text):
# Whitelist by entity name or entity display name.
# Also supports MythicMobs using the internal name.
Whitelist: []
LookValues:
# How often (in ticks) to check if player is looking at an entity. Increase if lagging, maybe to 10 or 20.
CheckTicks: 0
# If the dot product is positive, the target is in front
Dot: 0
# Tolerance of the line calculation
Tolerance: 4