πŸ“–General Explanation

Get to know all the classes you'll be sure to use over time.

Take the time to read them all thoroughly. The more you understand the classes, the easier my API is.

πŸŽ—οΈ RyseInventory

Of course, the RyseInventory class plays a big role in the API. With this you can create your inventories and the associated logic.

πŸŽ—οΈ Pagination

Many developers want to create inventories with multiple pages. This possibility does not exist in such a way from the point of view of Minecraft. That doesn't mean that it is impossible. RyseInventory has a built-in pagination where you can define multiple pages without any problems. The nice thing is, each page can have a different size. Page 1 should have 3 rows and page 2 5 rows? No problem. Good to know is that we distinguish between the following:

Dynamic Pages

With dynamic pages, the number of pages adjusts automatically. It adapts to your input. You can define how many items are allowed per page. Furthermore you add the items to the pagination. The rest is done by my API. You only open the inventory and can switch between the pages.

Static Pages

For static pages, you set the number of pages. If you say there are 5 pages, there will never be more than 5 pages. No matter how many items are in the pagination. It is important to note that if you have more items than will fit on 5 pages, those items will be ignored.

πŸŽ—οΈ SlotIterator

SlotIterator is also an important class. With it you can determine where pagination starts, which slots are ignored, if slots should be overwritten and where pagination ends. You know? You can even define your own pattern and thus the pagination is completely dynamic and can be adjusted to your wishes.

πŸŽ—οΈ InventoryManager

You will not need the InventoryManager class very often. It is important that it exists in your main class and has been invoked. Because the Manager class is our cache. It stores the inventories that are currently in use. As well as the content, tasks and the player's previous inventories. Without the InventoryManager the whole API would not work.

Due to the constant further development, the InventoryManager does not have to be transferred for every inventory. This is now automatically taken over by the API.

πŸŽ—οΈ IntelligentItem

The class is needed to create intelligent items within the inventory. This includes the ability to assign logic directly to this IntelligentItem. Like for example an InventoryClickEvent. So you don't need the big InventoryClickEvent class, where you get the inventory title or the display name from the ItemStack. Of course there is also the possibility that the IntelligentItem does not implement an InventoryClickEvent but still cannot be taken out of the inventory. But there are moments where you want the player to be able to take certain items out of the inventory, for this there is another implemented method in RyseInventory, where no InventoryClickEvent is triggered at all.

πŸŽ—οΈ IntelligentItemColor

This class is needed to create animations. It will allow you to create with any kind of colors that RyseInventory is compatible with. You want to use Hex Colorcodes? No problem, RGB, Bukkit Color, Bungee Color and Paragraphs are also supported. Sometimes you want to decorate your text, for this you have the following available: Bold, Underline, Italic, Obfuscated & StrikeThrough. Everything your heart desires. Please note! Some of these functions are only available from a certain Minecraft version.

πŸŽ—οΈ IntelligentItemError

Wow! You can add more logic to your IntelligentItem. You can determine when the player is allowed to see or click the item. For example, if player Test has the permission Hello, he can click on the item. If you implement the IntelligentItemError interface, you have 2 methods available. There you can determine what should happen if the player clicks on the item but does not have the permission. The same for seeing the item.

πŸŽ—οΈ InventoryContents

One of the most important classes. With this class you can modify the whole inventory. From updating single items to updating inventory titles, to special methods. Like findLeftBorder to find the borders in the row.

πŸŽ—οΈ IntelligentItemLoreAnimator

You want to animate certain lines in your item? No problem, you can animate every single line with the integrated animator in RyseInventory.

Could look like this: TODO

πŸŽ—οΈ IntelligentItemNameAnimator

You want to animate the name of the item? No problem, you can even decide how the animation is done and the color gradient.

Could look like this: TODO

πŸŽ—οΈ IntelligentMaterialAnimator

You want the item to change while you have the inventory open? Big servers have that, if you want that too, it's easy to do with RyseInventory.

Could look like this: TODO

πŸŽ—οΈ IntelligentTitleAnimator

Updating the title seemed impossible for some. Many say that only works if you open the inventory again and again. I say no! You can do that without having to reopen the inventory. You can decide how the animation looks like as well as the color gradient.

Could look like this: TODO

πŸŽ—οΈ SlideAnimation

Sometimes inventories of servers have such a cool effect that the items come from left to right, right to left or top to bottom. All this is possible with RyseInventory. You can even set the interval as well as the delay. Isn't that cool?

Could look like this: TODO

πŸŽ—οΈ ContentPattern

With the ContentPattern you can set items according to your wishes. This offers you a more dynamic method.

πŸŽ—οΈ SearchPattern

With the SearchPattern you can define a pattern and depending on your pattern it searches for items at the slots. These items are returned as a list.

πŸŽ—οΈ SlotIteratorPattern

With the SearchPattern you can define a pattern and depending on your pattern it searches for items at the slots. These items are returned as a list.

Last updated