aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorFluboxer <36457056+Fluboxer@users.noreply.github.com>2025-01-05 05:05:09 +0300
committerGitHub <noreply@github.com>2025-01-05 10:05:09 +0800
commit6d8592cd9663e97c8bbc7f987df3506e535f88d0 (patch)
treefa5861b159b0e6c927ac889376e95b70e0c731a3 /src/test/java
parent180408fabb236c1ee8a26206921695d97984ad98 (diff)
downloadSkyblocker-6d8592cd9663e97c8bbc7f987df3506e535f88d0.tar.gz
Skyblocker-6d8592cd9663e97c8bbc7f987df3506e535f88d0.tar.bz2
Skyblocker-6d8592cd9663e97c8bbc7f987df3506e535f88d0.zip
Corpse Finder (#960)
* early one. Needs polishing and config * 2nd wave of changes * a little refactor to parsing. New version is yet to be tested * another little patch to solve some silly issues * Fixed bug when some of corpses weren't highlighted. Also rebased * a little refactor to parsing. New version is yet to be tested * dementia * moved few code blocks around * Remove unused constructor * Simplify and reformat getColor method * Fix typo in log messager * Change the way the argument values are obtained and fix formatting * Extract coords pattern into a PSF variable * More formatting * Oops forgot to remove + fix typo * Clear corpses on world change * Rebased for 1.21.3 * Tweak chat message slightly * Inline LOCATION variable as it was hard to read * Bunch of stuff - Changed sent position format to match what we're reading - Extracted item id strings to PSF variables and then made a bimap between them and the corpse type that uses them. - Changed debug message to be printed in chat rather than logs to be more easily seen - Simplified and/or reformatted a bunch of code - Changed log level of some messages to `debug` * Add a debug config for corpse finder and have it toggled off by default * Fix regex and change sent message format This should allow skyhanni users to be able to parse the messages sent by skyblocker users since their regex starts matching from the start of the message content (so after any prefixes, player names) The regex change was also because of this. We use .find so the regex doesn't have to match the whole message body. * Refactor some if checks * Add auto location sharing, off by default * Corrected format and ignore player's own messages * Oops one too many inversed * Change CorpseTypeArgumentType to use StringIdentifiable and format Waypoint constructors * Migrate to CorpseType enum * Update getting enum * Wrap int parsing in try catch for possibly malformed inputs * Don't allow negative y values * Add a locale to toUpperCase * Fix rebase artifacts * Add seen waypoint todo --------- Co-authored-by: Rime <81419447+Emirlol@users.noreply.github.com> Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
Diffstat (limited to 'src/test/java')
0 files changed, 0 insertions, 0 deletions