Elytra Nausea
The Elytra armor in Minecraft has become overly powerful, rendering other means of transportation almost useless. This datapack addresses this issue by assigning negative effects to players who fly for extended periods.
When a character soars with wings, their "nausea" meter gradually increases. Upon reaching a certain threshold, the player begins to experience hunger, followed by dizziness. Continuing the flight worsens the symptoms. To lower the nausea value, one needs to land on the ground.
The default settings are as follows:
- The nausea meter increases by 1 unit every second of flight
- When on the ground, the value decreases by 1 unit per second
- The hunger effect activates at a value of 30
- Dizziness starts at 45 units
- Vomiting reflex triggers at 60
- Severe hunger and poisoning activate at 120
Vomiting Effect
Prolonged flight induces a vomiting reflex. As a result, all food held by the character (including in the offhand) is immediately dropped to the ground. It is recommended to avoid risky flights to prevent starvation due to the inability to eat!
Technical Details
The datapack considers a player to be flying if there are at least two air blocks beneath them and Elytra wings are equipped. It is at this moment that the nausea value starts increasing. The minimum parameter value is 0.
Configuration
Use the following commands to adjust the indicators:
scoreboard players set #nauseaUp nauseaMeter <number>
scoreboard players set #nauseaDown nauseaMeter <number>
scoreboard players set #hunger nauseaMeter <number>
scoreboard players set #nausea nauseaMeter <number>
scoreboard players set #throwfood nauseaMeter <number>
scoreboard players set #stronghunger nauseaMeter <number>
scoreboard players set #poison nauseaMeter <number>