Due to the fact that the player can’t change direction or look around while being teleported, as an Addon developer and command block creator, I think a way to ‘push’ the player in a certain direction would be extremely useful, as detailed below
SUGGESTION: /velocity command
/velocity [add/clear] [target] [x/y/z] [speed] [duration] [true/false]
- /velocity add @s ^^^10 5 1 would push me forward at a speed of ‘5’ in the direction I’m looking, for one second. Alternatively, a tick count instead of a second count in the duration section is fine too.
- /velocity add @e[r=3,rm=0.01] ^^^-10 2 5 would push every entity in a three block radius back at a speed of ‘2’, for 5 seconds.
- /velocity clear @s would reset any velocity added, so an entity can be stopped while moving.
the [true/false] section determines whether the player can enter the air using this. ‘true’ would allow the player to move into the air, and ‘false’ or blank would keep them grounded.
Please sign in to leave a comment.