Uses of Class
org.bukkit.enchantments.EnchantmentOffer
Package
Description
Events
triggered from an enchantment table
.Package for
InventoryView
child interfaces that
house further usability for InventoryView
.-
Uses of EnchantmentOffer in org.bukkit.event.enchantment
Modifier and TypeMethodDescriptionPrepareItemEnchantEvent.getOffers()
Get a list of availableEnchantmentOffer
for the player.ModifierConstructorDescriptionPrepareItemEnchantEvent
(@NotNull Player enchanter, @NotNull EnchantmentView view, @NotNull Block table, @NotNull ItemStack item, @Nullable EnchantmentOffer @NotNull [] offers, int bonus) -
Uses of EnchantmentOffer in org.bukkit.inventory.view
Modifier and TypeMethodDescriptionEnchantmentView.getOffers()
Gets the offers of this EnchantmentViewModifier and TypeMethodDescriptionvoid
EnchantmentView.setOffers
(@NotNull EnchantmentOffer[] offers) Sets the offers to provide to the player.