HomeJavaDatapacksDeny Elytra Flight
Deny Elytra Flight
DatapacksJava

Deny Elytra Flight

by sunsetkookaburra · on Modrinth

No elytra flying. Tiny and optimised pack using the new 1.21.2 glider data component to disable elytra flight once equipped.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.2–1.21.8 · Data pack⬇ Download for 1.21.2–1.21.8 · Fabric⬇ Download for 1.21.2–1.21.8 · Forge⬇ Download for 1.21.2–1.21.8 · NeoForge⬇ Download for 1.21.2–1.21.8 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

With the new 1.21.2 glider data component, disabling elytra is able to be done cleanly with commands. This tiny datapack is optimised for performance by using a hidden advancement to only modify elytra upon being equipped, instead of checking every tick.

Restoring Elytra (Uninstall Instructions)

Run the following command once you've disabled the datapack to restore all elytra currently worn back to Vanilla behaviour:

/item modify entity @a[nbt={equipment:{chest:{id:"minecraft:elytra"}}}] armor.chest {function: "minecraft:set_components", components: {"minecraft:glider": {}}}
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more