Compatibility
Minecraft: Java Edition
1.21.2–1.21.8
Platforms
Links
Tags
Creators
Details
Licensed MPL-2.0
Published 9 months ago
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": {}}}


