No Boost 图标

No Boost

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/no-boost
资源信息

Minecraft 版本: 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: game-mechanics transportation

资源介绍

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

}
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
MineShield Compass

价格:0 墨喵币
下载量:0

查看详情
Save My Tools

价格:0 墨喵币
下载量:0

查看详情
Thirdlife bounty hunters' addition

价格:0 墨喵币
下载量:0

查看详情
No Strings Attached

价格:0 墨喵币
下载量:0

查看详情