THIS RELEASE MAYBE WILL CAUSE SOME ISSUES, BECAUSE HAVE NEW LUCKYITEM METHODS.
TESTED ONLY ON paper-1.16.5 (But it must work at all version, because i have added some new features, but most of 2.1.0 update oriented to new luckydrop system)
For users (Changes):
- Fixed item meta. Now item will take name, enchantments from each luckyblock config. I dont know why no one reported this issue ._.
- Changed pigs spawn logic. Now they will be spawned at player location, not at luckyblock location
- Changed Hooks logic. Now i am ready to add support for WorldEdit and WorldGuard (Schematics, WG flads, e.t.c, next updates will contains it)
- Added new chart to Metrics (Enabled LuckyBlocks (count)), check it here
For developers (API changes):
- Remapped LuckyItemType and Special enums. New path:
- me.DenBeKKer.ntdLuckyBlock.variables.LuckyDrop.LuckyItemType
- me.DenBeKKer.ntdLuckyBlock.variables.LuckyDrop.Special
- Marked LuckyItem class as deprecated and disabled all methods from it. Now you must use one of subclasses for LuckyDrop (Interface)
- Also you cant use LuckyBlockAPI.loadItem(String), it will cause exception. Use LuckyBlockAPI.loadDrop(String) that will return subclass of LuckyDrop interface