▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Taller Torches: Hitbox & Particle Fix
Taller Torches: Hitbox & Particle Fix

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.

184
2

License: LGPL v3 or later

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.

Animation showing the problem of using a torch.png with a different height than vanilla, and the mod's fix

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
}
  1. torch_height_px — height of your torch.png in pixels.
  2. include_redstone — when true, applies the same adjustments to redstone torches & wall redstone torches; set false to keep their vanilla shape.
  3. Everything else (collision, outline, flame/smoke offsets, wall side-shift) is computed automatically.

⚙️ Installation & Dependencies

LoaderVersionNotes
Fabric≥ 0.16.14 (1.20.1)Fabric-API not required
Forge (Sinytra Connector)(1.20.1)Works flawlessly
QuiltUntestedExpected 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 spritetorch_height_pxResult
Vanilla10Unchanged (particles & hit-box remain vanilla)
Indev13 (default)Flame sits neatly on the tip; hit-box ≈ 30 % taller
Custom 16 px16Ultra-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.”

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:LGPL-3.0-or-later
Опубликован:10 месяцев назад
Обновлён:10 месяцев назад
Главная