mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Updated Register Enchantments (markdown)
parent
b08dc4dc54
commit
8a912f492d
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ Then you should preferably create a class extending `CAEnchantmentBase` and impl
|
|||
* `removeFrom`: To remove the enchantment from the specified item.
|
||||
|
||||
You can add optional features by implementing other function:
|
||||
* `isCleanOptimised` and `isCleanOptimised`: Indicate if a bulk operation exists for this enchantment. (wiki in WIP)
|
||||
* `isCleanOptimised` and `isCleanOptimised`: Indicate if a [bulk operation](https://github.com/alexcrea/CustomAnvil/wiki/Register-Bulk-Operations) exists for this enchantment.
|
||||
* `isAllowed`: Allow the enchantment to be combined by only certain players. Useful for example if you like to allow only player with a specific permission.
|
||||
|
||||
You also need 3 objects for the constructor:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue