This mod gives players a chance to fart whenever they sneak, playing a sound audible to nearby players. Players near a fart accumulate "exposure"; once exposure reaches 100%, they're hit with Nausea and their exposure resets.
It is required on the server. Clients that don't have it installed won't hear the fart sound, but will still see the fart particles and be affected by Nausea.
Features
💨 Farts
- Sneaking has a configurable chance to make a player fart
- A cooldown limits how often the fart chance roll can trigger per player
- Nearby players accumulate exposure with each fart they're close to
- Once a player's exposure reaches 100%, they're hit with Nausea and their exposure resets
🤢 Exposure
- Exposure accumulates per fart within a configurable radius
- Exposure slowly decays over time as players catch some fresh air
🍖 Food Bonuses
- Certain foods can temporarily increase a player's fart chance
- Each food has a configurable bonus and decay rate
- Eating the same food again refreshes the bonus
The truly dedicated may one day experience the Forbidden Fart...
Configuration
Settings
Settings can be edited in-game via ModMenu if installed, or directly in config/flatulence.json.
| Field | Default | Description |
|---|---|---|
fartChance |
0.3 (30%) |
Chance per sneak that a player farts. |
fartCooldownTicks |
10 |
Minimum time between fart chance rolls for the same player. |
exposureRadius |
5.0 |
How close other players must be to gain exposure when someone farts, in blocks. |
exposureIncrement |
0.5 (50%) |
How much a nearby player's exposure increases per fart. |
exposureDecayPerSecond |
0.1 (10%) |
How much exposure decreases per second. |
nauseaDurationSeconds |
10 |
How long Nausea lasts once a player's exposure reaches 100% (1.0). |
foods |
[] |
List of foods that temporarily boost fart chance. |
Fart sounds by Blackstar and Ilikebreathingair.
Note: If you encounter any issues, please report them on the GitHub Issues page.
