Download Torchmaster Cobblemon Compat — Minecraft Mods — MetaMods

Torchmaster Cobblemon Compat

Active

Downloads

0

Last update

6 months ago
Client
Addons

Torchmaster Cobblemon Compatibility

This addon enables interaction between the Torchmaster mod and the Cobblemon modification, allowing the use of Dread Lamps to block the spawning of wild Pokemon.

How It Works

By default, Torchmaster identifies Pokemon as neutral entities and attempts to add them to the Dread Lamp's blocking list. However, Cobblemon does not use Neoforge's standard spawn events, making it impossible to block Pokemon in the base version of Torchmaster.

OUR MOD WORKS ONLY WITH NEOFORGE 1.21.1!

The solution is implemented by registering an additional event handler in Cobblemon's event system, which passes information about Pokemon spawning to Torchmaster's own event handler.

Blocking Configuration

To enable blocking of Pokemon with Mega Torches, you need to add cobblemon:pokemon to the entity filter list in the torchmaster.toml configuration file:

megaTorchEntityBlockListOverrides = ["+cobblemon:pokemon"]

If you also want to prevent NPCs from spawning, add them to the list:

megaTorchEntityBlockListOverrides = ["+cobblemon:pokemon", "+cobblemon:npc"]

Support for Other Versions

The mod works only with natural ("wild") Pokemon spawning. For Fabric or older versions, it's recommended to consider alternative solutions.

Project members
Xalcon

Xalcon

Created: 5 Apr 2025

ID: 94137