-
Notifications
You must be signed in to change notification settings - Fork 64
Menu
Matej Pacan edited this page Aug 29, 2022
·
1 revision
Here are some commonly asked questions about menus. For a more in-depth training, see https://mineacademy.org/project-orion
Customize ButtonReturnBack, ButtonRemove and Button's material, title and lore (i.e. changing the Door icon in ButtonReturnBack)
Use static methods as shown below in your onPluginStart() method, or before the button is instantiated.
Here's how to use it for example when your plugin starts:
You can fill the page items with a custom material such as a stained glass, and then override getItemAt() method to return null (empty slot) when the given slot in a page is of that material.
© MineAcademy.org