diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-30 22:38:30 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-30 22:38:30 +0200 |
commit | a2f20b5399a0ff2862ef882183d733223570e7c7 (patch) | |
tree | 6f3430a2290f902ed4278404817e408e1563d557 /src/main/java/at | |
parent | d17378adde42379b0835d81665c93a1c38b892bf (diff) | |
download | skyhanni-a2f20b5399a0ff2862ef882183d733223570e7c7.tar.gz skyhanni-a2f20b5399a0ff2862ef882183d733223570e7c7.tar.bz2 skyhanni-a2f20b5399a0ff2862ef882183d733223570e7c7.zip |
renamed collection tracker
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CollectionTracker.kt (renamed from src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt) | 6 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt | 4 |
4 files changed, 9 insertions, 7 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt index d27201ee4..a59a45963 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt @@ -241,7 +241,7 @@ class SkyHanniMod { loadModule(GriffinBurrowHelper) loadModule(GriffinBurrowParticleFinder()) loadModule(BurrowWarpHelper()) - loadModule(CollectionCounter()) + loadModule(CollectionTracker()) loadModule(HighlightBonzoMasks()) loadModule(DungeonLevelColor()) loadModule(BazaarCancelledBuyOrderClipboard()) diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index b2023d7aa..4c8c455fd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -19,7 +19,7 @@ import at.hannibal2.skyhanni.features.garden.fortuneguide.CaptureFarmingGear import at.hannibal2.skyhanni.features.garden.fortuneguide.FFGuideGUI import at.hannibal2.skyhanni.features.minion.MinionFeatures import at.hannibal2.skyhanni.features.misc.CityProjectFeatures -import at.hannibal2.skyhanni.features.misc.CollectionCounter +import at.hannibal2.skyhanni.features.misc.CollectionTracker import at.hannibal2.skyhanni.features.misc.MarkedPlayerManager import at.hannibal2.skyhanni.features.misc.discordrpc.DiscordRPCManager import at.hannibal2.skyhanni.features.misc.ghostcounter.GhostUtil @@ -107,7 +107,7 @@ object Commands { "shmarkplayer", "Add a highlight effect to a player for better visibility" ) { MarkedPlayerManager.command(it) } - registerCommand("shtrackcollection", "Tracks your collection gain over time") { CollectionCounter.command(it) } + registerCommand("shtrackcollection", "Tracks your collection gain over time") { CollectionTracker.command(it) } registerCommand( "shcroptime", "Calculates with your current crop per second speed how long you need to farm a crop to collect this amount of items" diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionTracker.kt index ff860b3b5..af01ca68b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionCounter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CollectionTracker.kt @@ -16,7 +16,7 @@ import net.minecraft.client.Minecraft import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import java.util.* -class CollectionCounter { +class CollectionTracker { private val RECENT_GAIN_TIME = 1_500 @@ -88,6 +88,8 @@ class CollectionCounter { "gemstones" -> "gemstone" "caducous" -> "caducous stem" "agaricus" -> "agaricus cap" + "quartz" -> "nether quartz" + "glowstone" -> "glowstone dust" else -> rawName } @@ -193,6 +195,6 @@ class CollectionCounter { fun onRenderOverlay(event: GuiRenderEvent.GameOverlayRenderEvent) { if (!LorenzUtils.inSkyBlock) return - SkyHanniMod.feature.misc.collectionCounterPos.renderStringsAndItems(display, posLabel = "Collection Counter") + SkyHanniMod.feature.misc.collectionCounterPos.renderStringsAndItems(display, posLabel = "Collection Tracker") } }
\ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt index 08ec84c52..8e13d3a1d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/tabcomplete/TabComplete.kt @@ -1,6 +1,6 @@ package at.hannibal2.skyhanni.features.misc.tabcomplete -import at.hannibal2.skyhanni.features.misc.CollectionCounter +import at.hannibal2.skyhanni.features.misc.CollectionTracker object TabComplete { @@ -22,7 +22,7 @@ object TabComplete { private fun customTabComplete(command: String): List<String>? { WarpTabComplete.handleTabComplete(command)?.let { return it } PlayerTabComplete.handleTabComplete(command)?.let { return it } - CollectionCounter.handleTabComplete(command)?.let { return it } + CollectionTracker.handleTabComplete(command)?.let { return it } return null } |