一种可制作的旋风球变体,命中后会生成真正的 TNT——非常适合炸毁桥梁、建造陷阱,或者单纯为了好玩。包含 3 种可制作的威力等级。
机制
像投掷普通旋风球一样投掷它。无论落在何处(方块、地面或玩家身上),都会在落点生成一个 TNT 实体,并带有短暂的引信时间(默认 1 秒),随后正常爆炸。冲击时的风力推动效果与原版完全一致——它仍然会像普通旋风球那样推开实体和方块。
投掷者本人不会受到爆炸伤害。爆炸范围内的其他所有实体将受到其最大生命值固定百分比的伤害(而非原版 TNT 的正常伤害公式),因此爆炸威力是完全可预测的。
合成
三种威力等级,每种在合成配方中需要不同数量的 TNT:
| 等级 |
配方 |
伤害(默认) |
| I |
TNT + 旋风球,并排摆放 |
最大生命值的 20% |
| II |
TNT + TNT + 旋风球,排成一行 |
最大生命值的 30% |
| III |
一排 3 个 TNT,旋风球居中置于下方 |
最大生命值的 40% |
配方中的 TNT 越多,投掷时单次爆炸的威力就越强(每次投掷仍只生成一个 TNT——等级仅改变该次爆炸造成的伤害量)。
指令
- /tntwindcharge [1|2|3] (别名: /twc) - 获得指定等级的 TNT 旋风球(若未提供数字,默认为 1 级)
- /tntwindcharge reload - 重新加载配置而无需重启服务器
权限:tntwindcharge.give(默认:op)、tntwindcharge.reload(默认:op)
语言
物品名称、描述和游戏内消息会自动匹配每位玩家的 Minecraft 客户端语言——如果客户端设置为波兰语,则显示波兰语;否则显示英语。无需额外配置。
配置
cooldown-seconds: 10
fuse-ticks: 20
break-blocks: true
damage-percent-tier1: 0.20
damage-percent-tier2: 0.30
damage-percent-tier3: 0.40
消息分为 pl/en 部分,涵盖物品名称、描述以及冷却/收到提示消息。
要求
已在 Paper 1.21.11 上测试。应在其他 1.21.x 版本上也能正常工作,但未经单独验证。无需资源包——使用原版旋风球的模型/纹理。
备注
完全服务端运行;玩家无需任何模组或资源包即可正确查看和使用。
A craftable Wind Charge variant that spawns real TNT wherever it hits - perfect for destroying bridges, building traps, or just having fun. Comes in 3 craftable power tiers.
Mechanics
Throw it exactly like a normal Wind Charge. Wherever it lands (a block, the ground, or a player), a TNT entity spawns on the spot with a short fuse (1 second by default), then explodes normally. The wind-push effect on impact is completely unchanged from vanilla - it still pushes entities and blocks around just like a regular Wind Charge always has.
The player who threw it takes zero damage from the resulting explosion. Everyone else in the blast radius takes a fixed percentage of their max HP (not vanilla TNT's normal damage formula), so the explosion power is fully predictable.
Crafting
Three power tiers, each requiring a different amount of TNT in the recipe:
| Tier |
Recipe |
Damage (default) |
| I |
TNT + Wind Charge, side by side |
20% of max HP |
| II |
TNT + TNT + Wind Charge, in a row |
30% of max HP |
| III |
3x TNT in a row, Wind Charge centered underneath |
40% of max HP |
More TNT in the recipe = a stronger single explosion when thrown (still only ever one TNT spawns per throw - the tier only changes how much damage that one explosion deals).
Commands
- /tntwindcharge [1|2|3] (alias: /twc) - gives yourself a TNT Wind Charge of the specified tier (defaults to tier 1 if no number given)
- /tntwindcharge reload - reloads the config without restarting the server
Permissions: tntwindcharge.give (default: op), tntwindcharge.reload (default: op)
Language
Item names, lore, and in-game messages automatically match each player's Minecraft client language - Polish if their client is set to Polish, English for everyone else. No configuration needed.
Config
cooldown-seconds: 10
fuse-ticks: 20
break-blocks: true
damage-percent-tier1: 0.20
damage-percent-tier2: 0.30
damage-percent-tier3: 0.40
Messages are split into pl/en sections for item names, lore, and cooldown/received messages.
Requirements
Tested on Paper 1.21.11. Should work on other 1.21.x versions but not individually verified. No resource pack needed - uses the vanilla Wind Charge model/texture.
Notes
Fully server-side; players don't need any mods or resource packs to see or use it correctly.
评论 0
登录后参与评分
还没有评论,来抢沙发吧