Gravity API

Gravity API

Mod

A fork of Gravity Changer

Client and server Library

24.2k downloads
96 followers
Created2 years ago
Updated6 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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

External resources



Project members

Fusion-Flux

Owner


Technical information

License
MIT
Client side
required
Server side
required
Project ID