Shoulder Surfing: Iron's Spells Integration
A simple client-side mod that integrates Shoulder Surfing Reloaded and Iron's Spells 'n Spellbooks, making the camera automatically follow your crosshair whenever you cast a spell—via spellbooks, normal spells, or quick

Что это
A simple client-side mod that integrates Shoulder Surfing Reloaded and Iron's Spells 'n Spellbooks, making the camera automatically follow your crosshair whenever you cast a spell—via spellbooks, normal spells, or quick cast.
- Тип: мод
- Загрузчик: forge, neoforge
- Версии Minecraft: 1.20.1 – 1.21.1
- Скачиваний на Modrinth: 25 214
Подробно
Shoulder Surfing: Iron's Spells Integration
A simple client-side mod that integrates Shoulder Surfing Reloaded and Iron's Spells 'n Spellbooks, making the camera automatically follow your crosshair whenever you cast a spell—via spellbooks, normal spells, or quick cast. Compatible with controller mods.
[//]: # (Hosted in: https://github.com/EchoEllet/shoulder-surfing-iron-spells-integration/discussions/1)
Tested with the following mods and works as expected:
This isn't an official Shoulder Surfing Reloaded addon, so any issues should be reported to this mod issue tracker rather than to the Shoulder Surfing Reloaded team.
This mod fixes issues you may encounter when using the Shoulder Surfing Perspective. The fixes are universal and apply regardless of whether the camera is decoupled or not.
This mod uses the IAdaptiveItemCallback callback provided by the Shoulder Surfing Reloaded mod so that it identifies as if we're aiming at the crosshair target, ensuring the player looks at the crosshair target regardless of the spell cast source (e.g., spell book, scroll item) and whether the camera is decoupled or not.
This fix is effective even when the camera is coupled, because without it, casting a continuous spell in Shoulder Surfing causes the player to look straight ahead instead of at the crosshair.
Look at Crosshair Target When Casting via Spell Book
When casting a spell using a scroll item by right-clicking with the mouse, the Shoulder Surfing mod will automatically look at the crosshair target if the camera is decoupled. This is not the case when casting spells via spell books, which is a common method.
Mixins into the constructors of CastPacket and QuickCastPacket, since these are only constructed from the client side and only when the player is casting a spell from a keybind. This ensures that the mod stays compatible with any controller mod and remains client-side without sending packets to the network.
The official API provided by the Iron Spells mod is currently a bit limited, and all events are called on the server side only. This makes it difficult to keep this mod client-side only while still supporting controller mods and avoiding dependency on their internal APIs.
Always Look at Crosshair Target When Using a Scroll Item
We call ShoulderSurfingImpl.lookAtCrosshairTarget before Scroll.use is called to fix two issues:
The Shoulder Surfing mod automatically calls
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
MSW Compat
Spell Power x Marium's Soulslike Weaponry 05.12.2026
TradeShop
A simple, no-nonsense item trade chest shop plugin. 05.12.2026
Backport Gamerules
Backporting new gamerules to the older versions 05.12.2026
MusicPlayerMod
A sleek, modern music player overlay for Minecraft that displays your currently playing media from Spotify, YouTube Music, and other… 05.12.2026
Deferred Registries
Register things in ease 05.12.2026
EnemyIndicator
EnemyIndicator makes your crosshair display differently when it is possible to hit an enemy. 05.12.2026