关于
这是一个 Fabric 模组与 API,允许你改变玩家的重力方向。
特性
本模组添加了 6 种物品,可将你的重力设置为 6 个轴向中的任意一个。
这些物品目前无法合成,可以在创造模式的工具标签页中找到。
此模组还可作为 API 使用,以便其他模组也能更改玩家重力。
必需依赖项
Fabric Api
Cloth Config
可选依赖项
Mod Menu
配置
本模组的配置文件位于 .minecraft/config/gravitychanger.json。你可以手动编辑它,或者通过 Mod Menu 在游戏内修改。
配置文件包含两个类别:Client(客户端)和 Server(服务端)。
Client 类别包含仅在客户端生效且需在客户端设置的选项。
Server 类别包含仅在服务端生效且需在服务端配置中设置的选项。如果你正在单人游戏中游玩,你的服务器使用的是与客户端相同的配置,可以通过 Mod Menu 进行更改。如果你正在多人服务器中游玩,在客户端更改配置时不会更新服务器配置,只能通过服务器配置文件进行编辑。
命令
/gravity get <player> - 获取玩家的重力,返回方向索引(0-5)
/gravity set <direction> <players> - 为选定的玩家设置重力
/gravity rotate <direction> <players> - 根据选定玩家的朝向相对旋转其重力
/gravity randomise <players> - 随机化选定玩家的重力
About
This is a fabric mod and api that lets you change player gravity direction.
Features
This mod adds 6 items that let you change your gravity to any of the 6 axis directions.
These items are currently uncraftable and can be found in the tools tab of creative menu.
This mod can also be used as an api to let other mods change player gravity.
Required Dependencies
Fabric Api
Cloth Config
Optional Dependencies
Mod Menu
Config
This mod has a config located in .minecraft/config/gravitychanger.json. You can edit it manually or in game using modmenu.
The config has 2 categories: Client and Server.
Client category contains options that only take effect on the client and need to be set on the client.
Server category contains options that only take effect on the server and need to be set in the server config. If you are playing in singleplayer your server uses the same config as your client and you can change it from modmenu. If you are playing on a server the server config is not updated when you change it on your client, it can only be edited using the server config file.
Commands
/gravity get <player> - gets player's gravity, returns direction index(0-5)
/gravity set <direction> <players> - sets gravity for selected players
/gravity rotate <direction> <players> - rotates gravity for selected players relative to their look direction
/gravity randomise <players> - randomises gravity for selected players
评论 0
登录后参与评分
还没有评论,来抢沙发吧