Главная › Моды › Приключения › SwingThrough

SwingThrough
Allows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.
SwingThrough — мод для Minecraft 1.16.5–1.21.1 из категории «Приключения» для загрузчиков Fabric, NeoForge, Quilt. Автор: sleepingdragoninn. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.
- Категория
- Приключения
- Загрузчики
- Fabric, NeoForge, Quilt
- Версии Minecraft
- 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5
- Скачиваний на Modrinth
- 6 502 177
Описание
Allows targeting living entities through transparent blocks.
Requires Connector on neoforge.
This mod discards the block crosshair target to allow an entity to be targeted instead, when:
The block has empty collision
The entity is living and attackable
You're not directly riding the entity
The entity is within reach (exact interaction range in 1.21)
Thanks to this implementation, the block outline will also disappear while you're targeting the entity.
Technical Notes
This mod is comprised of a single mixin with about 4 lines of meaningful code:
2 lines to use the full entity targeting range if the block meets the conditions
2 lines to discard the block target if the full range was used and the entity meets the conditions
It performs no additional raycasts or radius searches.
Afterword
All mods are built on the work of many others.
We made this mod for Tinkerer's Quilt - our modpack about ease of play and vanilla content.
Как установить SwingThrough
- Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
- Найдите SwingThrough в окне модов — зависимости добавятся сами.
- Нажмите «Играть».
Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.