• Hey! Register here to create your account, engage with the community, and talk about what is new!

How to change jump power

Eliaz12

Well-known member
Overlord
Joined
Jun 15, 2022
Messages
62
Reaction score
6
So i am making a game based off of jump power but i can't seem to find a way to change jump power anywhere. Am i not searching good enough or does this function not exist? -Eliaz12
 
Solution
Its a good idea but you can't make a variable control the power of a potion.
you can using:
1665923218114.png
to do it, in the first slot, put a variable (preferably a LOCAL one) and in the second slot put a jump boost potion with infinite duration and -255 amp (255 jump boost actually works as expected on diamondfire, so you will still be able to jump), and in the 3rd slot put your jump strength variable and it should work, -255 might be too low to increase it 1 at a time, -5 should also disable jumping, you can try till you get the best value you want.

pixlii

Forum adept
Overlord
Joined
May 20, 2021
Messages
215
Reaction score
34
There is no jump power function. However, you can use Jump Boost as a potion effect to change how high people jump. Using high values (e.g. 255) for the amplifier will actually make players jump lower, if that's what you're going for.
 

Eliaz12

Well-known member
Overlord
Joined
Jun 15, 2022
Messages
62
Reaction score
6
There is no jump power function. However, you can use Jump Boost as a potion effect to change how high people jump. Using high values (e.g. 255) for the amplifier will actually make players jump lower, if that's what you're going for.

Its a good idea but you can't make a variable control the power of a potion.
 

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,226
Reaction score
347
Its a good idea but you can't make a variable control the power of a potion.
you can using:
1665923218114.png
to do it, in the first slot, put a variable (preferably a LOCAL one) and in the second slot put a jump boost potion with infinite duration and -255 amp (255 jump boost actually works as expected on diamondfire, so you will still be able to jump), and in the 3rd slot put your jump strength variable and it should work, -255 might be too low to increase it 1 at a time, -5 should also disable jumping, you can try till you get the best value you want.
 
Solution
Top Bottom