Update HOW_TO_USE_API.md

This commit is contained in:
mfnalex 2021-02-20 17:43:34 +01:00 committed by GitHub
parent d17ae474be
commit c2675512c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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