Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Description
This mod gives some mobs a simple jumping ai that allows them to jump over obstacles and gaps in their way.
-
The mobs that currently have the jumping ability are Zombies, Zombie Villagers, Zombified Piglins, Silverfish, Endermites, Endermen, Wither Skeletons, Skeletons, Spiders, Cave Spiders, Illagers, Witches, Iron Golems, and Creepers.
-
The AI attempts to be realistic to vanilla jumping, which means that slow mobs can't jump very far. (Zombies can only jump one block for example).
Limitations
The ai does not do additional pathfinding, so it can't calculate a complicated series of jumps. Also, the ai starts to fail under very fast mob speeds or high jumps.
Configuration
The config file uses JSON. Add a mob by listing its id, and a priority. You can find mob ids by using the /summon command - the list of arguments will be a list of mob ids. The priority is a bit jenky. It represents what priority the AI has over other AIs. A lower value means that the jumping AI probably won't be overridden, but it might override other AI's. Unfortunately, the most certain way to gauge this is to look at the entity source code, but setting a low priority should in most cases be totally fine.
Installation
This is a regular Fabric mod, except that Fabric Kotlin is required.
Dependencies that need to be in the mod folder: