Endless Gravity
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: neoforge
标签: adventure game-mechanics transportation
Endless Gravity
Low gravity for The End and layered atmosphere physics for the Overworld. Jump higher, fall slower, float longer — and fly to space with a starship.
Features
- The End — reduced gravity for players, items, arrows, thrown projectiles, and falling blocks, fully configurable per entity type
- Overworld atmosphere — a continuous pressure curve (8 configurable layers) drives gravity, audio muffling, temperature, and oxygen above Y 64, up to full vacuum at Y 3500
- Fall damage — three modes: normal, disabled, or velocity-based with configurable scale and minimum velocity
- Stellar Suit — full armor set; the chestplate carries an oxygen tank with an inventory durability bar, and helmet + chestplate let you breathe in thin air
- Sable integration — configurable physics datapack (gravity, pressure, drag) auto-generated for The End and the Overworld with configurable priorities
- Modded config screen — Cloth Config (bundled, no extra install) with All, The End, Overworld, and General tabs, color-coded entries, and per-entry reset
- Addon API —
EndlessGravityAPIutility (pressure, atmosphere progress, real Y projection, Sable helpers) plus theendless_gravity:gravity_immuneentity type tag - Compatible with any modded dimension or Sable sub-level; config is synced from server to client on login
Configuration
Open the mod settings from the NeoForge mod list (or Config → Endless Gravity). Changes apply live where possible; the audio filter and Sable datapack need a restart.
The End
| Setting | Default | Description |
|---|---|---|
| End Gravity | ON | Master toggle for low gravity in The End |
| Player Gravity Offset | 0.055 | Upward force per tick. Higher = less gravity |
| Item Gravity Offset | 0.025 | Upward force per tick for items |
| Arrow Gravity Offset | 0.03 | Upward force per tick for arrows/tridents |
| Thrown Projectile Offset | 0.018 | Upward force per tick for thrown projectiles |
| Falling Block Offset | 0.035 | Upward force per tick for sand, gravel, anvils, dragon eggs |
| Particle Gravity Multiplier | 0.3 | 0 = no gravity, 1 = vanilla |
| Fall Damage Mode | Velocity-Based | Normal / Disabled / Velocity-Based (shared with the Overworld) |
| Fall Damage Velocity Scale | 1.0 | Damage multiplier for velocity-based mode |
| Fall Damage Min Velocity | 0.6 | Minimum fall velocity before damage applies |
| Audio Filter Gain | 0.1 | Low-pass filter volume in The End (lower = more muffled) |
| Audio Filter Gain HF | 0.05 | Low-pass filter high-frequency volume |
Overworld
| Setting | Default | Description |
|---|---|---|
| Enable Atmosphere | ON | Master toggle for Overworld space effects |
| Entity Gravity | ON | Apply gravity from the pressure curve to entities |
| Max Gravity Offset | 0.08 | Upward force at full vacuum (progress × max) |
| Muffle Gain | 0.01 | Low-pass gain at full vacuum (interpolated from 1.0 at ground) |
| Muffle Gain HF | 0.005 | Low-pass high-frequency gain at full vacuum |
| Atmosphere Layers | 8 layers | Altitude → pressure pairs: -64:1.25, 64:1.0, 400:0.5, 900:0.2, 1200:0.08, 1800:0.01, 2500:0.001, 3500:0.0 |
| Enable Temperature | ON | Freeze (ice overlay) when pressure drops in space |
| Freeze Interval | 20 | Ticks between freeze damage applications |
| Enable Oxygen | ON | Suffocation in thin air without a Stellar Suit |
| Oxygen Rate | 8 | Air units consumed per second at altitude |
| Tank Capacity | 1000 | Stellar chestplate oxygen tank capacity |
| Recharge Rate | 5 | Tank recharges per second at full pressure |
| Suffocation Fade Ticks | 100 | Ticks of oxygen left at which the suffocation effect fades in |
Stellar Suit
Four-piece armor set with a custom in-game model and texture:
- Chestplate — oxygen tank (default 1000 units). Shows a durability-style bar in the inventory; cyan at >25%, red when low. Drains faster at altitude, recharges at full pressure.
- Helmet — must be worn with the chestplate to breathe in thin air.
- Leggings & Boots — set bonuses; complete the suit.
Addon API
EndlessGravityAPI (Java, dinner.dev.endless_gravity.EndlessGravityAPI) provides:
getPressure(y)/getAtmosphereProgress(y)— read the configured pressure curvegetAtmosphereOffset(y),getAtmosphereMuffleGain(y),getAtmosphereMuffleGainHF(y)— derived atmosphere valuesgetTemperatureProgress(y),getOxygenProgress(y)— environment progressgetRealY(entity),getRealY(level, pos)— project positions out of Sable sub-levels into global spaceisSableLoaded(),isSableManaged(level),isOverworldOrSable(level)— dimension/Sable helpersGRAVITY_IMMUNEtag — add entity types todata/endless_gravity/tags/entity/gravity_immune.jsonto make them ignore low gravity in The End
All gameplay-affecting config values are synced from server to client on login via ConfigSyncPayload.
Requirements
- Minecraft 1.21.1
- NeoForge 21.1+
- Cloth Config — bundled (via Jar-in-Jar), no manual install
- Sable (optional; required for the starship)
License
请登录后举报
暂无评论,抢个沙发吧~