
EnderpearlCrossbow
Put an ender pearl in your offhand and load it into the crossbow to throw it more accurately, farther, and faster.
- Загрузки
- 360
- Подписчики
- 1
- Обновлён
- 7 мая 2026 г.
- Лицензия
- GPL-3.0-or-later
Опубликован 17 апреля 2026 г.
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.
Ченджлог
1.1.3Релиз1.21.9, 1.21.10, 1.21.11 · 7 мая 2026 г.
Compatible with all 1.21.x versions
1.1.2.1Релиз1.21.11 · 20 апреля 2026 г.
Add some information inside to introduce the mod.
1.1.2Релиз1.21.11 · 18 апреля 2026 г.
Fixed a bug where, when there were no items that can be loaded into a crossbow (such as arrows) in the inventory, even if an ender pearl was placed in the off-hand, the pearl would be thrown out instead of being loaded into the crossbow.
1.1.1Релиз1.21.11 · 17 апреля 2026 г.
Load ender pearls into a crossbow to throw them more accurately, farther, and faster.
Комментарии
Загружаем…