Skip to content

Commit

Permalink
Merge branch 'inventory-experiments-rework' of https://github.com/ILi…
Browse files Browse the repository at this point in the history
…ke2WatchMemes/SkyHanni into inventory-experiments-rework
  • Loading branch information
ILike2WatchMemes committed Jul 8, 2024
2 parents 1cfbc94 + 9ce0836 commit d716c86
Show file tree
Hide file tree
Showing 109 changed files with 1,151 additions and 700 deletions.
497 changes: 274 additions & 223 deletions .idea/dictionaries/default_user.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The repo is located at https://github.com/hannibal002/SkyHanni-REPO.
A copy of all json files is stored on the computer under `.minecraft\config\skyhanni\repo`.
On every game start, the copy gets updated (if outdated and if not manually disabled).
If you add stuff to the repo make sure it gets serialised. See
the [jsonobjects](src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo)
the [JsonObjects](src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo)
folder for how to properly do this. You also may have to disable repo auto update in game.

### Discord IPC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ class ModuleProcessor(private val codeGenerator: CodeGenerator, private val logg
error("${warnings.size} errors related to event annotations found, please fix them before continuing. Click on the kspKotlin build log for more information.")
}

val dependencies = symbols.mapNotNull { it.containingFile }.toTypedArray()
val deps = Dependencies(true, *dependencies)
val sources = symbols.mapNotNull { it.containingFile }.toTypedArray()
val dependencies = Dependencies(true, *sources)

val file = codeGenerator.createNewFile(deps, "at.hannibal2.skyhanni.skyhannimodule", "LoadedModules")
val file = codeGenerator.createNewFile(dependencies, "at.hannibal2.skyhanni.skyhannimodule", "LoadedModules")

OutputStreamWriter(file).use {
it.write("package at.hannibal2.skyhanni.skyhannimodule\n\n")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
}

group = "at.hannibal2.skyhanni"
version = "0.26.Beta.14"
version = "0.26.Beta.16"

