#Is there an equivalent of friction but for jumping?

1 messages · Page 1 of 1 (latest)

hollow lava
#

I need itbao_mob_t_chicken

heavy grail
#

Not necessarily but almost anything is possible with scripts. You could maybe listen for the jumping player and apply a small amount of knockback to reduce the overall jump height maybe? What’s the vision?

hollow lava
#

I don't know much about scripts

heavy grail
#

What’s the vision, I’ve got a flight script I could modify for ya to accommodate I think, tell me about your ultimate goal

proper robin
heavy grail
#

yeah merging is fine, its best practice to move your functions into grouped files for their related purposes, jump.js and durability.js as random examples, then I would put all my event listeners in the one main.js and import the functions from the helper files, keeps it cleaner and easier to expand

heavy grail
#

when you do that be sure to export before your function call, otherwise you cannot import them into the main, like "export function functionNameHere()"

proper robin
heavy grail
#

you'll need your manifest file to reference the entrance file, which can be any name you like, run.js or main.js whatever you like and you need to make sure you've got the dependencies in there but yeah, once the scripts are in there thats about it, besides testing and bug fixing, for that be sure to enable to content logs under the creator tab in your save menu of the game.

hollow lava
heavy grail
#

How high ya thinking? We can’t have blocks that reduce or remove fall damage like slime fyi but we can absolutely make a launch pad of sorts. It’s my kiddos birthday today but tomorrow I’ll put together an example script for ya

hollow lava