Перейти к содержимому
Mineforgian

No Boost

Removes the boost from using fireworks on elytra

Загрузки
140
Подписчики
0
Обновлён
6 ноября 2025 г.
Лицензия
MIT

Опубликован 6 ноября 2025 г.

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();
    }
    
}

Центр версий

1 версий
  • Релиз9 КБ

Ченджлог

1.1Релиз1.20.4, 1.20.5, 1.20.6 · 6 ноября 2025 г.

Initial Release

Комментарии

Загружаем…