Gravity Flip lets you create anti-gravity regions on your Hytale server using a wand — no scripting, no file edits, no server restarts. Want to walk on the ceiling? Place two corners, name the region, and flip the world.
Gravity Flip lets you create anti-gravity regions on your Hytale server using a wand — no scripting, no file edits, no server restarts. Want to walk on the ceiling? Place two corners, name the region, and flip the world.
<p align="center"> <img src="https://img.shields.io/badge/Java-25-orange" alt="Java 25"/> <img src="https://img.shields.io/badge/Gradle-Shadow-green" alt="Gradle Shadow"/> <img src="https://img.shields.io/badge/Hytale-2026.03.26-blueviolet" alt="Hytale 2026.03.26"/> <img src="https://img.shields.io/badge/v1-shipped-brightgreen" alt="v1 shipped"/> <img src="https://img.shields.io/badge/license-TBD-lightgrey" alt="License"/> </p>
/gravityflip commands.hytale-gravity-flip-<version>.jar into your server's mods folder./gravityflip wand in-game to get the Gravity Flip Wand./gravityflip define <region_name> — done. Gravity now flips inside that box.All commands are subcommands of /gravityflip:
| Command | What it does |
|---|---|
/gravityflip wand | Gives you the wand. |
/gravityflip define <name> | Defines a region from your selection. |
/gravityflip list | Lists all registered regions and their info. |
/gravityflip delete <name> | Removes a region. |
/gravityflip toggle <name> | Enables/disables a region. |
/gravityflip tp <name> | Teleports you to a region's center. |
/gravityflip define <name>Gravity Flip regions are saved as JSON. Each region needs a Name and a Box (AABB). The rest have defaults.
| Field | Type | Default | What it means |
|---|---|---|---|
| Name | string | required | The name/id you use in commands. |
| Box | array | required | {min: [x,y,z], max: [x,y,z]} |
| Enabled | bool | true | If off, region does nothing. |
| FallDamage | bool | false | Keep vanilla fall damage? (usually off) |
| GracePeriodMs | int | 2500 | Smooths the gravity transition (ms). |
| VerticalForce | float | 0.1 | How strong the anti-grav is. |
| AffectPlayers | bool | true | Flip players? |
| AffectNpcs | bool | true | Flip mobs/NPCs? |
| AffectItems | bool | true | Flip dropped items? |
| VisualColor | string | #00FFFF | Outline/particle color. |
| VisualMode | string | Outline | Outline, Particles, or None. |
| VisualRefreshMs | int | 1000 | How often visuals are updated (ms). |
| VisualOpacity | float | 0.5 | Outline transparency (0–1) |
| VisualParticleId | string | Torch_Fire | Particle id for "Particles" mode. |
| VisualParticleDensity | float | 0.3 | Particle density along edges. |
Sits at Server/mods/Mythlane_GravityFlip/regions.json. Changing regions via commands saves instantly. If you hand-edit, restart the server. First run always seeds a "demo" region.
| Name | Min | Max | Purpose |
|---|---|---|---|
| tutorialwalkon_ceiling | (10,81,10) | (15,86,15) | Simple walk-on-ceiling, cyan outline |
| item_fountain | (20,80,10) | (23,100,13) | Items float up, for demos |
| mob_chamber | (30,81,10) | (40,89,20) | Mobs only, red outline |
| full_chaos | (-15,81,10) | (0,91,25) | Players, mobs, items — chaos, purple |
| gentle_lift | (-40,80,-20) | (-20,85,0) | Weak antigrav |
| strong_launch | (-15,80,-15) | (-10,83,-10) | Launch pad settings |
| graceperioddemo | (15,81,-20) | (23,87,-12) | Entry anim with grace period |
| no_grace | (25,81,-20) | (33,87,-12) | Instant flip, for comparison |
| falldamageoff | (40,110,0) | (50,120,10) | Fall damage off, high up |
| disabled_example | (-30,81,0) | (-25,86,5) | Persisted but disabled |
| showcase_arena | (-80,81,-80) | (-50,96,-50) | 30x15x30 gold-outlined box |
| dense_particles | (50,81,50) | (58,89,58) | Ultra-dense particle effect |
./gradlew shadowJar
cp build/libs/hytale-gravity-flip-*.jar <HytaleServer>/Server/mods/
# Restart your serverOn first start, /regions.json is seeded with a demo region. Use the wand/commands to manage regions.
src/main/java/com/mythlane/gravityflip/src/test/java/./gradlew shadowJar # Build the fat jar with gson relocation
./gradlew test # Run unit testsFor dev fast-deploy, see copyJarToDevServer gradle task.
GravityFlipCommand.setup() and hook it in assets.Player/NPC/Item
|
v (checked every tick)
RegionTickLoop
| <---- Regions loaded from regions.json
GravityApplier + FallDamageGuard
|
region effect
Wand:
Player clicks -> WandSelectionStore -> define region -> registry saves to JSONMade by Mythlane. Plugin layout/modeling borrowed from our VotePipe and related plugins.
License to be decided. Ping [email protected] for questions.
0 Comments