Gravity API

Gravity API

A fork of Gravity Changer

by
54.7K Downloads
fabricquiltlibrary
Rent Server with this Mod

About this Mod

About

This is a quilt 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

QSL

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 - gets entities gravity, returns direction index(0-5)
/gravity add - adds a new gravity source to the queue with a priority and duration
/gravity setdefault - sets the default gravity for all designated entities
/gravity rotate - rotates gravity for selected players relative to their look direction
/gravity randomise - randomises gravity for selected players

Credits

Originally made by Gaider10
Ported to 1.18.2 by Qouteall
Rewriten and maintained by Fusion Flux

Support me!

You can directly support me on Ko-Fi!

kofi-singular

Available Versions

[1.20.1] Gravity API v1.0.9release
MC 1.20.1quilt
August 24, 2023
[1.20.1] Gravity API v1.0.8release
MC 1.20, 1.20.1quilt
July 25, 2023
[1.20.1] Gravity API v1.0.7release
MC 1.20.1quilt
June 28, 2023
[1.20.1] Gravity API v1.0.6release
MC 1.20.1quilt
June 21, 2023
[1.20.1] Gravity API v1.0.5release
MC 1.20.1quilt
June 20, 2023

How to Install Gravity API on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Gravity API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

1.20.1, 1.20, 1.19.2 (+2 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Gravity API server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Gravity API compatible with fabric and quilt?

Gravity API officially supports fabric, quilt for Minecraft 1.20.1, 1.20, 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Gravity API – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Gravity API consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Gravity API with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.11.201.19.21.191.18.2