Topic category: Advanced modding
So there are many people who want to make froze potion that makes player slow down. but many people don't know
It me FLameWasTaken here, and this in the topic I am going to tell you how to make froze potion
_______________________________
-Set the global trigger of the potion effect to : On player tick update
{IF {has event/target entity active potion : custom:froze}
Do} {set event/target entity in cobweb for one tick}
image of procedure - https://imgur.com/CGkao61
_______________________________
explanation: basically it does is set the player in cobweb for every tick if potion effect is applied
it makes you very very slow fall, a little bit fast movement tho but the slowest is the fall jump
thanks for seeing this topic hope you have a great day :D
__
say me any problem I try to response
and why not just Override Motion Vector to 0 Y Velocity of Event Target Entity 0?
yes but that make the entity to stop
I thought that was the point xd
this will crash the game if you apply the potion effect to a spider to be honest the movement vector metod is safer than the cobweb one.
just subtract or divide the movement vectors
ye that's what we are all saying xd
RexCerv he wants the potion effect to only slow down the affected mobs, not stop them completely.
what im looking for as well
but how would i do any math to the movement vectors?