Sindarin27 / farsighted-mobs-forge

GNU Lesser General Public License v3.0
0 stars 0 forks source link

[Suggestion] Add directional visibility #4

Open Sindarin27 opened 2 years ago

Sindarin27 commented 2 years ago

Add an option so mobs only see you if they are looking in your direction. Possibly make it so they need to be looking in a certain direction at a certain range, and if you are closer by they will always see you. Would go well with an expanded config system.

Hints: The LivingEntity class contains member variables with the head yaw and pitch, as well as a method that determines whether one entity can see another that does not utilise this.