we can move any entity with this command , including player.
[syntax]
1. set motion for player
/motion <selector> value <motion<x,y,z>>
2. set motion from entity
/motion <selector> from <selector> [<factor : float>]
3. set motion based on the vector between two points.
/motion <selector> vector <point1 : position<x,y,z>> <point2 : position<x,y,z>>
4. set motion that radiates outward from a central point.
/motion <selector> radiate <center_point : position<x,y,z>> <strength : float>
[example]
1. backward motion for player
/motion @s vector ^ ^ ^1 ~ ~ ~
2.simulate an explosion impact
/motion @s radiate 30 60 -30 2.5
3. Reuse motion from other entity.
/motion @s from @e[type=zombie,limit=1,tag=xxx]
0 Comments
Please sign in to leave a comment.
Post a new comment: