[BUG] Finally found what cause ironberries flight!
TBiscuit1 opened this issue ยท 10 comments
I did made a issue about ironberries but I found what cause this and how to correct it
Describe the bug
There is a "bug" that cause ironberry to give an insane jump boost
To Reproduce
The ironberry flight is simple, eat one and hold space bar
Expected behavior
Normally, ironberries make you unable to jump by giving you a very high jump boost
Screenshots
Nope
Info (please complete the following information):
Not necessary to give these info, it's just to show how to correct this
Additional context
- Which mod cause this "bug"?
Potion Core - How this happen?
Ironberries give you a very high jump boost, normally it makes the player unable to jump, but, potion core allow the player to control how high there jump are, since it's a very high jump boost (over lvl 127!) you can almost fly. - How to correct it?
In the Potion Core config, you can turn on and off controllable jump boost, sadly, turning it off also make normal jump boost unable to control, but seriously, with enought ironberries you can literraly say "Nope I'm not fighting this thing!" and fly up so high that the mob can't see you anymore. You could even skip a whole invasion with enought ironberries! (need a lot of them since the jump boost thing last around 10s and night are really long, but a full inv of ironberries could do the work)
yeah I didn't thinked about the weight potion effect, really good idea, I think even the creator of the mod should add this if potion core is there
Just fall into a river each time you fall and you can easly skip a whole invasion/night
In the Potion Core config, you can turn on and off controllable jump boost
This actually isn't necessary. PotionCore adds a Weight potion effect which you can just give the player when they eat an Ironberry using CraftTweaker. At a strength of 30 (and maybe even lower), a player essentially can't jump at all, no matter what strength Jump Boost they have.
Subscribing (or whatever you call it for CraftTweaker events) to LivingEntityUseItem.Finish ought to be the way to do it.
Ok, so I tried to avoid a whole invasion with nothing except 64 ironberries and I easly managed to do it, it's really op but also really fun to do, I would be sad if this is patched. I seriously would like to see someone do it in the SMP server X)
Fixed in this commit: CalaMariGold@a81c057
Perhaps a mid to late game custom brewable potion (most likely added by CraftTweaker) that replicates the pre-patch Ironberries (with a slightly extended duration for the base potion, maybe 30 seconds) could be a nice homage? Not sure about exact details for the recipe itself, but it'd be a cool throwback I guess.