About
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:
FAQ
Can you port this mod to Forge or an older Minecraft version?
- I will not, but anyone else may do so.
Made for Fabric Modfest 1.16.
In reply to Barribob:
Thanks, I'm not a programmer or modder of that sort, I just wanted to get that question answered and out there.
In reply to bitzthe8bit:
OMG THAT WOULD BE AMAZING
is it possible to make this for 1.12.2 forge?
In reply to solar2415167:
Yeah, should be possible to port, although might be somewhat difficult to do so.
doesn't seem to work for me. shows up in modmenu and i made sure to download fabric language kotlin as well but when given the chance, the mobs won't actually choose to do parkour
In reply to girl_w_the_dragon_tattoo:
There are a few things I can think of. First, mobs usually won't choose to jump if they can find another safe way to their target. Second, do you have any other AI-related mods installed that may potentially conflict? Third, does the config list all of the mobs that you were expecting to be able to jump? Finally, if there are any errors in the log related to this mod, then post that in something like pastebin or github gist, and I can take a look at it. Hope that helps!
In reply to Barribob:
thanks for replying!. there were no errors and i had no other ai-related mods so i'm pretty sure it was because the mobs thought other safe routes existed. i'll eventually try it again on a map where these other possible routes are less likely to exist and it will probably work then
Holy crap! I have been imagining a mod like this for the past week and turns out it was just recently made! Funny how things turn out. Imagine if this mod would end up becoming a huge overhaul to mob AIs and making certain mobs do certain different things(each of which couldn't be changed in the config)! I am definitely gonna use this mod often!
Thank you for very nice mod
In reply to ChapCanai:
Very epic
Please add a Forge version!
have you added rabbits to the list... wait, they already do that in vanilla
I was wondering if you could add crouching as well? It'd be cool if the hostiles could crouch to go through 1.5 block high spaces. Though thinking about it, that'd require new animations and stuff that might be out of this project's scope. Maybe as a separate mod?
In reply to KasaiYagi:
Very interesting idea. Not sure how it would affect gameplay - maybe if they were able to crouch and build bridges over larger gaps - that could be pretty cool.
In reply to Barribob:
I find myself making a doorway that has an upperslab and a fence gate as a cheesy way to avoid piglins whenever I don't have gold armor yet. By letting piglins crouch, my cheese door would only slow them down, potentially creating moments where I'm swinging at them while they're trying to crouch through my doorway.
Also I really like that bridging idea. Especially in ravines, there's a lot of times where a zombie will just look at me from across and just make noises menacingly.
this mod could probably result in some comedic moments
Even though I hate the idea of mobs being able to jump gaps I would totally get this if not for the fact that I use forge
In reply to magmabot16:
Bro if this was a forge mod it'd have tens of thousands of downloads in an instant
My friend who's afraid of spiders "Why would you do this to me?"
You forgot to report that Fabric Language Kotlin is required.