promotional bannermobile promotional banner

OS Cobblemon Library

A shared foundation for Cobblemon mod development across Fabric and NeoForge.
Back to Files

OS Cobblemon Library 1.4.0

File nameos-cobblemon-library-neoforge-1.4.0.jar
Uploader
LevelsFRLevelsFR
Uploaded
Oct 25, 2026
Downloads
73
Size
80.0 KB
Mod Loaders
NeoForge
File ID
9316292
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:os-cobblemon-library-1698981:9316292"

Learn more about Curse Maven

What's new

1.4.0 - Entity proximity and ambient battle weather updates (2026-10-25)

Added

  • Added PokemonEntities.nearestPlayerDistanceSquared, a server-thread-only query that caches each Pokémon's squared distance to its nearest player for the current tick.
  • Added BattleWeatherController.queueAmbientWeather and AmbientBattleWeather for version-gated weather updates in an active Cobblemon 1.8.2 battle.
  • Ambient weather changes now produce normal Showdown weather records and are ignored while a move- or ability-controlled battle weather is active.
  • Initial ambient weather is marked separately so it can be updated or cleared as the sampled world weather changes.

Compatibility

  • The active-battle bridge is verified only for Cobblemon 1.8.2+1.21.1; other versions fail closed.

This mod has no additional files