▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/No Boost
No Boost

No Boost

Removes the boost from using fireworks on elytra

88
0

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

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:3 месяца назад
Обновлён:3 месяца назад
Главная