Uses of Interface
io.papermc.paper.datacomponent.item.ItemEnchantments.Builder
-
Uses of ItemEnchantments.Builder in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionItemEnchantments.Builder.add
(Enchantment enchantment, @org.checkerframework.common.value.qual.IntRange(from=1L, to=255L) int level) Adds an enchantment with the given level to this component.ItemEnchantments.Builder.addAll
(Map<Enchantment, @IntRange(from=1L,to=255L) Integer> enchantments) Adds enchantments with the given level to this component.static ItemEnchantments.Builder
ItemEnchantments.itemEnchantments()