Mojira Archive
MC-273670

Snowball enchanted with custom enchantment doesn't call minecraft:post_attack after hitting an entity after being thrown

Enchanted Snowballs that have custom enchantments through datapacks don't call minecraft:post_attack when hitting an entity.

 

Steps to reproduce:

  1. Create a datapack with a custom enchantment that is able to be placed on snowballs (example enchantment json below)
  2. Open the world and gain an enchanted snowball
  3. Throw the snowball at an entity
  4. The function in post_attack wont run

Invalid

Illusioner2520

2024-06-21, 03:02 AM

2024-06-28, 07:24 AM

2024-06-28, 07:24 AM

0

1

Community Consensus

Data Packs, Enchantments

1.21

-