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 21e410d42e
commit c3791a5225
3 changed files with 178 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