Class CustomAnvilGuiApi
java.lang.Object
io.eliotesta98.CustomAnvilGUI.Api.CustomAnvilGuiApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetResult(org.bukkit.inventory.Inventory topInventory, int levels, org.bukkit.inventory.ItemStack resultItem) Set the result item in the interface.
-
Constructor Details
-
CustomAnvilGuiApi
public CustomAnvilGuiApi()
-
-
Method Details
-
setResult
public static void setResult(org.bukkit.inventory.Inventory topInventory, int levels, org.bukkit.inventory.ItemStack resultItem) Set the result item in the interface. P. S. Without NbtApi, this method does not work!- Parameters:
topInventory- is the anvil inventory.levels- is the cost of enchanting.resultItem- is the ItemStack you want a set.
-