Push (Effect) — Skript

Addon: Skript · Category: Effect · Since: 1.4.6 2.12 (push towards)

Syntax

(push|thrust|pull) %entities% [along] %direction% [(at|with) [a] (speed|velocity|force) [of] %number%]

Description

Push entities in a given direction or towards a specific point. Velocity values on Minestom are 1/20th (20 ticks per second is why) the value of Paper's.

Examples

push the player upwards
push the victim downwards at speed 0.5
push player towards player's target at speed 2
pull player along vector(1,1,1) at speed 1.5

View source