Uses of Interface
io.papermc.paper.datacomponent.item.ItemEnchantments
-
Uses of ItemEnchantments in io.papermc.paper.datacomponent
Modifier and TypeFieldDescriptionstatic final DataComponentType.Valued
<ItemEnchantments> DataComponentTypes.ENCHANTMENTS
Controls the enchantments on an item.static final DataComponentType.Valued
<ItemEnchantments> DataComponentTypes.STORED_ENCHANTMENTS
Stores list of enchantments and their levels for an Enchanted Book. -
Uses of ItemEnchantments in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionstatic ItemEnchantments
ItemEnchantments.itemEnchantments
(Map<Enchantment, @IntRange(from=1L,to=255L) Integer> enchantments, boolean showInTooltip)