What are you searching for?

SwingThrough

SwingThrough

Allows targeting (and interacting with and attacking) living entities through transparent blocks like grass, crops, and flowers.

download 3.2M Downloads · favorite 304 Followers · Updated 1 year ago
Fabric Game-mechanics Neoforge Quilt Utility 1.14 1.14.1 1.14.2 1.14.3 1.14.4 +28 more

Versions

inventory_2
1.0.6+1.20

1.0.6+1.20 · 1 year ago · 21.82 KB

Release download
Fabric Quilt 1.16 1.16.1 1.16.2
inventory_2
1.0.5+1.21

1.0.5+1.21 · 1 year ago · 22.97 KB

Release download
Fabric Neoforge Quilt 1.20.3 1.20.4 1.20.5
inventory_2
1.0.5+1.20

1.0.5+1.20 · 1 year ago · 21.82 KB

Release download
Fabric Quilt 1.15 1.15.1 1.15.2
inventory_2
1.0.5+1.15

1.0.5+1.15 · 1 year ago · 21.78 KB

Release download
Fabric 1.14 1.14.1 1.14.2
inventory_2
1.0.4

1.0.4+1.19 · 2 years ago · 23.56 KB

Release download
Fabric Quilt 1.18.2 1.19 1.19.1

About

preview 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.

open_in_new View on Modrinth
Compatibility
Client: Required Server: Unsupported
gavel LGPL-3.0-only

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.4M
favorite 22,097
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 65.8M
favorite 7,589
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.6M
favorite 13,650
lock Cookie consent

SkinMC uses cookies to provide functionality and features.