Cobblemon Repel Blocks (Forge)

Prevent wild Cobblemon spawning with repel blocks!
Screenshot 2026-03-07 192028.png

Screenshot 2026-03-07 192028.png

Description

Cobblemon Repel+


Cobblemon Repel+ adds simple repel blocks that prevent wild Cobblemon from spawning in protected areas.

Instead of constantly killing Pokémon after they spawn, the mod cancels the spawn event before the entity is created, keeping your base areas clear while maintaining excellent server performance.

Perfect for servers, towns, and player bases where you want protection from wild Cobblemon.

 
 

Requirements


  • Minecraft 1.20.1
  • Forge 47.4.10
  • Cobblemon 1.5.2

The mod in should be compatiable with 

  • Cobblemon 1.5.x with a minimun version of 1.5.2
  • Forge 47.4.x with a minimun version of 47.4.10
 
 

Features


Repel Blocks

Three tiers of repel blocks allow different protection sizes.

Block Radius
Repel Small 32 blocks
Repel Medium 48 blocks
Repel Large 64 blocks

Repel blocks prevent wild Cobblemon spawning within their radius.

Owned Pokémon are never affected.

Instant Area Clearing

When a repel block is placed, all wild Cobblemon within its radius are immediately removed to clear the area.

Overlap Protection

Repel blocks cannot be placed too close to each other.
This prevents spam and keeps performance optimal.

Lightweight and Server Friendly

Cobblemon Repel+ uses spawn cancellation instead of constant scanning or entity killing.

This means:

  • very low server overhead
  • no lag spikes
  • works well even with many repel blocks

Toggleable Repel Fields

Players can control each repel block:

Crouch + Left Click
Toggle repel field ON / OFF

Crouch + Right Click
Toggle visible boundary particles

 
 

Crafting Recipes


Repel Small

 
CCC
CRC
CCC
 

C = Copper Ingot
R = Redstone Dust

 

Repel Medium

 
III
ISI
III
 

I = Iron Ingot
S = Repel Small

 

Repel Large

 
GGG
GMG
GGG
 

G = Gold Ingot
M = Repel Medium

 

 


Configuration


Cobblemon Repel+ includes a server-side configuration file that allows server owners to customize how repel blocks behave.

The config file is generated automatically after the server runs once.

Location:

 
world/serverconfig/cobblemon_repel_plus-server.toml
 
 
 

Config Options


Repel Radius

Control the protection radius of each repel block.

smallRadius = 32
mediumRadius = 48
largeRadius = 64
 
Block Default Radius
Repel Small 32 blocks
Repel Medium 48 blocks
Repel Large 64 blocks

These values can be increased or reduced to adjust the protected area.


Boundary Particles

Controls the visual particle ring that shows the repel range.

boundaryParticles = false
 

Default: disabled

Players can toggle the boundary display per block unless the server disables it.


Allow Boundary Toggle

Allows players to toggle the boundary display.

allowBoundaryToggle = true
 

If disabled, players cannot enable the boundary particles.


Remove Wild Pokémon On Placement

Controls whether wild Cobblemon are removed when a repel block is placed or re-enabled.

clearWildOnPlace = true
 

When enabled, placing a repel block immediately clears the protected area.


Affect Player-Owned Cobblemon

Controls whether repel blocks affect Pokémon owned by players.

affectPlayerOwnedCobblemon = false
 

Default behavior:

  • false → only wild Cobblemon are affected
  • true → repel blocks affect all Cobblemon

Overlap Protection

Prevents repel blocks from being placed too close together.

overlapProtection = true
 

This helps prevent players from stacking many repel blocks in one area.


Particle Update Rate

Controls how often particle boundaries are updated.

particleIntervalTicks = 20
 

Default: 20 ticks (1 second)

Increasing this value can slightly reduce visual updates.

 

 


Ideal Uses


  • Protect player bases
  • Create safe towns
  • Prevent Cobblemon spawning in build areas
  • Control Pokémon spawn zones on servers

 


Compatibility


 

The Cobblemon Repel Blocks (Forge) Team

profile avatar
  • 1
    Projects
  • 410
    Downloads
Donate