Server-side mod that cancels firework rocket use while gliding and/or underwater.
On my server, elytra have never been a real issue. Players rarely go far into the End, and we usually build close to each other. The one time we needed long-distance travel (Season 3), we simply built a 17'000-block railway to the south. In Season 5, elytra appeared late after a shared dragon fight. Season 6 has neither Nether nor End, so the only elytra come from a rare ominous chest (1/10 chance) in the Well of Fate[fr].
What pushed me to make this mod was a YouTube video that clearly explained how firework-boosted elytra break mid-to-late game flow: they make terrain irrelevant, render most other transportation obsolete (including water travel), and allow instant escapes on SMP servers. The video suggested wind charges as a better alternative. I kinda agreed.
I created the mod both for the community that feels this problem and for my own Season 7. The upcoming world is restricted and mountainous (but don't tell the players, it's a surprise!). I want players to resort to inventive and creative transportation solutions and to enjoy pure gliding through the terrain instead of simply boosting over everything.
Firework-boosted elytra remove the need to interact with the world. Paths, bridges, tunnels, railways and even boats become pointless once everyone can simply fly over everything… and even in the oceans.
By removing (or optionally restricting) rocket boosts:
The mod does not touch wind charges themselves. They remain fully vanilla and are actively encouraged as the intended way to stay airborne when needed.
For players who eventually want true flight, Lullaby's Flight Enchantment is an excellent end-game alternative. It adds a proper enchantment that lets elytra fly without rockets, and it can be offered as a hard-earned reward.
The mod is intentionally minimal. It only removes the most problematic part of elytra travel (instant and effortless rocket boosts) while leaving pure gliding intact.
Configurable options let server admins choose their exact policy:
A silent mode is available by leaving the message empty.
What the mod deliberately does not do:
The result is a soft nerf that restores value to other transportation methods without making elytra useless.
Elytra Rocket Control is a lightweight, server-side (and single-player) mod.
| Platform | Status |
|---|---|
| Minecraft | 26.3 |
| Fabric | Supported |
| Forge | Supported |
| NeoForge | Supported |
config/elytra-rocket-control.json (hot-reload not required; changes apply on next use){
"enable": true,
"cancel_rockets_in_flight": true,
"cancel_rockets_under_water": "flight",
"message": "Firework rockets cannot be used right now."
}
| Key | Default | Meaning |
|---|---|---|
enable |
true |
Master switch |
cancel_rockets_in_flight |
true |
Block rockets while fall-flying |
cancel_rockets_under_water |
"flight" |
"flight" = only while gliding in water"always" = any rocket use while in water |
message |
(see above) | Action-bar text. Empty string = silent |
cancel_rockets_in_flight: true, cancel_rockets_under_water: "flight"cancel_rockets_under_water: "always"cancel_rockets_in_flight: false, cancel_rockets_under_water: "always"The implementation is deliberately simple.
A mixin injects at the head of FireworkRocketItem.use:
@Mixin(FireworkRocketItem.class)
public abstract class FireworkRocketItemMixin {
@Inject(method = "use", at = @At("HEAD"), cancellable = true)
private void elytrarocket$cancelUse(
Level level,
Player player,
InteractionHand hand,
CallbackInfoReturnable<InteractionResult> cir
) {
boolean fallFlying = player.isFallFlying();
boolean inWater = player.isInWater();
if (!ModConfig.shouldCancel(fallFlying, inWater)) {
return;
}
if (!level.isClientSide()) {
String msg = ModConfig.message();
if (!msg.isEmpty()) {
player.sendOverlayMessage(Component.literal(msg));
}
}
cir.setReturnValue(InteractionResult.FAIL);
}
}
When the conditions match, the use is cancelled before the rocket is consumed. The player receives an optional action-bar message. Ground use of fireworks (launching them as projectiles) is completely unaffected.
The decision logic lives in the config helper:
public static boolean shouldCancel(boolean fallFlying, boolean inWater) {
if (!data.enable) {
return false;
}
if (fallFlying && data.cancel_rockets_in_flight) {
return true;
}
// "always" = block all rocket use in water; "flight" = no extra water rule
return inWater && cancelUnderWaterAlways();
}
An earlier attempt to make the boost strength configurable was abandoned. Even after trying several velocity formulas on the 26.3-debug branch, the resulting speed always clamped to approximately 0.678 blocks/tick. That experiment remains available for anyone who wants to dig further.
Inspired by discussions around firework-boosted elytra and the movement possibilities opened by wind charges.