- Added verbose entry to the Player configuration files. Player configuration files will need to be regenerated. Please make sure to make backups of all configurations before regenerating configuration files.
- Fixed a bug with the hide feature; now, any entity within a 25 block radius will automatically lose target of the player when their luck activates while sneaking.
- Removed the vein-mining feature as it is unstable and non-functional. A fix and/or replacement will be implemented in a future update.
- Updated supported version to 1.20.3
- Adjusted Logging methods.
Adjusted the Luck class to reflect:
- SplittableRandom has been replaced with SecureRandom in favor of entropy-based pseudorandom calculations compared to pseudorandom calculations based off the system time.
- Adjusted the quickRNG to factor in whether the user has the luck potion effect, and to just apply the multiplier regardless of whether it is the default value.
- Also adjusted the values, as the original value still remained at 1024, whereas the randomized number criteria was a percentage of 100. Both the input value and the randomized number criteria now are percentages of 100, based off a total of 1024 possible points.
Added some more features, this will be now the full official release; this commit is release candidate 1.
Changelog:
- Added HideCheck, which will break the tracking of any mobs targeting the player.
- Added JumpBoost, which adds a little extra height to your jumps.
- Modified OreVein as it previously scanned for all ore types rather than the relative mined ore type.
Changelog:
- Added RandomEffect, which gives a user a random positive potion effect on respawn or teleport.
- Implemented a class loading system with reflections to dynamically load all listeners.
- Adjusted rarity values in the config.yml
- Added a positiveEffects list to ListBox for RandomEffect event
- Adjusted the behavior of the BlockDrops event.
Changelog:
- Fixed an issue where the integrity checker for the main config would delete the entire data folder if the config was corrupted.
- Fixed an issue where the Rarity check was not working as intended; it would either return false if any Rarity other than NONE was set, and throw a new IllegalArgumentException if the switch clause exited with no return value.
- Fixed an issue where the command /luck reload -m did absolutely nothing.
- Fixed an issue where the proper command arguments were not being Tab Completed.
Changelog:
- Added a configuration with editable rarity values and rarity types for the different events that can occur, to give the end user more control over how often players receive the effects.
- Modified listeners to use the respective Configuration values.
- Added the ability to reload a specific player configuration with /luck reload -p <player_name>
- Added the ability to reload the main configuration using /luck reload -m
- Added an integrity checker to validate the main configuration on boot.
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.