Skip to content

khakhasshi/Jiang-sMultiBowMod

Repository files navigation

Jiang's Multi Bow Mod

Minecraft Fabric Java Kotlin Version License

Minecraft Fabric Mod · v1.0.0 · 1.18.2

Author: JIANGJINGZHE · 📧 contact@jiangjingzhe.com · 💬 WeChat: jiangjingzhe_2004


中文 | English


中文

简介

Jiang's Multi Bow Mod 是一款基于 Fabric 框架的 Minecraft 1.18.2 模组,为战斗系统引入 11 种特殊弓/弩,每种武器拥有独特的技能与粒子特效,同时附带专属的目标锁定 HUD


武器一览

物品 命名空间 ID 说明
⚡ 闪电弓 Lightning Bow template-mod:lightning_bow 命中时在目标位置召唤闪电,箭矢速度翻倍
💣 TNT 弓 TNT Bow template-mod:tnt_bow 命中实体或方块时触发强力爆炸(威力相当于 2 倍充能爬行者),箭矢速度翻倍
🌀 传送弓 Teleport Bow template-mod:teleport_bow 射箭后玩家瞬间传送至箭矢落点,播放末影人传送音效
🎯 自动追踪闪电弓 Auto-Tracking Lightning Bow template-mod:auto_tracking_lightning_bow 一次射出 5 支散射箭,每支箭自动追踪 50 格内最近的敌对生物,命中时触发闪电
🗺 多目标追踪弓 Multi-Target Tracking Bow template-mod:multi_target_tracking_bow 一次射出 5 支箭,每支分别追踪不同目标(按距离排序),覆盖范围 100 格
💥 C4 弓 C4 Bow template-mod:c4_bow 射出的箭附着在实体/方块上作为 C4 炸药,使用遥控引爆器统一引爆(范围 200 格)
📟 遥控引爆器 Detonator template-mod:detonator 右键使用,引爆200格内所有属于本玩家的 C4 箭矢
🔴 弹射弓 Ricochet Bow template-mod:ricochet_bow 箭矢撞到方块后反弹,最多弹射 5 次;每次弹射伤害 ×1.3,箭道颜色随弹射次数改变;玻璃被穿透击碎
🌪 漩涡弓 Vortex Bow template-mod:vortex_bow 命中后创建持续 5 秒的漩涡,将周围实体吸入并螺旋上扬,结束时将其向下摔落,持续造成 0.5 伤害/秒
👥 分身弓 Clone Bow template-mod:clone_bow 命中后在玩家周围生成 3 个外观与装备相同的幻影分身,持续 30 秒,被攻击时爆炸消失
⚫ 黑洞弓 Black Hole Bow template-mod:blackhole_bow 命中后创建持续 5 秒的黑洞,半径 20 格内吸引所有实体,逐步摧毁周围方块,结束时爆炸将所有实体崩飞
🪝 抓钩弩 Grappling Hook Crossbow template-mod:grappling_hook_crossbow 射出箭矢后,箭矢到达后玩家被拉向锚点,配有粒子轨迹与到达特效

目标锁定 HUD

持有自动追踪闪电弓时,屏幕上会显示目标锁定 HUD:

  • 旋转红色外环 + 橙色中环 + 黄色脉冲内环
  • 转动的扫描光束
  • 锁定进度百分比提示(锁定中 → 已锁定)
  • 锁定完成后显示目标名称与距离

获取物品

所有物品均在战斗标签页(Combat)中,可使用创造模式物品栏或指令获取:

/give @s template-mod:lightning_bow
/give @s template-mod:tnt_bow
/give @s template-mod:teleport_bow
/give @s template-mod:auto_tracking_lightning_bow
/give @s template-mod:multi_target_tracking_bow
/give @s template-mod:c4_bow
/give @s template-mod:detonator
/give @s template-mod:ricochet_bow
/give @s template-mod:vortex_bow
/give @s template-mod:clone_bow
/give @s template-mod:blackhole_bow
/give @s template-mod:grappling_hook_crossbow

依赖

依赖 版本
Minecraft 1.18.2
Fabric Loader ≥ 0.18.4
Fabric API 0.77.0+1.18.2
Fabric Language Kotlin 1.8.2+kotlin.1.7.10
Java 17

安装

  1. 确认已安装 Fabric Loader ≥ 0.18.4。
  2. 下载 Fabric API 并放入 mods/ 目录。
  3. 下载 Fabric Language Kotlin 并放入 mods/ 目录。
  4. 将本模组的 .jar 文件放入 mods/ 目录。
  5. 启动游戏即可。

从源码构建

git clone <仓库地址>
cd Jiang'sMultiBowMod
./gradlew build
# 产物位于 build/libs/jiangs-multibow-1.0.0.jar

开发客户端:

./gradlew runClient

