#Enchantment Tooltip Removal

5 messages · Page 1 of 1 (latest)

sterile pumice
#

Just wanting to remove the line in the tooltip that shows what enchantments are on the item

empty plover
#

replace the ENCHANTMENTS data component with one using the withShowInTooltip method setting it to false

sterile pumice
empty plover
#

do you want it to never show on the item type or just on this one itemstack?

#

stack.set(DataComponentTypes.ENCHANTMENTS, stack.getEnchantments().withShowInTooltip(false));
just the stack can be done like this ^^