#a mod that prevent specific villagers from jumping
28 messages · Page 1 of 1 (latest)
I'm not sure if it works on villagers but I know that applying really high levels of jump boost makes the player unable to jump at all
I will try making this tomorrow, but don't get your hopes up I'm bad at commiting to things
ball and chain...
honey
So I just noticed that this request is 12 days old... but if you still want it, here it is: https://github.com/Bombastian1230/Stop-Villager-Jumping, (Edited to add github repo)
sharing random zip and jar files triggers me.. why not post on github or something similar 😒
Sure!
I made a github repo now! Link:https://github.com/Bombastian1230/Stop-Villager-Jumping
Oh nice, I’ll look when I have time, thanks
@simple flare tested the .jar, it works great!
I can finally create shop counters that are 1 block high and not worry that the clerk will escape. Opens up a lot of build options.
If it’s not too much to ask can you put it on forge so it’s easier to access/update?
I can probably do that, would be a good chance to learn forge
think they meant curseforge ;P
Ah, could probably do that to.
The files are under review right now, but it's getting late for me. So I'll do the rest tomorrow
This is caused by a bug on the packet, the effect packet uses byte for the amplifier, so values above 127 overflows and the client thinks it is negative, so it only applies to players
@simple flare problem: when reloading the world, villagers with the ball and chain equipped despawn.
the .jar is still in the mod folder and still functions in second session, but villagers modified in first session disappear
"It's dangerous to go alone, take this arbitrary executable code"
I think I know the problem. But can't fix it right now. I'll do it when I get home
No worries man, thanks for making this
Another problem I found is that the villagers with the ball and chain don’t realize that they can’t jump, and their pathfinding still behaves like they can. Not a big deal if it’s a huge pain to fix, the current Behavior is already very good
I think it is fixed now. I have uploaded the files to both github, and curseforge, I cant update the behavior of the villagers, I'm not good enough at modding yet.
https://www.curseforge.com/minecraft/mc-mods/stop-villager-jumping
https://github.com/Bombastian1230/Stop-Villager-Jumping
Sorry was busy for a while.
I checked out the new version via CursedForge, it no longer despawn the villager on load, but it seems that the ball and chain effect is also gone when reloading
Huh wierd. I won't be at my computer for a few days. So I can't fix it at the moment. But I'll take a look as soon as I can.
@rich fable I can't replicate the bug. Are you on a server, or using any other mods?
Not on server, will try again no send mod list later
Tested, the bug is that, after saving then loading the game, the ball and chain cannot be recovered as an item from the villager but is still active.
Basically:
1: put ball on villager
2: save-load the game
3: villager still cannot jump (intended)
4: crouch+right click villager with empty hand
5: villager can jump again but the ball and chain item doesn’t appear in hand again
I don’t think this is an interaction with another mod since I described the problem incorrectly at first. Also I’ve been in creative mode the entire time if that matters
It should be fixed now.