mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-03 08:03:26 +01:00
Update HOW_TO_USE_API.md
This commit is contained in:
parent
19c2c727bf
commit
d17ae474be
@ -4,6 +4,7 @@ If you want to use ChestSort's advanced sorting features for your own plugin, or
|
||||
- the methods `sortInventory(Inventory inv)` and `sortInventory(Inventory inv, int startSlot, int endSlot)`to sort any given inventory, following the rules you have specified in your ChestSort's plugin.yml and the corresponding category files
|
||||
- a cancellable event called `ChestSortEvent` that is fired whenever ChestSort is about to sort an inventory
|
||||
- a custom InventoryHolder called `Sortable` that you can use when creating inventories to tell ChestSort that this inventory should be sortable
|
||||
and more.
|
||||
|
||||
## Maven repository
|
||||
You can use maven to add ChestSort as a dependency to your Spigot-/Bukkit-Plugin:
|
||||
@ -138,4 +139,4 @@ Here is a complete example plugin that shows to add and use the ChestSort API: [
|
||||
|
||||
## Javadocs & Source code
|
||||
- [ChestSortAPI Javadocs](https://repo.jeff-media.de/javadocs/ChestSortAPI).
|
||||
- [ChestSortAPI source code](https://github.com/JEFF-Media-GbR/Spigot-ChestSortAPI).
|
||||
- [ChestSortAPI source code](https://github.com/JEFF-Media-GbR/Spigot-ChestSortAPI).
|
||||
|
Loading…
Reference in New Issue
Block a user