Started by
SwinJinn
on
Topic category: Help with Minecraft modding (Java Edition)
I recently updated my mod to 1.21.8 from 1.21.1, and the attempt to override motion vector blocks I had in a potion effect active tick procedure stopped working entirely. Anywhere else they still work, though.
Edit: Just add a new procedure with the "on player tick update" condition and have it check for your specific potion-effect / item-use, then override motion/push if true. It seems the game runs the standalone procedures after the procedures bound to status effects/items, so they work even if the game overruled the previous ones.
Edited by SwinJinn on Sat, 01/24/2026 - 23:57
After more testing, it seems the bug occurs only on players and when the code block is used in a tick procedure (as single instance calls seem to work fine).
i though i getting crazy why it dont work thank for confirm
Override motion vector only works in some situations, as other systems may further override it before it comes to effect