#[Solved] Apply vertical velocity when stepping on block

1 messages · Page 1 of 1 (latest)

stiff garden
#

Hi all. I'm trying to make a custom bounce pad block ("end:bounce_shroom") and am currently fiddling with the scripting for it. I want the block to launch a player into the air whilst maintaining their previous velocity as well.

I think I need to use something like onStepOn(event) as a custom component, but I'm really not confident in this area. Could anybody help me?

crimson pivot
stiff garden
#

Thank you! I've not worked with custom block components before so this is a lifesaver.