In data packs, the best method of giving items special functionality is through custom enchantments, but if the item can receive other enchantments, there are two options for the item's tooltip: to hide the "minecraft:enchantments" component with "minecraft:tooltip_display", which hides both the built-in and extra enchantments, or to leave the tooltip alone, which means the built-in enchantment is shown in the tooltip as well. Since neither of these options is very desirable, I propose a "minecraft:builtin_enchantments" item component. This component would function exactly like the "minecraft:enchantments" component, except that the enchantments in that component would not appear in the item's tooltip. That way, items could have both built-in enchantments which are not shown in the tooltip and extra enchantments which are shown in the tooltip.
Please sign in to leave a comment.
0 Comments