作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: neoforge
标签: game-mechanics utility
A highly customizable Cobblemon sidemod to alert you when a certain Pokemon spawns
No updates. No patches. For more details, see the bottom of the page. Thanks for everything.
Servers can optionally install this mod to broadcast this info to clients if they desire, also with a config of its own. If a server does not have this mod installed, then things will not display correctly.
Also, while the serverside mod is optional, all clients must have the mod if the server does.
As of 1.12.0, the Adventure library has been replaced with Ember's Text API. This will break existing configs. See the full changelog for more details.
Have you ever been hunting for an ultra-rare, and as you're flying around your eyes are too focused on reading each Pokemon's name that you miss something? Well with this mod, you can simply receive a message in chat when the Pokemon spawns instead! The config is a JSON file that is very easy to edit and add any Pokemon you want.
CSA is fully compatible with Journeymap and can automatically create and remove waypoints when Pokemon spawn/despawn. More details below in the Journeymap Integration tab.
By simply editing the config, you can be alerted whenever an unregistered or uncaught Pokemon spawns near you!
Each Pokemon can be individually customized exactly to your needs. If you want to shiny hunt for a Ralts while making sure you don't miss out on any beautiful Bidoofs (i love bidoof), you can do that. Messages use Ember's Text API markup to easily color or format messages however you like (see the ETA docs).
The default message looks like this:

But can be modified to look like this, or however you want!

Inspired by Cobblemon Spawn Notification, all players will be alerted when a rare Pokemon (such as a shiny or legendary) spawns. This can be disabled in the server's server.json config for the mod. The server simply sends a packet to all clients, so that each player can individually customize their messages.
Both the server and clients can send Discord webhooks, fully customizable with embeds and everything. You can even embed an image of the spawned Pokemon! (Using "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/{dex}.png")
Servers can enable webhooks for global alerts, while clients can enable webhooks for every single alert they receive.

Please read the docs before you go on asking me how the configs work. If you still can't figure it out that's fine, just at least attempt it on your own first.
This is intended behavior, which I still need to find a better solution for (if one exists). You can use enableSpawnCommandAlerts in server.json, but use this at your own risk. This can break spawning of some Pokemon, such as in Cobblemon: Path to Legends.
Technical details: This mixins to SpawnPokemon#execute and uses the player spawner system to forcibly post a spawn event.
See the bottom of the page.
See the bottom of the page.
message_templates.json, or, if you want to use the default lang file of CSA, go to resourcepacks -> Academy -> assets and delete the cobblemon_spawn_alerts directory entirely.To get started with editing the config, read the docs.
I'll still help people even though I no longer will be maintaining the mod. For support, go to the Cobblemon discord, then in #content-zone-help, search for Cobblemon Spawn Alerts.
This mod and the docs site are licensed as MIT. You may freely modify and/or redistribute any of the code. Feel free to use any of the same ideas or concepts. Do whatever you want. You don't have to credit me for anything.
I will NOT merge PRs or resolve issues.
请登录后举报
暂无评论,抢个沙发吧~