SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedCreatures & NPCs

Mob AI Commands

by Unknowneth · for Minecraft

A standalone version of the commands added by Mob AI Tweaks mod

9.0KDownloads
14 mo agoLast updated
MITLicense
FabricLoaders

About Mob AI Commands

From Modrinth

A standalone version of the commands added by Mob AI Tweaks mod

This mod is simply a standalone port of the commands added by the Mob AI Tweaks mod, as datapack creators are requesting me a separate, server-side only port of them.

Adds the following commands:

>/attack - makes one mob attack another, recommended to be used in conjunction with /execute for full control

Examples:

/attack @n[type=husk] fake_melee (make husk use swing animation but not deal any damage)

/attack @n[type=drowned] @n[type=bogged] with_melee (make drowned use melee attack on bogged)

/attack @n[type=skeleton] @p from_range (make skeleton use their default ranged attack, in this case, shooting an arrow, on the nearest player to it)

/attack @n[type=zombie] @r custom_projectile minecraft:arrow 1 20 {crit:1b} (make zombie shoot an arrow at a random entity with speed of 1, inaccuracy of 20 and nbt data of {crit:1b})

>/motion - self explanatory, lets you apply velocity to mobs

Examples:

/motion @p 0 1 0 add (adds 1 to y velocity)

/motion @p 0 1 0 set (sets velocity to 0x, 1y, and 0z)

/motion @p ~ 1 ~ set (set y velocity to 1 but keep x and z motion)

/motion @p 0 ~ 1 set true (set x velocity to 0, keep y velocity, set z velocity to 1 and rotate according to yaw)

/motion @p 0.5 ~ 0.5 multiply (multiply x and z velocities with 0.5)

>/pathto - forces mobs to pathfind to a given coordinate or another entity

Examples:

/pathto @n[type=zombie] 0 0 0 (makes zombie pathfind to world spawn)

/pathto @n[type=zombie] ~10 ~ ~ 2.0 (makes zombie pathfind 10 blocks forward in x axis with a speed multiplier of 2.0)

/pathto @n[type=zombie] 0 0 0 2.0 10 (makes zombie pathfind to world spawn with a speed multiplier of 2.0 keeping a minimum distance of 10 blocks away from the destination)

/pathto @n[type=zombie] @p (makes zombies pathfind to the nearest player)

/pathto @n[type=zombie] @p 0.5 (makes zombies pathfind to the nearest player with a speed multiplier of 0.5)

/pathto @n[type=zombie] @p 0.5 4 (makes zombies pathfind to the nearest player with a speed multiplier of 0.5 while keeping a minimum distance of 4 blocks away from them)

>/target - makes mobs target each other

Examples:

/target @n[type=blaze] @n[type=breeze] (makes blaze target breeze)

Additionally, this mod backports /rotate from 1.21.2

Highlights

From source data

Game versions

Supports 2 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Fabric.

Footprint

Rated a light load on a server.

Mob AI Commands on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Fabric
Server load
light
Smallest plan we suggest
Minecraft — 1.5 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.1.0, released 2025-09-23

Game versions by loader

LoaderGame versionsNewest
Fabric1.21 to 1.21.1 (2 versions)1.21.1

From 2 recorded builds of Mob AI Commands.

Recent builds

BuildReleasedGame versionsLoaders
1.1.02025-09-231.21 to 1.21.1 (2 versions)Fabric
1.0.02025-08-271.21 to 1.21.1 (2 versions)Fabric

Dependencies

  • Incompatible with: modrinth project egIM2bKK (modrinth, not in our catalogue)

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run Mob AI Commands on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Creatures & NPCs

Adds or changes creatures, NPCs and how they behave.

Runs on your server

From source side support

Modrinth lists Mob AI Commands as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Fabric
Runs on
Serverrequired on the server
Game versions
1.21.1 and 1 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-16Open ↗
  • ✓AuthorUnknowneth, as published on Modrinth
  • ✓LicenseMITFree

Mob AI Commands, answered

Generated from the mod’s own source data.

Do my players need to install Mob AI Commands?

Modrinth lists Mob AI Commands as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric.

Is it free?

Yes. Mob AI Commands is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Mob AI Commands on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Mob AI Commands in one click.