跳到正文

No Elytra Fabric

作者:PeatoXD

Rule-based elytra control for Fabric servers. Disable flight by dimension or weather. Fully server-side, lightweight, no client required.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

No Elytra Mod

No Elytra Mod is a lightweight server-side Fabric mod that gives you full control over elytra flight using a flexible rule-based system.

The mod does not remove or unequip elytra and does not affect Creative mode.
It simply enforces server rules and prevents flight when conditions are not met.

“You can wear it. You just can’t fly.”


✨ Features

  • Disable elytra flight based on rules:
    • 📍 Dimensions (minecraft:overworld, minecraft:the_end, modded worlds)
    • 🌧 Weather conditions (rain, thunder)
  • Modular rule-based architecture (easy to extend)
  • Elytra flight remains enabled:
    • in Creative mode
    • when no restriction rules apply
  • Fully server-side (no client installation required)
  • Command-based configuration
  • Automatic config saving
  • No datapacks required

🧠 How It Works

The mod uses a rule system:

  • each rule checks a specific condition (dimension, weather, etc.)
  • if any rule blocks flight, elytra gliding is disabled
  • players receive a contextual message explaining why

No teleportation, no damage, no hacks — just clean control.


⚙️ Requirements

  • Minecraft 1.21.7
  • Fabric Loader
  • Fabric API (latest for 1.21.7)
  • Java 21

📦 Installation

  1. Install Fabric Loader
  2. Place the mod .jar into the mods folder
  3. Start the server

A config file will be generated:

config/noelytra.json

🛠 Commands

📍 Dimension Rules

Disable flight in a dimension:

/noelytra dimension deny minecraft:the_end

Allow flight:

/noelytra dimension allow minecraft:the_end

List blocked dimensions:

/noelytra dimension list

🌧 Weather Rules

Disable flight in rain:

/noelytra weather deny rain

Disable flight in thunderstorms:

/noelytra weather deny thunder

Allow flight:

/noelytra weather allow rain

List blocked weather conditions:

/noelytra weather list

`

Tab-completion is supported.


🗂 Configuration

Current format:

{
  "rules": {
    "dimension": {
      "blocked": [
        "minecraft:the_end"
      ]
    },
    "weather": {
      "blocked": [
        "RAIN",
        "THUNDER"
      ]
    }
  }
}

`

Legacy format (auto-migrated):

{
  "blockedDimensions": [
    "minecraft:the_end"
  ],
  "blockedWeather": [
    "RAIN",
    "THUNDER"
  ]
}

All changes made via commands are saved automatically.


🔌 Extending the Mod

The mod uses Java’s ServiceLoader to automatically load rules.

This makes it easy to add new restriction types such as:

  • time of day
  • biomes
  • player-specific rules

🤝 Compatibility

  • Designed for server environments
  • Works with modded dimensions (if properly registered)
  • Compatible with most Fabric-based server setups

📜 License

This project is licensed under the MIT License.

常见问题

No Elytra Fabric 支持哪些 Minecraft 版本?

No Elytra Fabric 支持 Minecraft Java 版 1.21.7–1.21.11,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

No Elytra Fabric 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分