[PR #2322] [MERGED] Use the impaling entity tag for thrown tridents #4203

Closed
opened 2026-11-03 04:15:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2322
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/impaling-aquatic-tag


📝 Commits (1)

  • 555ddb9 Use the impaling entity tag for thrown tridents

📊 Changes

1 file changed (+24 additions, -5 deletions)

View changed files

📝 crates/horizon-client/src/game/trident.rs (+24 -5)

📄 Description

What and why

A thrown trident with Impaling did the extra damage to any mob that swims or breathes water, which includes zombies, skeletons, blazes, ghasts and iron golems. In vanilla only mobs in #minecraft:sensitive_to_impaling (the aquatic tag: turtle, axolotl, guardians, fish, dolphin, squids, tadpole, nautilus) take it. The thrown trident now gets its damage from the enchantment data (minecraft:damage on a base of 8), the same way melee does, so the entity tag decides.

Vanilla reference

  • ThrownTrident.getDamage: EnchantmentHelper.modifyDamage(level, weaponItem, entity, damageSource, 8.0F).
  • data/minecraft/enchantment/impaling.json and tags/entity_type/sensitive_to_impaling.json.

Self-check

cargo check -p horizon-client passes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2322 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/impaling-aquatic-tag` --- ### 📝 Commits (1) - [`555ddb9`](https://github.com/horizon-rust/horizon/commit/555ddb94bf8a20bf241dde847137fea335f2b2eb) Use the impaling entity tag for thrown tridents ### 📊 Changes **1 file changed** (+24 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/trident.rs` (+24 -5) </details> ### 📄 Description ## What and why A thrown trident with Impaling did the extra damage to any mob that swims or breathes water, which includes zombies, skeletons, blazes, ghasts and iron golems. In vanilla only mobs in `#minecraft:sensitive_to_impaling` (the aquatic tag: turtle, axolotl, guardians, fish, dolphin, squids, tadpole, nautilus) take it. The thrown trident now gets its damage from the enchantment data (`minecraft:damage` on a base of 8), the same way melee does, so the entity tag decides. ## Vanilla reference - `ThrownTrident.getDamage`: `EnchantmentHelper.modifyDamage(level, weaponItem, entity, damageSource, 8.0F)`. - `data/minecraft/enchantment/impaling.json` and `tags/entity_type/sensitive_to_impaling.json`. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:26 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4203
No description provided.