Commit Graph

10 Commits

Author SHA1 Message Date
7e5525bd00 Updates Spigot, and fixes depreciated code
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2024-05-04 02:46:46 +02:00
4012e532da Finishes the scrapper implementation
Some checks failed
EpicKnarvik97/Blacksmith/pipeline/head There was a failure building this commit
2024-05-04 01:01:56 +02:00
f3f3f66c38 Writes a lot of code necessary for the scrapper
Adds the classes necessary for the new scrapper
Partly implements some scrapper functionality
Restructures some classes to reduce code duplication
Moves some classes to make some classes easier to find
Adds a bunch of TODOs where things have an unfinished implementation
2023-11-14 16:04:48 +01:00
faff982585 Fixes a collision between the test enchantments
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-28 09:20:27 +01:00
c84c2cf30e Adds tests for TypeValidationHelper
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-28 09:13:02 +01:00
a79f2e273a Adds missing tests for ItemHelper
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-17 05:28:46 +01:00
347b69b2a8 Removes disableMaterialLimitation
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
Removes the disableMaterialLimitation option
Replaces EnchantmentTarget.BREAKABLE.includes(item) with getMaxDurability(item) > 0 as it seems more generic
2023-01-16 19:45:41 +01:00
e5cb3b4a30 A lot of tests, and some improvements
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
Adds a lot more tests for some utility classes
Adds a new option to disable the hard-coded limitation "EnchantmentTarget.BREAKABLE" which can be useful for servers with custom items or similar.
Makes enchantment name matching case-insensitive.
Prevents an exception is enchantment name contains invalid characters.
Makes invalid objects supplied to asStringList return null instead of throwing an exception.
Uses isBlank instead of trim.isEmpty in the isEmpty method
Re-uses the random generator if calculating salvage several times
2023-01-16 17:42:54 +01:00
bbb93bb0eb Fixes a bug in multi-item salvage
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-14 17:46:29 +01:00
7cc2aef9d4 Adds some tests for the salvage helper
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-14 15:10:40 +01:00