Currently, it's very difficult to make a data-driven enchantment that applies component data to an item, unless said data is an attribute modifier. And even when you do create an enchantment that can apply custom component data, it's buggy, slow, and impractical.
Adding a minecraft:components enchantment effect would solve all of these problems. While this effect would have some overlap with minecraft:attributes, I believe the addition would still be worthwhile, as you would use minecraft:components for very different reasons. The ability to apply components through enchantments would give datapack creators more control and freedom to create the kind of enchantments they want, without sacrificing optimization on their end.
The behavior of the minecraft:components enchantment effect should:
- Apply specified components when the item is enchanted, or combined in an anvil
- Remove specified components when the item is disenchanted, through a grindstone, or item modifier.
The behavior of the minecraft:components enchantment effect should NOT:
- Apply specified components constantly, such as with container components.
Please sign in to leave a comment.
0 Comments