aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
AgeCommit message (Collapse)Author
2025-07-03Add Spotless and Checkstyle (#1189)Kevin
* Add spotless * Configure spotless * Add checkstyle * Allow some stuff * Turn off tab enforcement * Get rid of some more rules * Remove indent rules * Don't sort lang files * Remove wrapping rules * Apply spotless * Apply spotless again * Fix checkstyle violations * Update checkstyle DTD * Add Javadoc and Mixin checks
2025-06-27Calculator improvements (#1368)Owen
* Display calc errors to player * Add exponentiation * Catch a couple errors, could be worth adding another method to verify the tokens before they're evaluated? * Make errors translatable, fix colon
2025-06-26Add attribute list for bazaar price supportAaron
The code for generating the list has been left in so that it can easily be regenerated if necessary.
2025-06-22Remove item attribute codeAaron
2025-06-14One flow waterboard solver (#1283)SpaceMonkeyy86
* Port Desco19's waterboard solver to Skyblocker * Many waterboard tweaks * Update watertimes.json to newer version and fix leftover water check * Visualize water paths on board * General improvements * Preview lever effects * Fix preview hitboxes being too small in rooms with an entrance from below * Refactor into multiple files and add config options * Benchmark all solutions and improve two of them * Show indicator line from next lever to the lever after that * Optimize many of the slower solutions * Add marks support for easier solution iteration * Tweak comments * Clean up one flow waterboard solver * Add suggested comments * Add lever type argument type and debug command * Verify json file * Make commands debug only and make feedback translatable * Update VerifyJsonTest * Make color codes less scuffed --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-06-07Bar changes (#1307)viciscat
* multiple mana display modes * turn StatusBarTracker static * move intelligence display below button
2025-06-06Verify json files (#1310)Kevin
2025-06-01Epic Armor Customization GUI (#1215)viciscat
* start creating the screen * trim selection * colo(u)ring and button in inventory * translation and little touches * translation and little touches * things i forgot * remove debug stuff oops * replace speed by duration * 1.12.5 - Remake the trim buttons because mojang hates me - Undo the OkLabColor cache * some docs and things * requested changes * fix crash in tests * changes! * clean up * Test animated dye interpolation * Add DFU for animated dye and item background * Add slider steps * Add config data fixer test * Draw trim material item * remove old stuff * Clean up interpolate and gui code * supplier * 180 * grrrrr --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-05-07Remove Legacy Ordered Waypoints (#1242)Kevin
* Add OrderedWaypointsTest * Migrate legacy ordered waypoints parsing * Migrate import to new codecs * Migrate loading to new codecs
2025-04-251.21.5 (#1256)Aaron
* 1.21.5 * Test fixes and clean up * Update test screenshot * Record patterns * Performance optimization * Reset ordered waypoint index on world change (and stop serializing it) * Waypoints clean up and fixes (#1257) * Small waypoints clean up * Fix waypoints test codec field order * Safe config updates Rather than updating the values directly and then calling save, the mod will now handle this behaviour itself to ensure update consistency/visibility with the upcoming thread split. Most usages of the old method were converted but there are some left. --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-03-18fix bugged patters (#1216)olim88
Write test for rotations. Work out it is wrong. fix this. now should work well (I should write test more often)
2025-03-07Add support for Abbreviations in health values (#1199)olim88
* Add support for Abbreviations in health values * Fix pattern for K * fix not removing from name due to case change * move try catch into health bars * Clean up parsing --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-03-07Fix empty validLocations set failing to be decoded (#1197)Rime
* Fix empty `validLocations` set failing to be decoded * Remove unnecessary override * Add encode tests --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-03-03Migrate to formatters (#1185)Kevin
2025-03-03Fossil Solver (#1156)olim88
* nearly working nearly working state however lots of the code will need refactoring once i understand what it needs to do * fix broken code still needs refactor but works now * code should work now needs a refactor next and a few small feature * add usefull infomation to tooltips * big refactor * add config option * fix bugs * improve test and tweak fossil types * add more tooltip infomation * add translations for tooltips * fix rebase * clean up code hopefully good code now. ready to finally make a pr * Fix config location * Fix static usage * Clean up names --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-03-03Garden Tweaks & Features (#1118)upfault.lol
* Sum visitors with alike crops, fix Farming XP/h regex, and improve precision for XP/h and Blocks/s * Added Show Stacks in Visitor Helper * Re-added the drawItemEntry into drawScreen * VacuumSolver, VisitorHelper, PestHighlighter * Forgot to fix highlight flicker in VacuumSolver * removed imports from MBB * Updated Regex & MayorUtils catch block * Forgot to add the visitor head and name coloring back into the render method during some tests * Refactor visitor package name * Clean up visitor helper and garden * Clean up visitor helper some more * Fix visitor requirements * Fix block breaks * Use primitive types and fixes * Missed a primitive * Remove vacuum solver * Fix amount parsing --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-03-03Health bars (#1028)olim88
* basic features working prototype for the feature * add config and main features * add option to show on mobs with only a health value also adds tooltips for options * clean up code and add more comments * increase default size * improve removing health code and incorrectly spell amour * show when the nametag is shown let it be rendered though walls if the nametag is being rendered * add suggested changes add fading between colours and fix problems * Disable depth test and cleanup * Migrate to oklab interpolation * Fix health bar alpha * Default off --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-02-28Chat rule location config overhaul (#1138)Rime
* Chat rule location config overhaul * Fix incorrect logic in ItemTickList * Boolean → boolean * Update location name * Remove locations list * Revamp widgets in `ChatRuleConfigScreen` * Complete codec to decode both string and enumset * Take negated locations into account * Fix exclusion parsing and add tests * Clean up codec with Codec::either * Dynamic width calculation Also moves `Ignore Case` button to the next row, with the location config button. * Remove stale javadoc * Small code cleanup * Remove `UNKNOWN` and `MODERN_FORAGING_ISLAND` from the location selector * Future-proofing * Consider valid locations set of only `Location.UNKNOWN` as empty --------- Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
2025-02-24Fix #1188 sign calculator floating point errorsKevinthegreat
2025-02-15Formatters (#1151)Aaron
* Formatters * java yap --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-02-01Update Combofilter (#1148)Internet Yamero
* Update ComboFilter.java * Update ComboFilterTest.java
2025-01-26add enchantment abbreviations as slot text (#1056)Moritz
* add enchantment abbreviations as slot text * Refactor and clean up * Move verification to unit test * Refactor, now this is clean code --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-01-10Random fixes (#1120)Kevin
* Refactor bazaar and roman numerals * Revert name from api * Fix neu id * Fix roman numerals * Apply suggestions from code review * Fix level type * Fix import --------- Co-authored-by: Rime <81419447+Emirlol@users.noreply.github.com>
2024-12-28Accept integer names (#1110)Kevin
2024-12-12clean up, dungeons config and other little thingsviciscat
2024-12-08Optimize rendering boxesKevinthegreat
2024-12-06Waypoints refactor (#976)Kevin
* Add ordered waypoints gui * Use InstancedUtils * Add fromColeweightJson * Add soopy waypoints importing * Refactor category to group * Add skyblocker format * Fix UI * Deprecate OrderedWaypoints and migrate to Waypoints * Start indices at 1 * Remove unused translations * Add Javadocs * Update waypoint text size * Refactor mining waypoints * Migrate from String to Location * Fix export translation key * Refactor individual waypoint * Remove unused translation strings * Update GoldorWaypointsManager * Migrate waypoints to both dwarven and crystal hollows * Refactor Waypoints api * Add Javadocs
2024-10-21Repackages and RefactorsAaron
2024-10-211.21.2-pre3Aaron
2024-09-22Update pet id testKevin
2024-09-21Update pet tier parsingKevinthegreat
2024-08-18Proper Item DFU for PV (#913)Aaron
* Proper Item DFU for PV This is the result of wayy too much functional programming with DFU (or not enough!) * Fix Enchantment Glint Bug + 1.0.0 of Legacy Item DFU * Make position optional :3
2024-08-18Merge pull request #877 from AzureAaron/update-notificationAaron
Update Notifications
2024-08-08Update regex for position additionAaron
2024-07-29Update NotificationsAaron
2024-07-28Add more testsKevinthegreat
2024-07-27Clean up id mess and begin to add testsKevinthegreat
2024-07-24Fix test and daily mojankKevinthegreat
2024-07-15Simplify test case to not need long commentRime
2024-07-15Fix regex and add tests for the regexRime
2024-07-15fix testsolim
tests can not point to 0 as that now returns null because that is the same as parallel. but as 0 is not in ch it should not actually be a problem
2024-07-15fix broken testsolim
fix testing for translated string
2024-07-15add wishing compass solverolim
2024-07-07Fallback to current island when importing waypoints with invalid islandsKevinthegreat
2024-07-07Fix waypoints Skytils v1 importingKevinthegreat
2024-06-18Fix dynamic registry usage and related testsKevinthegreat
2024-06-181.21Aaron
2024-06-13Merge pull request #713 from kevinthegreat1/waypointAaron
Waypoints
2024-06-08Add tests for RomanNumerals and clarify their uses in javadocsRime
2024-06-08Rename ObtainedTooltip to ObtainedDateTooltipRime