
Gravity Changer Updated
Change gravity direction. A fix of the 1.21.1 port with more features for servers.
📖About Gravity Changer Updated
This is an updated version of MagicalBanana's's port of qouteall's Gravity Changer to be more server friendly. Majority of the port comes from NightEpiphany0401's upload.
Features
- Water bucket placement now works bi-directionally (previously it was incorrect)
- New command
/gravity set_server_directionfor persistence in servers. - Rotation animations are now faithful to the original 1.20.4 version (possibly compile error)
- Fixed movement glitches (in the 1.21.1 port, when you ran into a wall or a block, it would rubberband you or make you unable to jump)
- Immersive Portal compatibility.

Commands
The commands remain the same however there is a new command for persistence on servers.
/gravity set_server_direction <direction> sets the direction of every existing and new player that joins the server to be in a certain direction. This saves after restart, so no need to install a datapack or mod to force this anymore.
All the other commands remain the same:
/gravity set_base_direction <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 <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 <relativeDirection> [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 <strength> sets the dimensional gravity strength for the current dimension.
/gravity view_dimension_info shows the dimensional gravity strength for the current dimension.
Config
There is a new config entry, which stores the direction the server is set (from /gravity set_server_direction <direction>)
Known Issues
- Boat reverting to "down" direction. - It is best I don't touch this since by default a boat has these values.
- Boat placement is still wrong.
- Not all the items from the original 1.20.4 qouteall fork has been ported over.