GravityAPI
About the Modification
GravityAPI is a specialized API for Quilt that allows you to fundamentally change the direction of gravity for players in Minecraft.
Main Features
The mod adds six unique items to the game, each responsible for changing gravity in one of the six coordinate axis directions. Currently, these items cannot be crafted - they are available exclusively in creative mode under the tools tab.
Additionally, GravityAPI functions as a full-fledged API, providing other modifications with the ability to programmatically control player gravity.
Dependencies
Required: QSL (Quilt Standard Libraries)
Optional: Mod Menu (for convenient interface configuration)
Configuration
The mod's configuration file is located at .minecraft/config/gravitychanger.json. It can be edited either manually or through the Mod Menu interface.
The configuration is divided into two main categories:
- Client - settings that only affect the client side
- Server - parameters that affect server operation
In single-player games, client and server configurations use the same file. When playing on a multiplayer server, changes on the client side do not affect server settings.
Commands
/gravity get <player>- shows current gravity direction (returns index from 0 to 5)/gravity add <direction> <entities> <priority> <duration>- adds a new gravity source to the queue/gravity setdefault <direction> <entities>- sets default gravity for selected entities/gravity rotate <direction> <entities>- rotates gravity relative to the player's look direction/gravity randomise <entities>- randomly changes gravity for selected players
Developers
Original version: Gaider10
Port for version 1.18.2: Qouteall
Rewritten and maintained by: Fusion Flux