Skip to content

Enchanting Interface

Jhefferson Marques edited this page Jan 24, 2022 · 3 revisions

Enchanting Interface

Needing a enchanting table close to it, permits automatic enchanting and getting the enchants for an item.

Methods Description
getsEnchantFor(input, slot) By passing the name of the input inventory and a slot with a enchantable item, gets the enchants for the item
enchant(input, slot, resources) By passing the name of the input inventory, a slot with a enchantable item and a resources input inventory, enchantis the passing item, and consumes 1 Lapis Lazuli and 8 Bottles of Enchanting from the resources inventory

Clone this wiki locally