public class EnchantmentManager extends Object
Constructor and Description |
---|
EnchantmentManager(GlowEnchantingInventory inventory,
GlowPlayer player)
Creates an instance to manage the given enchanting table for the given player.
|
Modifier and Type | Method and Description |
---|---|
void |
invalidate()
Resets the enchantments.
|
void |
onPlayerEnchant(int clicked)
Handles a click on an enchantment button.
|
public EnchantmentManager(GlowEnchantingInventory inventory, GlowPlayer player)
inventory
- the enchanting tableplayer
- the userCopyright © 2021. All rights reserved.