Monsters now fight smartly, attacking only when they spot their foes! This straightforward fabric modification enhances gameplay by altering monster behavior. With this mod, hostile entities will only engage players if they are directly visible.
Additionally, the mod introduces a backstab mechanic, allowing players to inflict extra damage when launching sneak attacks from behind the monster’s line of sight. This feature not only adds a strategic layer to confrontations but also encourages players to approach battles creatively.
The mod utilizes the Cloth Config API, providing easy-to-use settings for customization. Players can modify the detection field of view for each monster and adjust the multiplier for backstab damage according to their gameplay needs. Installation is seamless, requiring only the mod to be placed on the server. Following this, simply refresh the configuration using the command /monstereyes reload.
Compatible with versions 1.1 and earlier, this mod introduces the entity attribute monstereyes:field_of_view. The standard visual range is set to 180 degrees, influencing how far a monster can detect players. In addition, the backstab feature enhances the combat experience by increasing damage when attacking unnoticed monsters. This can be fine-tuned using game rules such as doBackstabDamage and backstabDamageMultiplier.