val gitHash by lazy {
val baos = ByteArrayOutputStream()
Expand Down
149 changes: 94 additions & 55 deletions docs/CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/DISCORD_FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ _Frequently Asked Questions_
> **7: My Jacob Contest Display crops are wrong, how do I fix this?**
> Run the command `/shclearcontestdata` to clear the Jacob contest data.
> **8: How can I get bigger crop hitboxes?**
> Use Patcher or PolyPatcher to have 1.12 hitboxes in 1.8.9.
> **8: How can I get bigger crop hit boxes?**
> Use Patcher or PolyPatcher to have 1.12 hit boxes in 1.8.9.
> - [Sk1erLLC's Patcher](<https://sk1er.club/mods/patcher>)
> - [Polyfrost's PolyPatcher](<https://modrinth.com/mod/patcher>) (a fork of Patcher with OneConfig, slightly different features, and bug fixes)
Expand Down
47 changes: 25 additions & 22 deletions docs/FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Highlights your selected class in green if it's available.
+ Kismet tracking for dungeon chests. - Thunderblade73
+ Highlight chests which have been rerolled inside Croesus
+ Shows kismet amount at the reroll button
+ Shows kismet amount at the re-roll button
+ SA Jump Notification. - CarsCupcake (https://github.com/hannibal002/SkyHanni/pull/852)
+ Warn shorty before a Shadow Assassin jumps to you in dungeons.
+ Notifications for architect on puzzle fail. - Conutik (https://github.com/hannibal002/SkyHanni/pull/1197)
Expand Down Expand Up @@ -244,7 +244,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
- Option to hide the nametag of your spawned summoning mobs.
- Option to mark the own summoning mobs in green.
- Summoning Mob Display (Show the health of your spawned summoning mobs listed in an extra GUI element and hiding the
corresponding spawning/despawning chat messages)
corresponding spawning/de-spawning chat messages)

</details>
<details open><summary>
Expand Down Expand Up @@ -322,7 +322,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Works in crystal hollows too (worm fishing)
+ Keybind to manually reset the barn/worm fishing timer. - CarsCupcake
+ Warning sound when the worm fishing cap of 60 is hit. - CarsCupcake
+ Has support for the gamemode Stranded. - hannibal2
+ Has support for the game mode Stranded. - hannibal2
+ **Shark Fish Counter** - Counts how many sharks have been caught.
+ **Odger waypoint** - Show the Odger waypoint when trophy fishes are in the inventory and no lava rod in hand.
+ Showing fished item names
Expand Down Expand Up @@ -401,6 +401,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Show a line to the beacon. - hannibal2
+ Warning when enderman slayer beacon spawns - dragon99z
+ Highlight enderman slayer Nukekubi (Skulls) - dragon99z
+ Add a line to Nukekebi Skull. - j10a1n15 (https://github.com/hannibal002/SkyHanni/pull/2148)
+ Hide the name of the mobs you need to kill in order for the Slayer boss to spawn. Exclude mobs that are damaged,
corrupted, runic or semi rare.
+ Cooldown when the Fire Pillar from the Blaze Slayer will kill you.
Expand Down Expand Up @@ -457,10 +458,10 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ **Griffin Pet Warning**
+ Warn when holding an Ancestral Spade while no Griffin pet is selected.
+ **Inquisitor Sharing**
+ Share aypoints for inquisitors you find with your party.
+ Share waypoints for inquisitors you find with your party.
+ Show a timer until the inquisitor will despawn.
+ Diana Profit Tracker. - hannibal2
+ Same options as slayer and fising trackers.
+ Same options as slayer and fishing trackers.
+ Highlight for the Minos Inquisitors to make them easier to see. - Cad
+ Mythological Mob Tracker. - hannibal2
+ Counts the different mythological mobs you have dug up.
Expand Down Expand Up @@ -520,7 +521,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Highlight corrupted mobs.
+ **Arachne Minis Hider** - Hides the nametag above arachne minis.
+ **Arachne Boss Highlighter** - Highlight the arachne boss in red and mini bosses and orange.
+ "Line to Arachne" setting, just like with slayer minibosses. - azurejelly (https://github.com/hannibal002/SkyHanni/pull/1888)
+ "Line to Arachne" setting, just like with slayer mini bosses. - azurejelly (https://github.com/hannibal002/SkyHanni/pull/1888)
+ Countdown for Arachne spawn. - Cad
+ Supports quick spawns.
+ Option to hide the vanilla particles around enderman
Expand Down Expand Up @@ -557,7 +558,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ **Garden Level Display** - Show the current garden level and progress to the next level.
+ **Fake garden level up** message: - hannibal2
+ In 10k garden exp steps after level 15.
+ Uses the overflow exp that hypixel still caluclates (maybe official upgrade with more garden levels in the
+ Uses the overflow exp that hypixel still calculates (maybe official upgrade with more garden levels in the
future?).
+ Click on the message to open the garden level display. - J10a1n15
+ **Farming Weight and Leaderboard**
Expand All @@ -570,7 +571,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
switching to a different pet for leveling.
+ **Money per Hour**
+ Displays the money per hour YOU get with YOUR crop/minute value when selling the items to bazaar.
+ Suppports the dicer drops from melon and pumpkins as well. - CalMWolfs
+ Supports the dicer drops from melon and pumpkins as well. - CalMWolfs
+ Supports armor drops. - CalMWolfs
+ Farming contest timer.
+ Wrong fungi cutter mode warning.
Expand Down Expand Up @@ -764,7 +765,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Hide already completed kloon terminal waypoints
+ **Crux Talisman Progress** Display - HiZe
+ Show bonuses you get from the talisman
+ **Lazer Parkour** Solver - CalMWolfs
+ **Laser Parkour** Solver - CalMWolfs
+ Highlights the location of the invisible blocks in the Mirrorverse
+ Mirrorverse **Dance Room Helper** - HiZe
+ Helps to solve the dance room in the Mirrorverse by showing multiple tasks at once.
Expand All @@ -784,7 +785,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Living Metal Suit Progress - HiZe
+ Display progress Living Metal Suit (Default disabled)
+ Option to show a compacted version of the overlay when the set is maxed
+ Highlight for Blobbercysts in Bacte fight in colloseum in rift - HiZe
+ Highlight for Blobbercysts in Bacte fight in colosseum in rift - HiZe
+ Show a line between **Defense blocks** and the mob and highlight the blocks - hannibal2
+ Hide particles around Defense Blocks
+ Show a moving animation between **Living Metal** and the next block - hannibal2
Expand Down Expand Up @@ -880,11 +881,11 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Thanks Tobbbb for the coordinates!
+ Support for hiding basket waypoints once you have clicked on them. - hannibal2
+ Option to show only the closest basket. - hannibal2
+ Help with the 2023 Halloween visitor challenge (ephemeral dingsibumsi or something) - nea
+ Help with the 2023 Halloween visitor challenge (Ephemeral Gratitude) - nea
+ New Visitor Ping: Pings you when you are less than 10 seconds away from getting a new visitor.
+ Accept Hotkey: Accept a visitor when you press this keybind while in the visitor GUI.
+ Support for showing the primal fear data from tab list as GUI elements. - Erymanthus
+ Play warning sound when the next Primal Fear can spawn. - thunderblade73
+ Play warning sound when the next Primal Fear can spawn. - Thunderblade73
+ Unique Gifting Opportunities. - nea
+ Highlight players who you haven't given gifts to yet.
+ Only highlight ungifted players while holding a gift.
Expand Down Expand Up @@ -916,7 +917,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Factory Chat Filters. - RobotHanzo (https://github.com/hannibal002/SkyHanni/pull/1574)
+ Hide chocolate factory upgrade and employee promotion messages.
+ Copy Chocolate Factory Stats to clipboard. - seraid (https://github.com/hannibal002/SkyHanni/pull/1517)
+ Highlight unbought items in Hoppity shop. - seraid (https://github.com/hannibal002/SkyHanni/pull/1517)
+ Highlight non-purchased items in Hoppity shop. - seraid (https://github.com/hannibal002/SkyHanni/pull/1517)
+ Added time tower status to the chocolate factory stats. - CalMWolfs (https://github.com/hannibal002/SkyHanni/pull/1506)
+ Also can notify you when you get a new charge or your charges are full.
+ Extra tooltip stats about upgrades for the chocolate factory. - CalMWolfs (https://github.com/hannibal002/SkyHanni/pull/1594)
Expand Down Expand Up @@ -991,7 +992,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.

</summary>

+ Highlights NPCs in the stranded menu that are placeable but havent been placed. - walker
+ Highlights NPCs in the stranded menu that are placeable but haven't been placed. - walker

</details>
<details open><summary>
Expand Down Expand Up @@ -1036,7 +1037,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ **Tia Relay Waypoint** - Show the next Relay waypoint for Tia The Fairy, where maintenance for the abiphone network
needs to be done.
+ **Tia Relay Helper** - Helps with solving the sound puzzle.
+ **Hide dead entities** - Similar to Skytil's feature for inside dungeon, but for everywhere.
+ **Hide dead entities** - Similar to Skytils' feature for inside dungeon, but for everywhere.
+ **Tps Display** - Show the Tps of the current server.
+ **Particle Hider** - Hide blaze particles, fire block particles, fireball particles, near redstone particles, far
particles or smoke particles.
Expand Down Expand Up @@ -1084,7 +1085,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Option to highlight items that are full in the sack inventory.
+ **Ghost Counter** (Contributed by HiZe)
+ Shows number of ghosts killed in the Mist in Dwarven Mines
+ Shows kill combo, coins per scavenger, all item drops, bestiarity, magic find and more
+ Shows kill combo, coins per scavenger, all item drops, bestiary, magic find and more
+ Each display line is highly customizable
+ **Frozen Treasure Tracker** (Contributed by CalMWolfs)
+ Show different items collected while breaking treasures in the Glacial Cave in Jerry's Workshop
Expand All @@ -1103,7 +1104,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ **Ender Node Tracker** - pretz
+ Tracks items and profit obtained from collecting ender nodes and killing normal endermen.
+ **Harp Keybinds** - NetheriteMiner
+ In Melodys Harp, press buttons with your number row on the keyboard instead of clicking.
+ In Melody's Harp, press buttons with your number row on the keyboard instead of clicking.
+ **Teleport Pad Compact Name**
+ Hide the 'Warp to' and 'No Destination' texts over teleport pads.
+ Only on Private island.
Expand All @@ -1127,10 +1128,10 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Allows to change those settings anytime again with /shdefaultoptions.
+ Show alert when reaching max super-pairs clicks. - pretz
+ Plays a beep sound and sends a message in chat when the player reaches the maximum number of clicks gained for
super-pairs minigames.
super-pairs mini games.
+ Anniversary Event Active Player Ticket Timer. - nea
+ Option to play a sound as well.
+ **Travor Trapper** Features in Farming Islands
+ **Trevor Trapper** Features in Farming Islands
+ Trapper Cooldown GUI. - NetheriteMiner
+ Show the cooldown on screen in an overlay (intended for abiphone users).
+ **Trevor the Trapper Tracker**. - CalMWolfs
Expand All @@ -1145,7 +1146,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Change the scale with plus and minus keys. - CalMWolfs
+ **Compact Tab List**.
+ Compacts the tablist to make it look much nicer (old SBA feature, but fewer bugs). - CalMWolfs
+ Option to hide Hypixel advertisment banners. - CalMWolfs
+ Option to hide Hypixel advertisement banners. - CalMWolfs
+ **Advanced Player List**. - hannibal2
+ Customize the player list (inside the tab list) in various ways.
+ Change the sort order of players: Default, SkyBlock Level, alphabetical name, Iron Man first/bingo level,
Expand All @@ -1161,7 +1162,7 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Show a chat message for how long you were in limbo once you leave it.
+ Highlight Party Members. - Cad
+ Marking party members with a bright outline to better find them in the world.
+ Porting SBA's **chroma** into SkyHanni with many more options and chroma everything. - VixidDev
+ Porting SkyBlockAddon's **chroma** into SkyHanni with many more options and chroma everything. - VixidDev
+ Options to change speed, size, saturation and direction.
+ Modify Visual Words (command /shwords). - CalMWolfs
+ Allows you to replace text on your screen with different text (like the SBE one, just less costly).
Expand Down Expand Up @@ -1256,13 +1257,15 @@ Use `/sh` or `/skyhanni` to open the SkyHanni config in game.
+ Highly customizable: Colors, display sizes.
+ Estimated Price Integration.
+ Favorite slots; option to only display favorite slots.
+ Added a Chat Message if the Perkapocalypse Mayor is unknown. - j10a1n15 (https://github.com/hannibal002/SkyHanni/pull/2009)
+ Added a Chat Message if the Perkpocalypse Mayor is unknown. - j10a1n15 (https://github.com/hannibal002/SkyHanni/pull/2009)
+ Added a source download verification checker. - ThatGravyBoat (https://github.com/hannibal002/SkyHanni/pull/1914)
+ Warns you when the mod has been downloaded from an untrusted source (not the official GitHub or Modrinth).
+ Shows a list of items that can be crafted with the items in your inventory when inside the crafting menu. - hannibal2 (https://github.com/hannibal002/SkyHanni/pull/1334)
+ Click on an item to open /recipe.
+ Option to include items from inside sacks.
+ Option to include vanilla items.
+ Add Armor Stack Display. - Xupie (https://github.com/hannibal002/SkyHanni/pull/1811)
+ Display the number of stacks on armor pieces like Crimson, Terror etc.

</details>
<details open><summary>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import org.apache.logging.log4j.Logger
clientSideOnly = true,
useMetadata = true,
guiFactory = "at.hannibal2.skyhanni.config.ConfigGuiForgeInterop",
version = "0.26.Beta.14",
version = "0.26.Beta.16",
)
class SkyHanniMod {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/api/ReforgeAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ object ReforgeAPI {

val rawReforgeStoneName = reforgeStone?.itemNameWithoutColor

val lowercaseName = name.lowercase()
val lowercaseName = name.lowercase().replace('-', '_')

fun isValid(itemStack: ItemStack) = isValid(itemStack.getItemCategoryOrNull(), itemStack.getInternalName())

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent
import at.hannibal2.skyhanni.events.NeuRepositoryReloadEvent
import at.hannibal2.skyhanni.events.SecondPassedEvent
import at.hannibal2.skyhanni.events.SkillExpGainEvent
import at.hannibal2.skyhanni.events.SkillOverflowLevelupEvent
import at.hannibal2.skyhanni.events.SkillOverflowLevelUpEvent
import at.hannibal2.skyhanni.features.skillprogress.SkillProgress
import at.hannibal2.skyhanni.features.skillprogress.SkillType
import at.hannibal2.skyhanni.features.skillprogress.SkillUtil.SPACE_SPLITTER
Expand Down Expand Up @@ -266,7 +266,7 @@ object SkillAPI {
currentXp
)
if (skillInfo.overflowLevel > 60 && levelOverflow == skillInfo.overflowLevel + 1)
SkillOverflowLevelupEvent(skillType, skillInfo.overflowLevel, levelOverflow).postAndCatch()
SkillOverflowLevelUpEvent(skillType, skillInfo.overflowLevel, levelOverflow).postAndCatch()

skillInfo.apply {
this.level = level
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ object Commands {
) { SkyHanniDebugsAndTests.toggleRender() }
registerCommand(
"shcarrolyn",
"Toggels if the specified crops effect is active from carrolyn",
"Toggles if the specified crops effect is active from carrolyn",
) {
CaptureFarmingGear.handelCarrolyn(it)
}
Expand All @@ -397,11 +397,11 @@ object Commands {
) { SkyHanniMod.repo.displayRepoStatus(false) }
registerCommand(
"shclearkismet",
"Cleares the saved values of the applied kismet feathers in Croesus",
"Clears the saved values of the applied kismet feathers in Croesus",
) { CroesusChestTracker.resetChest() }
registerCommand(
"shkingfix",
"Reseting the local King Talisman Helper offset.",
"Resets the local King Talisman Helper offset.",
) { KingTalismanHelper.kingFix() }
registerCommand(
"shupdate",
Expand Down Expand Up @@ -549,7 +549,7 @@ object Commands {
"(names, description, orderings and stuff).",
) { SkyHanniDebugsAndTests.resetConfigCommand() }
registerCommand(
"readcropmilestonefromclipboard",
"shreadcropmilestonefromclipboard",
"Read crop milestone from clipboard. This helps fixing wrong crop milestone data",
) { GardenCropMilestonesCommunityFix.readDataFromClipboard() }
registerCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public class CombatConfig {
@Accordion
public QuiverConfig quiverConfig = new QuiverConfig();

@Expose
@ConfigOption(name = "Armor Stack Display", desc = "")
@Accordion
public StackDisplayConfig stackDisplayConfig = new StackDisplayConfig();

@Expose
@ConfigOption(name = "Summonings", desc = "")
@Accordion
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package at.hannibal2.skyhanni.config.features.combat;

import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;

public class StackDisplayConfig {
@Expose
@ConfigOption(name = "Enable", desc = "Display the number of stacks on armor pieces like Crimson, Terror, Aurora etc.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = false;

@Expose
@ConfigLink(owner = StackDisplayConfig.class, field = "enabled")
public Position position = new Position(480, -210, 1.9f);
}
Loading

0 comments on commit d716c86

Please sign in to comment.