๐งAnvilGUI
Here you find the structure of the AnvilGUI's
The Anvil support comes only with v1.5.6. There could well be bugs! Feel free to post any improvements on Github! Thanks
RyseInventory Structure
The following methods must be used to use the AnvilGUI.
type
There you have to define that it is an Anvil.
title
To give the Anvil a name.
provider
It is important when you implement the provider that you override the method "anvil".
AnvilGUI Structure
Here you will find a description of the methods available to you for the AnvilGUI.
itemLeft
Places an item on the far left (i.e. at slot 0)
itemRight
Places an item on the far right (i.e. at slot 1)
itemOutput
Places an item inside the output (i.e. at slot 2)
onComplete
This method is called when e.g. the left item is edited and the item is clicked in the output. This is used when you want to have the input, for example. Furthermore, you can get all the ItemStacks + the player.
Last updated