Compatibility
Minecraft: Java Edition
1.20.1–1.20.6
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed MIT
Published 10 months ago
Updated 10 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();
}
}


