RedLib icon

RedLib -----

A powerful, well-documented, and open-source library to make Spigot plugin development easier



Major overhaul to custom enchantments, other minor changes
- ArgType#map will now properly pass on tab completions
- CustomItem#item is now CustomItem#getDefaultItem, and CustomItem#getItem can be overridden
- CustomEnchants are no longer a parameterized type
- CustomEnchants no longer pass an EnchantTrigger in the constructor
- Added CustomEnchant#addTrigger for registering EnchantTriggers for a CustomEnchant
- CustomEnchants can now have multiple EnchantTriggers using this method
- EnchantTrigger is now an abstract class instead of an interface
- EnchantTrigger#register is now a no-arg void function
- Added EnchantTrigger#addListener to add listeners which get items related to events
- Removed NONE EnchantTrigger since it is no longer useful
- Multiple CustomEnchants using the same EnchantTrigger within the same plugin will no longer register multiple listeners
- This will break everything that currently uses the custom enchantments API, but should be fairly simple to port over
- Wiki will be updated soon
----------, Dec 23, 2020
Resource Information
Author:
----------
Total Downloads: 11,210
First Release: May 12, 2020
Last Update: Sep 25, 2022
Category: ---------------
All-Time Rating:
21 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings