Motion vector issue

Started by justenkee1982 on Tue, 02/23/2021 - 10:26

Topic category: Mod showcase and discussion

Last seen on 17:35, 24. Feb 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Motion vector issue
Wed, 02/24/2021 - 17:37 (edited)

Hello everyone.

I did a potion that set the entity movement vector to vx : 0, vy : 1 and vz : 0 to make it jump (its an airborn potion). When the effect start, the procedure is triggered to do the airborn.
It works perfectly on everything except players. To verify my procedure, i ask MCreator to call this procedure when an entity walk on one of the block of my mod. And now... it works on entity AND players after installing gimp its not working properly

Can someone know why this procedure works for players when its called by "When entity walk on block" but not when its called by "When potion start/applied"
Thank you for your help :) !

 

Edited by justenkee1982 on Wed, 02/24/2021 - 17:37