
SwingThrough
Allows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.
Автор: sleepingdragoninn6,5 млн345обновлён 22 авг. 2024 г.
Механики игрыУтилиты
Описание
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.
Галерея
Последние версии
Все версии →release
1.0.6+1.20
1.0.6+1.2022 авг. 2024 г.618,4 тыс.Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2fabric, quilt
Что нового
Fixes:
- Fix crash due to compiling on incorrect version for 1.16-1.20
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.6+1.20
release
1.0.5+1.21
1.0.5+1.2113 авг. 2024 г.5,7 млнMinecraft: 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1fabric, neoforge, quilt
Что нового
Changes:
- Support 1.14-1.15-2
- Support 1.20.3-1.21
- Support neoforge on 1.21 via connector
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.5+1.21
release
1.0.5+1.20
1.0.5+1.2013 авг. 2024 г.1 тыс.Minecraft: 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2fabric, quilt
Что нового
Changes:
- Support 1.14-1.15-2
- Support 1.20.3-1.21
- Support neoforge on 1.21 via connector
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.5+1.20
release
1.0.5+1.15
1.0.5+1.1513 авг. 2024 г.895Minecraft: 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2fabric
Что нового
Changes:
- Support 1.14-1.15-2
- Support 1.20.3-1.21
- Support neoforge on 1.21 via connector
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.5+1.15
release
1.0.4
1.0.4+1.193 июл. 2023 г.87 тыс.Minecraft: 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1fabric, quilt
Что нового
Run the block transparency check earlier so that the entity raycast doesn't get extended unless it needs to.
Fixes an issue where entities that would usually be out of range of the raycast could insist they were closer to the camera than a block they were behind, preventing block interaction ([#2](https://github.com/sisby-folk/swingthrough/issues/2))
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.4
release
1.0.3-compat
1.0.3-compat+1.193 июл. 2023 г.1,1 тыс.Minecraft: 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1fabric, quilt
Что нового
Sync's the compat version with 1.0.4.
The compat version works back to 1.16.5, but doesn't check tamed entities.
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.3-compat
release
1.0.3
1.0.3+1.192 июл. 2023 г.273Minecraft: 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1fabric, quilt
Что нового
Literally a nothing release, but modrinth doesn't fully treat `-prerelease` versions as being older than full versions and this needs to be newer than 1.0.2-compat.
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.3
release
1.0.2-compat
1.0.2-compat+1.192 июл. 2023 г.236Minecraft: 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1fabric, quilt
Что нового
Slightly more compatible version without the tamed entity check.
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.2-compat
release
1.0.2
1.0.2+1.1910 июн. 2023 г.5,2 тыс.Minecraft: 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1fabric, quilt
Что нового
add FMJ for fabric, expand compatible versions
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.2
release
1.0.1
1.0.1+1.1910 июн. 2023 г.276Minecraft: 1.19.2quilt
Что нового
1.0: Initial Release
1.0.1: Fix icon and use actual reach again (a little conservative so it's noted in the readme)
Changelog: https://github.com/sisby-folk/swingthrough/releases/tag/v1.0.1
