-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some functions and classes comments, so devs can use as an API Hopefully fixed the issue where our custom icon wasn't appearing on some modpacks
- Loading branch information
1 parent
c69f03c
commit 19f4486
Showing
17 changed files
with
272 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
common/src/main/kotlin/com/rafacasari/mod/cobbledex/api/CobbledexEvents.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,33 @@ | ||
package com.rafacasari.mod.cobbledex.api | ||
|
||
import com.cobblemon.mod.common.api.reactive.EventObservable | ||
import com.cobblemon.mod.common.pokemon.Species | ||
import com.cobblemon.mod.common.pokemon.FormData | ||
import com.rafacasari.mod.cobbledex.api.events.DiscoveryEvent | ||
|
||
object CobbledexEvents { | ||
|
||
/** | ||
* Fired when a new [Species] is **discovered** | ||
*/ | ||
@JvmField | ||
val NEW_SPECIES_DISCOVERED = EventObservable<DiscoveryEvent.OnSpeciesDiscoveryEvent>() | ||
|
||
/** | ||
* Fired when a new [FormData] is **discovered** | ||
*/ | ||
@JvmField | ||
val NEW_FORM_DISCOVERED = EventObservable<DiscoveryEvent.OnFormDiscoveryEvent>() | ||
|
||
/** | ||
* Fired when a new [Species] is **caught** | ||
*/ | ||
@JvmField | ||
val NEW_SPECIES_CAUGHT = EventObservable<DiscoveryEvent.OnSpeciesDiscoveryEvent>() | ||
|
||
/** | ||
* Fired when a new [FormData] is **caught** | ||
*/ | ||
@JvmField | ||
val NEW_FORM_CAUGHT = EventObservable<DiscoveryEvent.OnFormDiscoveryEvent>() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,5 +112,4 @@ object PacketUtils { | |
this.readLong() | ||
else null | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
common/src/main/kotlin/com/rafacasari/mod/cobbledex/utils/TypeChartUtils.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
common/src/main/resources/assets/cobbledex/models/item/cobbledex_icon.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.