Minecraft 1.20.1, 1.16.5用SwingThrough MOD
草、作物、花などの透明なブロックを通して生きているエンティティをターゲット(および相互作用と攻撃)できるようにする。
SwingThrough MODについて

透明ブロック越しに生きているエンティティをターゲットできるようにします。
neoforgeではConnectorが必要です。
このMODは、以下の条件を満たす場合にブロックのクロスヘアターゲットを破棄し、代わりにエンティティをターゲットできるようにします:
- ブロックの衝突判定が空である
- エンティティが生きており攻撃可能である
- エンティティに直接乗っていない
- エンティティがリーチ内にいる(1.21での正確なインタラクション範囲)
この実装により、エンティティをターゲットしている間はブロックのアウトラインも消えます。
技術的な注意点
このMODは、意味のあるコードが約4行だけの単一のMixinで構成されています:
- ブロックが条件を満たす場合にエンティティのターゲット範囲全体を使用するための2行
- 範囲全体が使用され、エンティティが条件を満たす場合にブロックのターゲットを破棄するための2行
追加のレイキャストや半径検索は行いません。
あとがき
すべてのMODは多くの人々の成果の上に成り立っています。
私たちはTinkerer's Quilt - 遊びやすさとバニラコンテンツをテーマにした私たちのMODパック - のためにこのMODを作りました。
SwingThroughのインストール方法
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16–1.20.2 on Fabric or Quilt automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric or Quilt
The loader must match the game version of the mod file, for example Minecraft 1.20.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file swingthrough-1.0.6+1.20.jar (22 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: SwingThrough should be in the list.
SwingThrough works on the player’s side only: there is no need to install it on a server.
Minecraft 1.20.2 runs on Java 17: with a different Java version the game may close right after launch.
バージョン
依存関係あり
| Minecraft | ローダー | ファイル | 操作 |
|---|---|---|---|
| 1.16.5 | Fabric, Quilt | 1.16.521.8 KB 1 |
FAQ
Which Minecraft versions does SwingThrough work on?
There are files for 1.16–1.20.2, 19 versions in total. The newest is 1.20.2.
Is SwingThrough for Forge or Fabric?
There are files for Fabric: 1.16–1.20.2 and for Quilt: 1.16–1.20.2. There are no files for Forge or NeoForge: a mod for another loader will not start.
Does SwingThrough need other mods?
The author lists no required dependencies: the Fabric or Quilt loader is enough.
Do I need to install SwingThrough on a server?
No. SwingThrough works on the player’s side only: there is no need to install it on a server.
Which Java does SwingThrough need?
Minecraft 1.20.2 runs on Java 17. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download SwingThrough safely?
On this page: the file swingthrough-1.0.6+1.20.jar (22 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: fe9c7077b69767b3a175e1d310f95b0ebab66747.
レビュー
SwingThroughの最初の評価を書きませんか


