EnderpearlCrossbow 图标

EnderpearlCrossbow

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: fabric

标签: equipment

资源介绍

EnderpearlCrossbow is a lightweight Fabric mod for Minecraft 1.21.1 that enhances the vanilla crossbow by allowing it to load and fire Ender Pearls instead of arrows or fireworks. Instead of manually throwing a pearl with short range and poor accuracy, players can place an Ender Pearl in their off-hand while holding a crossbow, then right-click to load it and fire with significantly improved velocity, accuracy, and range. The mod uses Mixin-based bytecode injection to modify the CrossbowItem class without adding any new items or blocks, and it registers a custom data component (enderpearlcrossbow:is_pearl_loaded) to track whether a pearl is loaded. One mixin modifies the loading logic to accept pearls from the off-hand slot, while another intercepts the shootAll method to spawn an EnderPearlEntity with the crossbow's speed and divergence, play the throw sound, apply durability damage, clear the loaded projectile, and cancel vanilla shooting behavior. Visually, the mod provides a custom item model override via asset replacement, using a has_component condition to switch the crossbow texture to a custom version with a visible embedded pearl when loaded, along with custom pull animation textures for a seamless experience. In essence, this mod offers a practical, tactical, and reliable way to use Ender Pearls for teleportation by combining the crossbow's mechanical precision with the pearl's utility, all while keeping the game balanced and adding no new items.showcase

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Bray's Better Leaves

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

查看详情
Hidden Armor

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

查看详情
Wither Fix

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

查看详情
VsBase

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

查看详情