aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorWanja <105125277+Manchick0@users.noreply.github.com>2025-01-05 03:06:40 +0100
committerGitHub <noreply@github.com>2025-01-05 10:06:40 +0800
commit8575fb83989ce783bf1faf4ca14908c4135560d0 (patch)
tree90c0ca106255c764bb0b18f773d963bb898ef941 /src/main/resources
parente4ea0c5fffa16868d638c2d6cc23f610669bd5fb (diff)
downloadSkyblocker-8575fb83989ce783bf1faf4ca14908c4135560d0.tar.gz
Skyblocker-8575fb83989ce783bf1faf4ca14908c4135560d0.tar.bz2
Skyblocker-8575fb83989ce783bf1faf4ca14908c4135560d0.zip
ItemList Changes (#1119)
* 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
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/assets/skyblocker/lang/en_us.json7
-rw-r--r--src/main/resources/assets/skyblocker/textures/gui/filter/all.pngbin0 -> 198 bytes
-rw-r--r--src/main/resources/assets/skyblocker/textures/gui/filter/entities.pngbin0 -> 340 bytes
-rw-r--r--src/main/resources/assets/skyblocker/textures/gui/filter/items.pngbin0 -> 301 bytes
-rw-r--r--src/main/resources/assets/skyblocker/textures/gui/filter/mayors.pngbin0 -> 314 bytes
-rw-r--r--src/main/resources/assets/skyblocker/textures/gui/filter/npcs.pngbin0 -> 309 bytes
6 files changed, 7 insertions, 0 deletions
diff --git a/src/main/resources/assets/skyblocker/lang/en_us.json b/src/main/resources/assets/skyblocker/lang/en_us.json
index c6cb4d0b..3e6b5d30 100644
--- a/src/main/resources/assets/skyblocker/lang/en_us.json
+++ b/src/main/resources/assets/skyblocker/lang/en_us.json
@@ -273,6 +273,12 @@
"skyblocker.config.general.itemList": "Item List",
"skyblocker.config.general.itemList.enableItemList": "Enable Item List",
+ "skyblocker.config.general.itemList.filter.all": "All",
+ "skyblocker.config.general.itemList.filter.entities": "Entities",
+ "skyblocker.config.general.itemList.filter.npcs": "NPCs",
+ "skyblocker.config.general.itemList.filter.mayors": "Mayors",
+ "skyblocker.config.general.itemList.filter.items": "Items",
+
"skyblocker.config.general.itemProtection": "Item Protection",
"skyblocker.config.general.itemProtection.protectValuableConsumables": "Protect Valuable Consumables",
"skyblocker.config.general.itemProtection.protectValuableConsumables.@Tooltip": "Prevents consuming items such as Bottles of Jyrre, Dark Cacao Truffles, and Discrite before they have evolved.",
@@ -1174,6 +1180,7 @@
"skyblocker.tips.newYearCakesHelper": "Open your New Year Cake Bag and Skyblocker will remember them and highlight duplicate cakes red and missing cakes green.",
"skyblocker.tips.accessoryHelper": "Open your accessory bag and Skyblocker will remember them. The accessory helper will tell you what accessories you have and what accessories are missing.",
"skyblocker.tips.fancyAuctionHouseCheapHighlight": "Cheap BINs are highlighted in green in the Fancy Auction House.",
+ "skyblocker.tips.viewRecipe": "Right-Click on a recipe result in the recipe book to access the super-craft menu.",
"skyblocker.partyFinder.tabs.partyFinder": "Party Finder",
"skyblocker.partyFinder.tabs.searchSettings": "Search Filters",
diff --git a/src/main/resources/assets/skyblocker/textures/gui/filter/all.png b/src/main/resources/assets/skyblocker/textures/gui/filter/all.png
new file mode 100644
index 00000000..a4d8a262
--- /dev/null
+++ b/src/main/resources/assets/skyblocker/textures/gui/filter/all.png
Binary files differ
diff --git a/src/main/resources/assets/skyblocker/textures/gui/filter/entities.png b/src/main/resources/assets/skyblocker/textures/gui/filter/entities.png
new file mode 100644
index 00000000..33847764
--- /dev/null
+++ b/src/main/resources/assets/skyblocker/textures/gui/filter/entities.png
Binary files differ
diff --git a/src/main/resources/assets/skyblocker/textures/gui/filter/items.png b/src/main/resources/assets/skyblocker/textures/gui/filter/items.png
new file mode 100644
index 00000000..c5ceb51f
--- /dev/null
+++ b/src/main/resources/assets/skyblocker/textures/gui/filter/items.png
Binary files differ
diff --git a/src/main/resources/assets/skyblocker/textures/gui/filter/mayors.png b/src/main/resources/assets/skyblocker/textures/gui/filter/mayors.png
new file mode 100644
index 00000000..cc250d96
--- /dev/null
+++ b/src/main/resources/assets/skyblocker/textures/gui/filter/mayors.png
Binary files differ
diff --git a/src/main/resources/assets/skyblocker/textures/gui/filter/npcs.png b/src/main/resources/assets/skyblocker/textures/gui/filter/npcs.png
new file mode 100644
index 00000000..bca5e28a
--- /dev/null
+++ b/src/main/resources/assets/skyblocker/textures/gui/filter/npcs.png
Binary files differ