注意事项

  • 漩涡弓黑洞弓 的范围效果较强,多人服务器建议在合适场景下使用。
  • TNT 弓 的爆炸强度约为原版 TNT 的 2 倍,含方块破坏,请勿在重要建筑附近使用。
  • 自动追踪弓多目标追踪弓 的箭矢追踪逻辑已做服务端性能优化(每 5 tick 重新扫描一次)。

作者与联系方式

作者 JIANGJINGZHE
邮箱 contact@jiangjingzhe.com
微信 jiangjingzhe_2004

English

Introduction

Jiang's Multi Bow Mod is a Fabric 1.18.2 Minecraft mod that adds 11 special bows and crossbows, each with a unique ability and particle effect, plus a dedicated target lock HUD for tracking weapons.


Items

Item Namespace ID Description
⚡ Lightning Bow template-mod:lightning_bow Summons a lightning bolt on the hit target; arrow speed ×2
💣 TNT Bow template-mod:tnt_bow Creates a powerful explosion on entity or block impact (~2× charged creeper power); arrow speed ×2
🌀 Teleport Bow template-mod:teleport_bow Fires an arrow and teleports the shooter to where it lands, with enderman teleport sound
🎯 Auto-Tracking Lightning Bow template-mod:auto_tracking_lightning_bow Fires 5 spread arrows that each home in on the nearest hostile within 50 blocks; lightning on hit
🗺 Multi-Target Tracking Bow template-mod:multi_target_tracking_bow Fires 5 arrows, each autonomously tracking a different target sorted by distance; 100-block range
💥 C4 Bow template-mod:c4_bow Arrows embed in entities/blocks as remote C4 charges; use the Detonator to trigger all at once (200-block range)
📟 Detonator template-mod:detonator Right-click to detonate all of your planted C4 arrows within 200 blocks
🔴 Ricochet Bow template-mod:ricochet_bow Arrows bounce off blocks up to 5 times; damage ×1.3 per bounce; trail color changes with bounce count; glass is shattered
🌪 Vortex Bow template-mod:vortex_bow Creates a 5-second vortex that pulls and spirals nearby entities upward, then slams them down; deals 0.5 magic damage/sec
👥 Clone Bow template-mod:clone_bow Spawns 3 player look-alike decoy clones that follow the shooter for 30 seconds; explode when hit
⚫ Black Hole Bow template-mod:blackhole_bow Creates a 5-second black hole with 20-block pull radius; destroys nearby blocks over time; collapses with a massive explosion that launches all entities outward
🪝 Grappling Hook Crossbow template-mod:grappling_hook_crossbow Fires an arrow that, once lodged, pulls the shooter to the anchor point with a particle trail

Target Lock HUD

While holding the Auto-Tracking Lightning Bow, a target lock overlay appears on screen:

  • Outer rotating red ring, orange middle ring, pulsing yellow inner ring
  • Rotating scan beam
  • Lock progress indicator (LOCKING % → TARGET LOCKED)
  • Target name and distance shown on full lock

Getting Items

All items appear in the Combat creative tab, or via command:

/give @s template-mod:lightning_bow
/give @s template-mod:tnt_bow
/give @s template-mod:teleport_bow
/give @s template-mod:auto_tracking_lightning_bow
/give @s template-mod:multi_target_tracking_bow
/give @s template-mod:c4_bow
/give @s template-mod:detonator
/give @s template-mod:ricochet_bow
/give @s template-mod:vortex_bow
/give @s template-mod:clone_bow
/give @s template-mod:blackhole_bow
/give @s template-mod:grappling_hook_crossbow

Requirements

Dependency Version
Minecraft 1.18.2
Fabric Loader ≥ 0.18.4
Fabric API 0.77.0+1.18.2
Fabric Language Kotlin 1.8.2+kotlin.1.7.10
Java 17

Installation

  1. Install Fabric Loader ≥ 0.18.4.
  2. Download Fabric API and place it in your mods/ folder.
  3. Download Fabric Language Kotlin and place it in your mods/ folder.
  4. Drop this mod's .jar into your mods/ folder.
  5. Launch the game.

Building from Source

git clone <repo-url>
cd Jiang'sMultiBowMod
./gradlew build
# Output: build/libs/jiangs-multibow-1.0.0.jar

Run the dev client:

./gradlew runClient

Notes

  • Vortex Bow and Black Hole Bow have wide area effects — use mindfully on multiplayer servers.
  • TNT Bow destroys blocks (power ≈ 2× charged creeper). Avoid using near builds you care about.
  • Homing arrow AI (Auto-Tracking & Multi-Target) is server-performance-optimised: target scan runs once every 5 ticks, steering every tick.

Author & Contact

Author JIANGJINGZHE
Email contact@jiangjingzhe.com
WeChat jiangjingzhe_2004

Licensed under CC0-1.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors