gravity_gauntlet_handler: type: world events: on player left clicks block with:gravity_gauntlet: - ratelimit 1s - ~shoot snowball[item=ender_pearl] origin: destination: save:gravity_bullet speed:3 - wait - foreach as:entity: - cast levitation duration:3s amplifier:0 <[entity]> on player right clicks block with:gravity_gauntlet: - ratelimit 1s - ~shoot snowball[item=ender_pearl] origin: destination: save:gravity_bullet speed:3 - wait - foreach as:entity: - flag <[entity]> grav expire:3s - while <[entity].has_flag[grav]>: - ratelimit <[entity]> 1t - adjust <[entity]> velocity:<[entity].location.below[10].sub[<[entity].location>]>