Mobs Attempt Parkour
Mod Features
This modification provides certain creatures with basic jumping artificial intelligence, enabling them to overcome obstacles and gaps in their path.
Supported Mobs
The following creatures have gained jumping ability: zombies, zombie villagers, zombified piglins, silverfish, endermites, endermen, wither skeletons, skeletons, spiders, cave spiders, illagers, witches, iron golems, and creepers.
Realistic Jumping Mechanics
The jumping algorithm aims to match vanilla mechanics, so slow mobs cannot jump far. For example, zombies can only overcome one-block obstacles.
System Limitations
The artificial intelligence does not perform additional pathfinding, so it cannot calculate complex jump sequences. Additionally, the system begins to malfunction at very high mob movement speeds or when high jumps are required.
Configuration Settings
The configuration file uses JSON format. To add a mob, specify its identifier and priority. Creature identifiers can be found using the /summon command - the list of arguments will contain all available IDs. Priority determines the importance of the jumping AI compared to other algorithms. A lower value means the jumping AI will likely not be overridden by other algorithms but may itself override them. The most reliable way to determine optimal priority is to study the entity source code, but in most cases, setting a low priority works correctly.
Installation
This is a standard Fabric modification, but Fabric Kotlin installation is required. Required dependencies for the mods folder:
- Fabric Kotlin
- Fabric API