promotional bannermobile promotional banner
premium banner
A simple mod to prevent cobblemon spawning other than when a player has a lantern, useful for servers whose main purpose isnt cobblemon and they get in the way of farms/builds

Description

Poke Lantern gives server operators and players fine-grained control over where Cobblemon Pokémon can spawn. By default all spawns are suppressed everywhere with the exception of shinies and legendaries — no wild Pokémon appear unless a Poke Lantern block is present or the player is wearing the curio version of it.

Placing a Poke Lantern creates a configurable-radius spawn zone (default 64 blocks). Any player inside that radius sees normal Cobblemon spawns. Multiple lanterns stack their zones, so players can share areas or build dedicated spawn farms.

Per-player limit: each player may have exactly one active Poke Lantern placed at a time or wear the curio version of the lantern to allow cobblemon to constantly spawn around them. Placing a second lantern on the ground will yield a warning to remove the first one.

Optional bypass flags (server config)

Key Default Effect
allowShinies true Shiny Pokémon bypass the radius check and can spawn anywhere
allowLegendaries true Legendary Pokémon bypass the radius check
spawnRadius 64 Radius in blocks around each lantern (range: 1–512)