Back to mods
Encounter: Mob AI Tweaker project artwork

CurseForge · Minecraft mod

Encounter: Mob AI Tweaker

Allow modpack developers to add targeting/avoiding rules for entity AI.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Encounter: Mob AI Tweaker release should I use?

Updated 1 year ago
Latest stable file Encounter-Forge-1.20.1-1.0.0.jar
Game version 1.20.1
Loader Forge

Encounter: Mob AI Tweaker Encounter-Forge-1.20.1-1.0.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Encounter: Mob AI Tweaker required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Encounter: Mob AI Tweaker Encounter-Forge-1.20.1-1.0.0.jar need?

Encounter-Forge-1.20.1-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Encounter: Mob AI Tweaker without breaking your instance.

Built for Encounter: Mob AI Tweaker Encounter-Forge-1.20.1-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Encounter-Forge-1.20.1-1.0.0.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Encounter-Forge-1.20.1-1.0.0.jar. It opens that exact file at the source.

About this project

What does Encounter: Mob AI Tweaker add?

Introduction

Occasionally, the attack/flee AI behavior of certain mobs may not align with the modpack creator’s intended design, as mod authors cannot take all possible mod combinations into consideration.

For example, modA adds new monsters, while modB adds some NPCs and animals. However, when you put these two mods together into your modpack, monsters from modA show no interest in chasing modB's NPCs and animals……

In case of that, with this mod, Developers can configure the list of mobs that specific entities will attack or flee from via the configuration file (located at config/encounter), and the changes support hot-reloading for seamless adjustments.

Example: The Villager is running away from the Sheep

Configuration File

    ``{

      ``"entity_id"``: ``"example:entity_1"``,

      ``"avoid"``: [

        ``"example:avoid_1"``,

        ``"example:avoid_2"

      ``],

      ``"hostile"``: [

        ``"example:hostile_1"``,

        ``"example:hostile_2"

      ``]

    ``},

Add registry name (minecraft:zombie etc.) to the config file, then /reload or re-open the save to apply the tweaks.

Note

  1. You can include this mod in your modpack.
  2. Passive mobs (e.g., villagers) cannot attack, even if hostile targets are added to their AI.
  3. Slimes cannot deal damage to added hostile targets for unknown reasons.
  4. Hot-reloading might not apply to mobs already spawned in the world. Changes will take effect on newly spawned mobs.
  5. Villager AI is unique: If you revert changes to their flee behavior, a game restart is required to stop them from fleeing previously configured targets.

Project description from CurseForge.

Pick your setup

Encounter: Mob AI Tweaker by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

3 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Encounter: Mob AI Tweaker versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.