Taller Torches: Hitbox & Particle Fix
一款微型模组,调整火把碰撞/轮廓框的大小 并 移动其火焰粒子,让高火把贴图终于看起来正确。
? 为什么需要这个模组
使用恢复 Indev 时期 13px 火把(或任何更高设计)的资源包看起来非常精美——直到火焰生成在半截棍子上,而你试图破坏火把时却一直在误点鼠标。Taller Torches 修复了以下所有类型的问题:火把、灵魂火把以及红石火把(地板与墙壁变种):
- 粒子原点 提升至匹配精灵图的实际顶部。
- 碰撞框与轮廓 被拉伸,让你能精准瞄准火把视觉上所在的位置。

不再有卡在棍子内部的火焰或对不齐的轮廓——只有美观的火炬!
? 工作原理
在加载时,模组读取一个 JSON 文件:
// config/tallertorches.json
{
"torch_height_px": 13, // 10 = 原版, 13 = Indev (默认)
"include_redstone": true // 开关:是否也调整红石火把
}
- torch_height_px — 你的 torch.png 的高度(像素)。
- include_redstone — 当为 true 时,对红石火把和墙上的红石火把应用相同的调整;设为 false 以保持它们的原版形状。
- 其他所有内容(碰撞、轮廓、火焰/烟雾偏移量、墙壁侧向位移)均自动计算得出。
⚙️ 安装与依赖
| Loader |
Version |
Notes |
| Fabric |
≥ 0.16.14 (1.20.1) |
不需要 Fabric-API |
| Forge (Sinytra Connector) |
(1.20.1) |
完美运行 |
| Quilt |
Untested |
预期行为与 Fabric 相同 |
基于 Yarn 映射构建;仅包含 四个小型 mixin(TorchBlock, WallTorchBlock, RedstoneTorchBlock, WallRedstoneTorchBlock)。
? 轻量级设计
- ≈ 23 kB JAR
- 无 mixin GUI,无运行时反射
- Mixin 仅在火把形状变化或粒子生成时运行
?️ 示例高度
| Torch sprite |
torch_height_px |
Result |
| Vanilla |
10 |
未更改(粒子与碰撞框保持原版状态) |
| Indev |
13 (默认) |
火焰整齐地位于顶端;碰撞框约高 30 % |
| Custom 16 px |
16 |
超高高火把?只需设置为 16 并重启游戏即可! |
(支持超过 16px 的值,但在狭窄建筑中可能会切割天花板。)
(也支持低于 10px 的值,最小值为 2px。)
?️ 致谢
- 代码与创意: HandLock_
- 灵感来源: Mojang 被遗忘的 Indev 贴图 —— 参见 Wiki 存档。
“更高的火把值得更高的火焰。”
Taller Torches: Hitbox & Particle Fix
A micro-mod that resizes torch collision/outline boxes and moves their flame particles so tall torch textures finally look right.
? Why This Exists
Resource-packs that restore the Indev-era 13 px torch (or any taller design) look gorgeous—until the flame spawns halfway down the stick and you end up smacking your mouse while trying to break the torch. Taller Torches fixes both issues for torches, soul torches and redstone torches (floor & wall variants):
- Particle origin lifted to match the real top of the sprite.
- Hit-box & outline stretched so you can target the torch where it visibly is.

No more flames stuck inside the stem or mis-aligned outlines—just pretty, tiki torches!
? How It Works
At load-time the mod reads a single JSON file:
// config/tallertorches.json
{
"torch_height_px": 13, // 10 = vanilla, 13 = Indev (default)
"include_redstone": true // toggle: also adjust redstone torches
}
- torch_height_px — height of your torch.png in pixels.
- include_redstone — when true, applies the same adjustments to redstone torches & wall redstone torches; set false to keep their vanilla shape.
- Everything else (collision, outline, flame/smoke offsets, wall side-shift) is computed automatically.
⚙️ Installation & Dependencies
| Loader |
Version |
Notes |
| Fabric |
≥ 0.16.14 (1.20.1) |
Fabric-API not required |
| Forge (Sinytra Connector) |
(1.20.1) |
Works flawlessly |
| Quilt |
Untested |
Expected to behave like Fabric |
Built against Yarn mappings; only four tiny mixins (TorchBlock, WallTorchBlock, RedstoneTorchBlock, WallRedstoneTorchBlock).
? Lightweight by Design
- ≈ 23 kB JAR
- No mixin GUIs, no runtime reflection
- Mixins run only when a torch’s shape or particle spawns
?️ Example Heights
| Torch sprite |
torch_height_px |
Result |
| Vanilla |
10 |
Unchanged (particles & hit-box remain vanilla) |
| Indev |
13 (default) |
Flame sits neatly on the tip; hit-box ≈ 30 % taller |
| Custom 16 px |
16 |
Ultra-tall torches? Just set 16 and restart! |
(Values beyond 16 px are supported but may clip ceilings in cramped builds.)
(Values below 10px are also supported, the minimum is 2px.)
?️ Credits
- Code & idea: HandLock_
- Inspiration: Mojang’s forgotten Indev textures – see the Wiki archive.
“A taller torch deserves a taller flame.”
评论 0
登录后参与评分
还没有评论,来抢沙发吧