Added the Cooldown Timer for when a user uses a Rabbit's Foot. This restricts a user from using rabbit's feet consecutively by forcing a 30 second cooldown between uses.
Changelog:
- Reorganized the listener registration method to register the listeners in alphabetical order
- Added the IllOmen effect, which will apply a -25% debuff to a user's luck stat when they have the Bad Omen status effect.
- Added the ability for Guardian lasers to inflict negative damage to a users luck stat.
- Added a cache to the Luck class to store user values in the event that they have the Ill Omen debuff applied.
Changelog:
- Changed the way classes interact with the PlayerHandler by using a getter instead of the actual field.
- Added #isTool(Material) to ItemBuilder to check if an item is, in fact, a type of tool.
- Created the UnbreakableTool listener which will grant the unbreakable status to a tool if a user is lucky enough.
NOTE: This is a beta feature, and while it may remain included the way it works will most likely change.
Changelog:
- Added the ability to fully mature crops when using bone meal
- Added the ability to cheat death (Grants 1 half heart and between 2.5 and 5 points of absorption)
- Added #info, #warn, and #err to MiniComponent, and utilized these across the board.
- Switched the #color method to use org.bukkit.ChatColor instead of TextColor for accessibility.
- Moved loading configurations and listener registration to separate methods.
Changelog:
- Added ExpBoost feature
- Added Special Rabbit Foot, which increases a user's luck multiplier.
- Added ItemBuilder and MiniComponent library classes
- Removed Messages#builder in favor of MiniComponent
Changelog:
- Renamed LuckContainer#baseValue() to getValue()
- Changed the way files save by using the Map#values() call instead of iterating the kvp's.
- Made the actual percentage rng value round to the closest whole number before being checked.
- Changed Luck#defaultValue() to getDefaultValue().
**Changelog**:
- Fixed a bug where the PlayerListener was not being initialized
- Included the registration for the listener inside the constructor
- Dropped static import in favor of class parent access
- Added to the Luck method "setValue(double)" to automatically update the configuration file when called.
- Adjusted Luck to utilize all 1024 units when calculating the boolean for rng percentage.