Deny Elytra Flight
No elytra flying. Tiny and optimised pack using the new 1.21.2 glider data component to disable elytra flight once equipped.
介绍
中文介绍正在准备中,下面暂时显示原文。
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": {}}}
常见问题
Deny Elytra Flight 支持哪些 Minecraft 版本?
Deny Elytra Flight 支持 Minecraft Java 版 1.21.2–1.21.8,共 7 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Deny Elytra Flight 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分