Ability to apply mending to XP API

This allows plugins that give players the ability to apply the experience
points to the Item Mending formula, which will repair an item instead
of giving the player experience points.

Both an API To standalone mend, and apply mending logic to .giveExp has been added.
This commit is contained in:
Aikar 2017-12-20 17:50:26 -05:00
parent d82250d611
commit fc194dfaae
No known key found for this signature in database
GPG key ID: 401ADFC9891FAAFE
3 changed files with 182 additions and 0 deletions

View file

@ -62,6 +62,8 @@ import DataConverterMaterialId
import DataInspectorBlockEntity
import DataPalette
import DefinedStructure
import EnchantmentManager
import Enchantments
import EntityLlama
import EntitySquid
import EntityTypes