Commit Graph

20 Commits

Author SHA1 Message Date
Paldiu
6119180b0b Add VillagerInventory.java
Added the possibility to find a special rabbits foot on a villager when trading with a BUTCHER profession.
2022-04-21 09:54:36 -05:00
Paldiu
fe620952bc Add CooldownTimer
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.
2022-04-17 14:48:05 -05:00
Paldiu
5b1fb352bb Beta 20220417-SNAPSHOT
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.
2022-04-17 14:00:22 -05:00
Paldiu
b424a83062 Beta 20220416-SNAPSHOT
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.
2022-04-16 17:27:54 -05:00
Paldiu
077ed05d74 Remove Compiler Files 2022-04-16 16:25:07 -05:00
Paldiu
8e70e1de73 Beta 20220414-SNAPSHOT
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.
2022-04-14 14:58:14 -05:00
Paldiu
899768819e Beta 20220411-SNAPSHOT
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
2022-04-11 10:29:18 -05:00
Paldiu
ea50032a89 Alpha 1.0 RELEASE - Patch 0003 2022-04-10 19:10:24 -05:00
Paldiu
057450c585 Alpha 1.0 RELEASE 2022-04-10 18:48:09 -05:00
Paldiu
d08b240ff9 RC04 - Patch 0002
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().
2022-04-09 08:38:42 -05:00
Paldiu
cbc57d5971 Alpha 1.0.0 RC04
Switched PlayerHandler access modifiers in favor of Dependency Injection.
2022-04-02 21:16:08 -05:00
Paldiu
247a2fafc0 Bug Fix 0001
**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.
2022-04-02 09:00:40 -05:00
Paldiu
ffdafda69c Changed Project Settings 2022-04-01 07:51:58 -05:00
Paldiu
0383bfeaf3 Alpha 1.0 RC02 PATCH 01
Fixed an issue where initializing a new PlayerConfig would attempt to read a non existent value from the Luck Container list.
2022-03-31 19:42:18 -05:00
Paldiu
93ee1e2c43 Alpha 1.0 RC02
Changelog:
  - Some visibility changes (Developers)
  - Added the Luck command.
  - Added some extra backend shortcuts
2022-03-31 19:30:10 -05:00
Paldiu
73affcf4c4 Alpha 1.0 2022-03-27 19:21:35 -05:00
Paldiu
6d211490c0 more qol 2022-03-24 17:21:12 -05:00
Paldiu
31bbf6622a QOL CHANGES 2022-03-22 14:57:44 -05:00
Paldiu
831913c668 Updates 2022-03-20 13:09:24 -05:00
Paldiu
dcd7f7401c Initial commit 2022-03-17 16:16:52 -05:00