Uses of Interface
io.papermc.paper.registry.data.EnchantmentRegistryEntry.EnchantmentCost
Package
Description
Collection of registry entry types that may be created or modified via the
RegistryEvent
.-
Uses of EnchantmentRegistryEntry.EnchantmentCost in io.papermc.paper.registry.data
Modifier and TypeMethodDescriptionEnchantmentRegistryEntry.maximumCost()
Provides the maximum cost allowed to enchant an item with this enchantment.EnchantmentRegistryEntry.minimumCost()
Provides the minimum cost needed to enchant an item with this enchantment.EnchantmentRegistryEntry.EnchantmentCost.of
(int baseCost, int additionalPerLevelCost) Creates a new enchantment cost instance based on the passed values.Modifier and TypeMethodDescriptionEnchantmentRegistryEntry.Builder.maximumCost
(EnchantmentRegistryEntry.EnchantmentCost maximumCost) Configures the maximum cost to enchant an item with this enchantment.EnchantmentRegistryEntry.Builder.minimumCost
(EnchantmentRegistryEntry.EnchantmentCost minimumCost) Configures the minimum cost needed to enchant an item with this enchantment.