← Назад к ресурсам

Gravity Changer Updated

Change gravity direction. A fix of the 1.21.1 port with more features for servers.

Modrinth

Описание

This is an updated version of [MagicalBanana's](https://github.com/Magicalbananapi/GravityChanger)'s port of qouteall's Gravity Changer to be more server friendly. Majority of the port comes from [NightEpiphany0401's upload](https://modrinth.com/mod/gravity-changer-unofficial-port). # Features - Water bucket placement now works bi-directionally ([previously it was incorrect](https://github.com/Magicalbananapi/GravityChanger/issues/26)) - New command ```/gravity set_server_direction``` for 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. ![Sideways](https://cdn.modrinth.com/data/cached_images/d4004a317446bc72d1ff9cd003d86c0e8fb2498f.png) ## Commands The commands remain the same however there is a **new command** for persistence on servers. ```/gravity set_server_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 [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. ## Config There is a new config entry, which stores the direction the server is set (from ```/gravity set_server_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.