[Feature Request] Command that when walking through portals your gravity direction changes
espot07 opened this issue ยท 2 comments
A command like /portal set_gravity up/down/west/etc. I know it is possible by rotating the portal, but it would be nice to have an option to do it without rotating the portal. For example, my gravity is normal in the photo, but if I go through the portal my gravity would be changed so that I would be walking on the orange concrete on the wall. I don't if this makes sense or not, or if this is already a feature, but I think this would be really cool!
Version: 1.18.2
Mod Version: 1.3.7
Also using Pehkui 3.3.1 and Gravity Changer 0.3.1
You can always set a portal to run a command on use, sent as the entity that went through it.
See the wiki here
Gravity changer has a command to set a player's gravity, so that should work.
Be aware, though, that you may have to change the command if and when IP switches compatibility to Fusion Flux's fork of Gravity Changer, which changed "gravity set" to "setDefaultGravity".