cmd_gravity - LiXizhi/ParaCraft GitHub Wiki

command: /gravity

quick ref:

/gravity [@playername] [value|9.81]

description:

gravity globally or a given player 
@param playername: @a means player, or a player name. if not specified, it means the global gravity. 
Examples: 
/gravity 9.81   set global gravity to 9.81
/gravity @a 9.81   only set the player's gravity to 9.81
/gravity @test 9.81   only set the player's gravity to 9.81

给某一角色设置重力。