Skip to content

feat: Trophy frog api - #437

Open
mariethepolarfox wants to merge 5 commits into
SkyblockAPI:4.0from
mariethepolarfox:trophy-frog-api
Open

feat: Trophy frog api#437
mariethepolarfox wants to merge 5 commits into
SkyblockAPI:4.0from
mariethepolarfox:trophy-frog-api

Conversation

@mariethepolarfox

Copy link
Copy Markdown
Contributor

No description provided.

@mariethepolarfox
mariethepolarfox marked this pull request as ready for review July 11, 2026 13:40
import tech.thatgravyboat.skyblockapi.utils.text.Text

enum class TrophyFishTier(val nameSuffix: Component, val displayName: String) {
enum class TrophyTier(val nameSuffix: Component, val displayName: String) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change

@@ -1,10 +1,10 @@
package tech.thatgravyboat.skyblockapi.api.area.isle.trophyfish
package tech.thatgravyboat.skyblockapi.api.datatype.defaults

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change

import tech.thatgravyboat.skyblockapi.utils.text.Text

enum class TrophyFishRank(val displayName: Component) {
enum class TrophyRank(val displayName: Component) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change

@@ -1,17 +1,17 @@
package tech.thatgravyboat.skyblockapi.api.area.isle.trophyfish
package tech.thatgravyboat.skyblockapi.api.datatype.defaults

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change

}

fun getId(tier: TrophyFishTier, default: TrophyFishTier = TrophyFishTier.BRONZE): SkyBlockId = SkyBlockId.item("${this.internalName}_${tier.takeUnless { it == TrophyFishTier.NONE } ?: default}")
fun getId(tier: TrophyTier, default: TrophyTier = TrophyTier.BRONZE): SkyBlockId = SkyBlockId.item("${this.internalName}_${tier.takeUnless { it == TrophyTier.NONE } ?: default}")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this might be aswell?

}

fun getCaught(type: TrophyFishType): Map<TrophyFishTier, Int> {
fun getCaught(type: TrophyFishType): Map<TrophyTier, Int> {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same with this

import tech.thatgravyboat.skyblockapi.api.events.base.SkyBlockEvent

data class TrophyFishCaughtEvent(val type: TrophyFishType, val tier: TrophyFishTier) : SkyBlockEvent()
data class TrophyFishCaughtEvent(val type: TrophyFishType, val tier: TrophyTier) : SkyBlockEvent()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this maybe too, idk you get the idea

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before the pull request can be reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants