aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-01-25Fix dungeon score not working when fancy tab hud is disabled (#1145)Rime
2025-01-22Smooth AOTE (#963)olim88
* init commit basics working just needs lots of polish * add setting and base teleport time on ping now constantly monitors ping and makes the teleport try to last as long as last ping packet recived * add settings for each wepon type and work with each of them * add raycast add raycast so predicted camera can not go though walls. could use improvement this is not how it is done exactly on hypixels side * cheak the players mana before assuming they can teleport * remove un needed setting and update settings * add java docs and 3rd person check * clean * fix 3rd person check * apply suggested changes * do not allow when invalid location * fix etherwarp logic using wrong tp * add tooltips to options * fix : click too fast cause the animation break adds counter for how many teleports ahead the player is to the server so receiving a teleport for an old use will not reset the camera * fix mixin * add more disabled locations and fix for not coded disabled locations adds other suggested locations to disable but also a timer for if the go to long without the server teleporting them assuming that its disabled and not working until they are teleported again * improve raycast to be more like hypxiels still not the same but closer * add separate cameraStartPos to try and smooth combined animations * fix extra code * fix not working when clicking dirt with shovel * more clean * fix the init * fix multiple teleports when looking at a block there is still debug stuff in this commit * hopefully improve raycast and add allowed blocks still debug stuff in * do bad client side mana calculation still debug * only don't check head pos on first block still debug * improve head height test still debug * add close floor check still debug * add can teleport though fire still debug * add checking for diagonals still in debug * add new is floor check for the close floor check still debug * update allowed blocks and improve diagonal collision still debug * diagonals only work if its floor block still debug * java docs * remove debug * can teleport though pots * Update SmoothAOTE.java * Apply suggestions from code review * apply suggested changes * add check to see if smoothing is enabled * fix rebase * make the setting off by default * fix some glitchyness with changing ping by not updating the teleport duration while teleporting. this was causing the camera to jump if your ping changed mid teleport * add option to smooth teleport more give the user the option to let the annimation lag behind the game so it does not jump to the end * Clean up ClientPlayNetworkHandlerMixin * Fix camera flashing when animation finishes before server teleports player --------- Co-authored-by: viciscat <51047087+viciscat@users.noreply.github.com> Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
2025-01-11Fix profiled data null problemsKevinthegreat
2025-01-11Add missing requiresAaron
2025-01-10Tab hud additions (#1128)Kevin
* Add vanilla tab by default option * Rename PlayerListManager * Clean up builder map * Add dwarven hud config button * Add hud styles * Fancy only * Render vanilla * Update javadocs and refactor * Refactor progress component * Apply style to all progress components * Add colon processing * Change styles * Add style Javadocs * Implement minimal style * Comments
2025-01-10Garden plot fixes (#1126)viciscat
2025-01-10Carnival Helpers (#1124)Aaron
* Carnival Helpers * changes
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>
2025-01-07Fix config not loading properly (#1129)Rime
* Modmenu 13.0.0 * Fix config being unable to load
2025-01-05Dynamic ProgressComponent text color (#1123)Jeff Retz
* progress text color * applied requested changes * only apply tint if the bar is taking the whole text space * applied suggested changes
2025-01-05ItemList Changes (#1119)Wanja
* ItemList changes This update introduces a bunch of changes to the ItemList feature, to hopefully enhance user experience. Most importantly, you can now filter out specific elements in the list to narrow down the results. The lore-search now works properly, and you're now able to use the wiki lookup key in the recipe book. Besides all that, shift-clicking on the recipe result button will suggest the recipe to the player using the `viewrecipe` command, to allow quick super-craft access. * Add missing GUI filter icons * Update FilterOption.java Properly use parentheses in the `(animal)` and `(pest)` flagged entries. * Refactor recipe view command to use MessageScheduler. Replaces direct chat command handling with MessageScheduler. * Refactor filtering logic and remove Identifiable interface. Replaced the Identifiable interface with a Supplier-based design for enum, updated related classes to use Supplier methods and refactored filtering logic for consistency. Additionally, added a new tip for viewing recipes in the recipe book, and changed the Shift+Click requirement to a simple right click. * Clean up the code
2025-01-05Profiled data api (#1102)Kevin
* Add ProfiledData * Refactor end stats * Use UUID * Refactor MuseumItemCache * null safety + item cooldown bug fix * Migrate SlayerTimer and fix compressed * Fix accessories crash * Migrate PowderMiningTracker * Create directories * Add async options * Migrate async saves
2025-01-05Per Slot Text Toggle (#1043)viciscat
* per slot text toggle * add constructor to SimpleSlotTextAdder * Refactor slot text options * Refactor slot text config option * Cleanup --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2025-01-05Corpse Finder (#960)Fluboxer
* 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>
2025-01-03Add feature to close sign screens with the enter key (#1122)Owen
2025-01-03Remove unused code and change translation (#1117)Aaron
The keybind for "Screen B" was not used anywhere and the translation string was confusing with the new system
2025-01-03Cancel Component Update Animation (#1116)Aaron
2025-01-01Add powder mining tracker (#1065)Rime
* Add chat events * Add powder mining tracker * Add ON_PRICE_UPDATE event and re-calculate profit after prices are updated * Initial config * Add config screens for filtering the shown items * Fix Done button width being only 1 col wide when it's supposed to be 2 * Change to regex because index magic wasn't magic-ing Regex my beloved * Read and write from file and fix incorrect param used in recalculateAll Also a small fix for the regex * Change literal text to translatable * Extract `ON_PRICE_UPDATE` event to a separate class under the `events` package * Simplify switch to use pattern matching * Extract render and chat message lambdas to methods * Add PROFILE_INIT event * Add support for multiple profiles * Re-add ItemPrice#init with additional documentation * Prevent rendering profit if there are no rewards * Format item amounts when rendering * Add more documentation
2024-12-31Fix ordered waypointsKevinthegreat
2024-12-31Fix depth testingAaron
2024-12-31Fix text rendering through wallsAaron
Don't trust the render layer...
2024-12-30Fix pet icon and command history (#1114)Aaron
* Don't add commands sent by the mod to the command history * Fix pet icon showing as a bone for skinned pets * Hide automatic commands --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-30Class-based player glow (#1113)Aaron
* Class-based player glow * Change default + add doc to the new event
2024-12-30Add Speed Presets for configurable speed settings (#1111)Wanja
* Add Speed Presets for configurable speed settings Introduced a Speed Presets system with customizable presets for the rancher boots. Added a GUI to manage presets and integrated support for the `setmaxspeed` command, and the sign-editor to use these presets. Besides all of that, refactored item protection rendering logic to show it everywhere, where applicable, and render it in front of the item, as well as updated the texture being used. * Reverted the proposed changes to the protected item texture I apologize for the changes, since I didn't know that the texture was applied elsewhere. This commit reverts all the changes to the size of the texture and the way it is rendered, to hopefully prevent any issues. * Apply suggestions from code review Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com> * Refactor modification checks for SpeedPreset entries. Removed the `hasBeenModified` flag, and replaced it with direct comparisons of initial and current values. * Clean up pointless changes * Refactor SpeedPresets to use Object2IntMap. Replaced LinkedHashMap with Object2IntMap for efficiency and consistency in managing speed presets. Adjusted related methods and logic to accommodate the new data structure. Updated SpeedPresetListWidget to handle changes and comparisons using the revised map implementation. * Refactor SpeedPresets --------- Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-30Title hud refactor (#951)Kevin
* Refactor TitleContainer and fix bugs * Sync with hud refactor * Update translatable key checks * TABS * Remove extra renderBackground * Add EnumUtils * Migrate to EnumUtils
2024-12-28Accept integer names (#1110)Kevin
2024-12-28Bits Helper (#939)Fluboxer
* just saving those before I do something silly * made adding to tooltip work * at this point it is usable * admins why * ABICASE_MODEL * now it should highlight two groups (all and quick sell) not finished yet * refactor * a bit of renaming * removed extra line. That's it * a little bit of refactor. NOT FINISHED * okay it finally works * requested changes. Currently in testing to see if anything broke * rebased + few little changes * Update src/main/java/de/hysky/skyblocker/skyblock/item/tooltip/adders/BitsHelper.java Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com> * :clown: * Fix TooltipInfoType * Reformat BitsHelper * Clean up fields * More cleanup * Cleanup * Try to clean up fields and local variables --------- Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-25Slayer Widget preview for Tab HUD (#1105)Hazem
2024-12-25tab hud related fixes (#1104)viciscat
2024-12-25Fix the powder widget to also display the diff (#1103)Rime
2024-12-25Mob glow refactor (#1101)Kevin
* Add mob glow cache * Clean up mixins * Clear cache once a tick + Javadocs
2024-12-23Fix Simon Says Solver (#1100)Aaron
2024-12-23Add unbreakable carpet highlighter (#1034)Rime
* Add mithril carpet highlighter * Make mithril carpet highlighter configurable * Halve the required getBlockState calls * Add light blue carpet as a possible carpet block * Add tungsten carpets and rename carpet highlighter Because apparently it's not limited to mithril * AVLTreeSet instead of ArraySet * Use scheduleCyclic instead of END_CLIENT_TICK event * Check if the feature is enabled before ticking * Fix rebase artifacts * Remove unused variable
2024-12-23forgot the garden plots texture lol (#1097)viciscat
* Add Garden Plots Widget * small fix * make for loop more boring * exclusion zones * rebase oopsie daisy and JEI exclusion zone * ctrl+shift+up arrow * Fix init merge conflicts * merge and port * 1.21.4 * forgot the texture lmao --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-23Change election over text (#1099)Aaron
The lowercase 'o' of over didn't feel right and capitalizing it just wasn't enough either.
2024-12-23Fix ender nodes detection (#1095)Kevin
2024-12-23Add player list widget (#1086)Kevin
2024-12-23Slayer System rework (#1040)Hazem
* Added Slayer HUD Added Boss slain time Added Personal Best slain time Added Boss and MiniBoss spawn alert Added Mute Enderman sounds Added Lazer phase Timer * Narrowen the startRiding method injection because it was failing * Change instanceof checks to type equality check for better intellisense * Fix TITLE related crash * Fix filled outline glow * pattern changes * Translation keys sorting * mixins * more mixins changes * .. * more translatable text mixins changes shows now previous personalBest and more * compatible with Slayer XP Buff (Aatrox perk) * fixed title spam * imporved logic * Fixed BossBar bug * Fixed Vampire slayer entity not being highlighted * HUD improvements Fixed BossBar not working with rev t5 * .. * ... * resolved conflicts Fixed crash when player starts slayer quest in private island * Refactor slayer code * Fix internationalization * Refactor slayer glow * Rewrite slayer detection * Clean up * fixed some crashes so i could test it * fixed mob detection * refactor * fixed sound checks * LazerTimer rewrite * .. * more improvements * Refactor guard clauses * Refactor SlayerManager * Clean up ClientPlayNetworkHandlerMixin * Update slayer hud * Make it actually compile... * some changes * locations * fixed locations * changes * removed extended class * Inject after forceMainThread * .. * small change * bug fixes * null check * Fix slayer hud config screen * tabs * Fix slayer hud enabled * Don't render everywhere --------- Co-authored-by: Rime <81419447+Emirlol@users.noreply.github.com> Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-23Add Garden Plots Widget (#929)viciscat
* Add Garden Plots Widget * small fix * make for loop more boring * exclusion zones * rebase oopsie daisy and JEI exclusion zone * ctrl+shift+up arrow * Fix init merge conflicts * merge and port * 1.21.4 --------- Co-authored-by: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-22Fix Glowing (#1093)Aaron
2024-12-22Fix reparty command (#1092)Aaron
- Remove shortcut that directed people to a command that didn't exist - Add /reparty as an alias to /rp
2024-12-22Fix undyed leather armour turning black (#1091)Aaron
2024-12-22Consumable Protection (#1090)Aaron
2024-12-22Chat Confirmation Prompt Helper (#1063)Aaron
* Chat Confirmation Prompt Helper * Fix NPE * Fix it not working when chat is opened prior to the msg being sent
2024-12-21fix locraw (#1089)Hazem
2024-12-21Clamp between 0 and 1 (#1088)Wanja
* Clamp between 0 and 1 Updated the GameRenderMixin#getNightVisionStrength method to properly clamp the return value between 0 and 1, instead of 0 and 100. Added an additional check to reduce objectively pointless computation. * Use floats instead of doubles
2024-12-21Add more detailed error messages (#1087)Kevin
* Add more detailed error messages * Revert player name
2024-12-21Add customizable night vision strength feature (#1078)Wanja
* Add customizable night vision strength feature Introduced a `nightVision` subcommand to adjust night vision strength with options for `full` (= 100), `off` (= 0), and any other value between 0 and 100. Integrated the setting into the configuration menu and game rendering, with default strength set to 100. Updated localization to include feedback for strength changes. * Update GameRendererMixin.java Clamped the applied value to ensure it's not overflowing. Although you can't put an invalid value in-game, it's still possible to do so directly via the config file. * Update en_us.json Added the missing translation for the night vision strength option. * Add description tooltip for night vision strength option A tooltip was added to the "Night Vision Strength" option to improve user understanding of its functionality. Unused import(s) were also removed, following the requested changes. * Use clamp * Apply suggestions from code review --------- Co-authored-by: Manchick0 <endercreep109@gmail.com> Co-authored-by: Kevin <92656833+kevinthegreat1@users.noreply.github.com>
2024-12-21Fix rendering of empty slots in REI recipes (#1076)darkkeks
2024-12-21Hide latency icons in the tab (#1081)Aaron