Compatibility
Minecraft: Java Edition
1.20.1–1.20.6
Platforms
Supported environments
Creators
Details
Licensed MIT
Published 2 months ago
Updated 2 months ago
Removes the ability to rocket boost with the elytra. Simple mixin please use kindly.
If you want to reference see below.
@Mixin(FireworkRocketEntity.class)
public abstract class FireworkRocketEntityMixin {
@Redirect(
method = "tick",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/world/entity/LivingEntity;isFallFlying()Z"
)
)
private boolean preventElytraBoost(LivingEntity instance) {
if (instance instanceof Player) {
return false;
}
return instance.isFallFlying();
}
}



