介绍
Physics-based spear throwing for Minecraft Java Edition 1.21.11.
A vanilla datapack that makes spears throwable with real momentum-based damage. No mods, no resource packs.
How to Use
Sneak + Right-click with any spear to throw it.
| Action | Result |
|---|---|
| Sneak + Right-click (standing) | Normal throw |
| Sneak + Right-click (sprinting) | Faster throw, bonus damage |
| Sneak + Right-click (jumping) | Higher arc |
| Sneak + Right-click (wind charge launch) | Inherits blast momentum |
| Sneak + Right-click (in water) | Slowed by drag, low damage |
Cannot be thrown while elytra gliding — swap to a chestplate to throw again.
The spear flies as an item and can be picked up after landing.
Additions:
- Momentum: your sprint/jump/fall speed at throw time (up to ~+7 damage on a sprint throw, more from falls)
- Sharpness: +1 damage per 2 levels
- Fire Aspect: ignites the hit target for 4s (level I) or 8s (level II+); kills drop cooked food
Critical (>1.8 throw velocity): extra particles, louder hit sound, metallic ring
Compatibility
- Atleast Minecraft 1.21.11
- Works alongside with most datapacks (only hooks into spear usage).
Installation
- Drop
throwable_spearsinto your world’sdatapacks/folder - Run
/reloador re-enter the world - You’ll see:
[Throwable Spears] Loaded. Sneak + right-click to throw!
Configuration
Edit data/throwable_spears/functions/utils/config.mcfunction:
| Variable | Default | Description |
|---|---|---|
#min_vel |
15 | Min velocity (×100) to deal damage |
#crit_vel |
180 | Velocity threshold for critical effects |
#throw_power |
100 | Base throw speed (×100) |
#momentum_pct |
100 | Player velocity inheritance % |
#mom_keep |
80 | Peak-speed memory kept per tick (×100) |
#throw_cooldown |
10 | Cooldown between throws (ticks) |
常见问题
Throwable Spears 支持哪些 Minecraft 版本?
Throwable Spears 支持 Minecraft Java 版 1.21.11–26.3,共 6 个版本。下载时注意选择和你游戏版本一致的文件。
Throwable Spears 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
MinexInd 的其他作品
查看全部 →PVP Bot practice world
与能提升你PvP水平的AI对战
No Lunge Cooldown
Removes cooldown from spears having lunge enchantment
Op Dirt
Holding a dirt block grants you creative mode
Op Dirt
Holding a dirt block grants you creative mode

评论
登录后评论和评分