GravityChanger (Banana Fork)

GravityChanger (Banana Fork)

Lets you change the gravity direction of most entities, but works best for the player.

by
1.9K Downloads
fabricgame-mechanicslibrary
Rent Server with this Mod

Screenshots

Example
Jank

About this Mod

Provides functionality and API for modifying the direction and strength of most entities' gravity.

The latest version of this mod also provides:

Gravity potion effects
Items that change gravity when held
Individual and AOE items for changing other entity's gravity
Gravity plates that generate gravity fields of customizable range

However, the above are not currently obtainable in survival.


Affected Entities:

By default all living entities, projectiles, and minecarts can change gravity. Although while possible, many entity behaviors such as pathfinding break when an entity is rotated (but can target rotated players fine), and as such the mod works best on the player.

For other entity types, the entity types that are in tag gravity_changer:allowed_special can change gravity.


Commands:

This mod's commands are different from Gravity API's and are subject to change as functions of the mod are altered. These are the commands in the latest version of this mod:

/gravity set_base_direction [entities] sets the base gravity direction. (The base direction can be overridden by other things including effects, gravity anchor and gravity plating). Without [entities] argument it will target the command sender (the same applies to all commands). Examples: /gravity set_base_direction up /gravity set_base_direction up @e[type=!minecraft:player]

/gravity set_base_strength [entities] sets the base gravity strength. The strength effects will multiply on the base strength (instead of overriding it). Examples: /gravity set_base_strength 0.5 /gravity set_base_strength 0.5 @e

/gravity view shows the base gravity direction and strength of the command sender.

/gravity reset [entities] reset the base gravity direction and strength.

/gravity randomize_base_direction [entities] sets the base direction as a random direction.

/gravity set_relative_base_direction [entities] sets the gravity direction as a direction relative to the entity's viewing direction. The can be forward, backward, left, right, up or down.

/gravity set_dimension_gravity_strength sets the dimensional gravity strength for the current dimension.

/gravity view_dimension_info shows the dimensional gravity strength for the current dimension.


Fork history and Credits:

Some code and resources come from Amethyst Gravity.

This is a fork of qouteall's GravityChanger.

Which is a fork of FusionFlux's Gravity API for Fabric.

Gravity API was partially a fork of Gaider10's GravityChanger (Some code also was originally adapted from earlier gravity mods, mods like pehkui, and vanilla features like the Dinnerbone code and later rewritten).

The 1.12+ generation of gravity mods seem to be partially based on code from Mysteryem's Up and Down and All Around.

As far as I know, most gravity mods past 1.7.10 are attempts to recreate the gravity effect from what I consider the original gravity mod, StarMiner.

However, there was at least one earlier gravity mod for 1.2.5 called GravityCraft that may have inspired others as some features seem familiar.

If there are missing gravity mods, please let me know.

Available Versions

GravityChanger (Banana Fork) 1.3.3beta
MC 1.21.1fabric
May 23, 2025
GravityChanger (Banana Fork) 1.3.2alpha
MC 1.21.1fabric
May 22, 2025
GravityChanger (Banana Fork) 1.3.0alpha
MC 1.20.6fabric
May 17, 2025

How to Install GravityChanger (Banana Fork) 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.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "GravityChanger (Banana Fork)". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.1, 1.20.6

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

GravityChanger (Banana Fork) 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.21.1). You can switch loaders with one click in the panel.

Is GravityChanger (Banana Fork) compatible with fabric?

GravityChanger (Banana Fork) officially supports fabric for Minecraft 1.21.1, 1.20.6. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with GravityChanger (Banana Fork) – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if GravityChanger (Banana Fork) 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 GravityChanger (Banana Fork) 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.21.11.20.6