mojira.dev
MC-271654

Enchantments granting bonus damage to melee weapons aren't producing particles

In past versions extra enchant_hit particles were produced when attacking an entity correct for your damage enchantment. Those particles are missing in the latest snapshot. This applies to sharpness, smite, bane of arthropods, and impaling.

Linked issues

Attachments

Comments 7

Maybe relates to MC-271402.

The created particles are a direct indication of damage, so this could duplicate MC-271402. It it's prefered they stay seperate, then at least a 'caused by' relation.

Display of MC-271402 occuring:

[media]

Alexander Gignac

Jiingy I would disagree. The new enchantment system has an entity effect called "spawn_particles", which seems like the appropriate tool for this purpose. I'll try to make a mock-up version of the correct behavior using a data pack.

Alexander Gignac

As it would turn out, either I am not equipped with the knowledge to do this entirely with enchantments or the desired behavior is not possible yet due to a lack of a particle quantity field. Instead have this so-so example using a run_function effect.

[media]

Edit: Did you think I meant the "damage_indicator" particle? I would like to remind you that this issue is about the "enchanted_hit" particle.

Alexander Gignac

For further reference, here is the proper behavior in the latest release:

[media]
Alexander Gignac

This is fixed in the latest snapshot. I must have been mistaken, since I see no changes to particles in the enchantment json files.

This issue was indeed present in 24w18a but has been fixed in 24w19a so I'm resolving this ticket as fixed.

Alexander Gignac

(Unassigned)

Community Consensus

Platform

Normal

Enchantments, Particles

24w18a

24w19a

Retrieved