mojira.dev
MC-268520

Sharpness enchantment on thrown trident doesn't work for ender dragon

Sharpness enchantment on thrown trident doesn't work for ender dragon or other mobs with mutiple hitboxes(entities that has green hitbox when use f3+b is on).

Steps to Reproduce:

  1. Run command:

    /give @s trident{Enchantments:[{id:sharpness,lvl:255},{id:loyalty,lvl:5}]}
  1. Go to the end and throw the trident to the ender dragon. It will only take a little damage, the damage from thrown trident itself.

  2. But if you attack ender dragon directly, it will take much damage.

  3. This bug may occur on other mutliple-hitbox entities if mods is installed.

  4. Other enchantments which can increase damage such as smite and impaling may also have this bug.

What I expected to happen was...:
Enchantment sharpness can deal damage to multiple-hitbox entities on thrown trident, like one-hitbox entities(sharpness on thrown trident can deal damage to normal entities).

 

Attachments

Comments 4

Hi, as per MC-10755 these high level enchantments are not supported. Does it work with Sharpness V?

Yes. No matter what level it is, sharpness on thrown trident didn't work for mutiple-hitbox mobs.

I believe I can confirm this. If possible are you able to attach a video showcasing this? It was a bit tricky to see in my test case the difference in damage but I did see a small increase when attacking the dragon with meele rather than ranged attacks

I have updated a video. In the video, trident with sharpness 255 can deal much damage when attack but little damage when thrown.

By the way, could you tell me the reason why this issue is closed as wont fix, thx?

FlameTree

(Unassigned)

Confirmed

24w06a, 24w07a

Retrieved