Cobblemon 1.8.4 Bytecode Configuration Reference

Cobblemon 1.8.4 Config Reference (118 Keys & Spawner Weights)

Every configuration key in config/cobblemon/main.json read directly from CobblemonConfig.class bytecode: 116 fields carry a @CobblemonConfigField annotation across 12 categories, and 2 (lastSavedVersion, thirdPersonViewBobbing) have no annotation. Labels and tooltips come from assets/cobblemon/lang/en_us.json; spawn bucket weights come from data/cobblemon/spawning/best-spawner-config.json.

Total main.json Keys
118 (116 annotated + 2 not annotated)
Server vs Client Scope
93 Server · 23 Client
Bytecode Clamped Bounds
7 @IntConstraint Fields
Reload Command
/cobblemonconfig reload
Config Category
Scope / Side
Value Type
Internal Metadata · Not AnnotatedlastSavedVersion

Last Saved Version: No @CobblemonConfigField annotation and no en_us.json tooltip in jar 1.8.4, so it does not appear in the in-game config screen; it is still saved in main.json.

Default: "0.0.1"String
Pokémon · ServermaxPokemonLevel

Max Pokémon Level: The maximum level Pokémon can get to.

Default: 100IntegerRange: 1 – 1000
Pokémon · ServermaxPokemonFriendship

Max Pokémon Friendship: The maximum friendship value.

Default: 255IntegerRange: 0 – 1000
Pokémon · ServerannounceDropItems

Announce Drop Items: Whether to notify the Player of dropped items from defeating wild Pokémon.

Default: trueBoolean
Pokémon · ServerdefaultDropItemMethod

Default Drop Item Method: Defines how items are dropped (entity, player, or inventory).

Default: ON_ENTITYEnum (ItemDropMethod)
Pokémon · ServerdropAfterDeathAnimation

Drops After Death Animation: Whether Pokémon drop loot and Minecraft XP after their death animations are finished playing, or instantly upon death like vanilla mobs.

Default: falseBoolean
Pokémon · ServerambientPokemonCryTicks

Ambient Pokémon Cry Ticks: Ticks between Pokémon cries. (Currently unused)

Default: 1080Integer
Storage & PC · ServerdefaultKeyItems

Default Key Items: The key items that players start with by default.

Default: [] (empty set)Set<ResourceLocation>
Storage & PC · ServerdefaultBoxCount

Default Box Count: The number of boxes available in the PC.

Default: 40IntegerRange: 1 – 1000
Storage & PC · ServerpokemonSaveIntervalSeconds

Pokémon Save Interval Seconds: Seconds between saving storage data to file. eg Party & PC data.

Default: 30IntegerRange: 1 – 120
Storage & PC · ServerstorageFormat

Storage Format: The storage format used for storing Cobblemon data. (nbt/json/mongodb)

Default: "nbt"String
Storage & PC · ServerpreventCompletePartyDeposit

Prevent Complete Party Deposit: Whether to prevent Players from depositing their last Party Pokémon into the PC.

Default: falseBoolean
Storage & PC · ServermongoDBConnectionString

MongoDB Connection String: No en_us.json tooltip in jar 1.8.4; annotated under Category.Storage (Server) in CobblemonConfig.class.

Default: "mongodb://localhost:27017"String
Storage & PC · ServermongoDBDatabaseName

MongoDB Database Name: No en_us.json tooltip in jar 1.8.4; annotated under Category.Storage (Server) in CobblemonConfig.class.

Default: "cobblemon"String
Spawning · ServermaxVerticalCorrectionBlocks

Max Vertical Correction Blocks: The maximum number of blocks that can be corrected when choosing a spawning area. The larger this value, the more reliably spawning will work in vertically bumpy terrain such as mountains. Raising this value only has a very small, negative impact on performance.

Default: 64IntegerRange: 1 – 200
Spawning · ServerminimumLevelRangeMax

Minimum Level Range Max: The value considered to be the highest party Pokémon level when a player's party is empty or extremely low level. The higher this value, the higher the levels of Pokémon can be around players with no or very weak Pokémon.

Default: 10IntegerRange: 1 – 1000
Spawning · ServerenableSpawning

Enable Spawning: Whether to allow Pokémon to spawn.

Default: trueBoolean
Spawning · ServerworldSpawningBlocklist

Per-World Spawning Blocklist: Worlds to disable Pokémon spawning logic in.

Default: [] (empty set)Set<ResourceLocation>
Spawning · ServerminimumDistanceBetweenEntities

Minimum Distance Between Entities: The minimum block distance between spawning Pokémon and existing Entities in the World. This prevents clustered Pokémon spawning.

Default: 8.0Double
Spawning · ServermaxNearbyBlocksHorizontalRange

Max Nearby Blocks Horizontal Range: The maximum number of horizontal blocks away that a block can be for it to still be considered 'nearby' in a spawn condition. Lowering this value can slightly improve performance.

Default: 4Integer
Spawning · ServermaxNearbyBlocksVerticalRange

Max Nearby Blocks Vertical Range: The maximum number of vertical blocks away that a block can be for it to still be considered 'nearby' in a spawn condition. Lowering this value can slightly improve performance.

Default: 2Integer
Spawning · ServermaxVerticalSpace

Max Vertical Space: How far to check above a spawn location to investigate head room. This value exists for performance reasons but should never be less than the largest 'height'/'depth' condition in a spawn file.

Default: 8Integer
Spawning · ServerspawningZoneDiameter

Spawning Zone Diameter: The diameter of the spawning zones that a spawn action can occur in. When this value is large, there is more reliably frequent spawning at the cost of performance.

Default: 8Integer
Spawning · ServerspawningZoneHeight

Spawning Zone Height: The height of the spawning zones that a spawn action can occur in. When this value is large, there is more reliably frequent spawning at the cost of performance.

Default: 16Integer
Spawning · ServerticksBetweenSpawnAttempts

Ticks Between Spawn Attempts: The amount of ticks (~20/second) between spawn attempts.

Default: 20.0Float
Spawning · ServerminimumSpawningZoneDistanceFromPlayer

Minimum Spawning Zone Distance From Player: Minimum amount of blocks from the Player that Pokémon can spawn.

Default: 16.0Float
Spawning · ServermaximumSpawningZoneDistanceFromPlayer

Maximum Spawning Zone Distance From Player: Maximum amount of blocks from the Player that Pokémon can spawn.

Default: 64.0Float
Spawning · ServermaximumSpawnsPerPass

Maximum Spawns Per Pass: The maximum number of spawns that can occur in a single pass of the spawning system. If the spawning zone dimensions are small, this option does very little.

Default: 8Integer
Spawning · ServerexportSpawnConfig

Export Spawn Config: Whether to generate the spawn config for more specific spawning settings.

Default: falseBoolean
Spawning · ServersavePokemonToWorld

Save Pokémon to World: Whether to save Pokémon to the World so they exist after a Chunk/World is reloaded.

Default: trueBoolean
Starters · ServerexportStarterConfig

Export Starter Config: Whether to generate starter.json for editing the starter list.

Default: falseBoolean
Battles · ServerautoUpdateShowdown

Auto Update Showdown: Whether to automatically update Showdown to the version shipped in the current Cobblemon version.

Default: trueBoolean
Battles · ServerdefaultFleeDistance

Default Flee Distance: How far away a Player must get to flee a battle (non-PvP). If the value is -1, battles cannot be fled.

Default: 32.0Float
Battles · ServerallowExperienceFromPvP

Allow Experience from PvP: Whether to allow Exp. gain from PvP battles.

Default: trueBoolean
Battles · ServerexperienceShareMultiplier

Experience Share Multiplier: Multiplier of how much of the total Exp is given to a Pokémon holding an Exp. Share.

Default: 0.5Double
Battles · ServerawardExperienceToFaintedPokemon

Award Exp. to Fainted Pokémon: Whether fainted Pokémon receive Exp. for opponents they helped defeat before fainting.

Default: falseBoolean
Battles · ServerawardExperienceOnBattleLoss

Award Exp. on Battle Loss: Whether Pokémon receive Exp. for opponents they defeated even if the battle is lost. Requires 'Award Exp. to Fainted Pokémon' to be enabled for fainted Pokémon to benefit.

Default: falseBoolean
Battles · ServerluckyEggMultiplier

Lucky Egg Multiplier: Multiplier of how much of the total Exp is given to a Pokémon holding a Lucky Egg.

Default: 1.5Double
Battles · ServerallowSpectating

Allow Spectating: Whether to allow battles to be spectated.

Default: trueBoolean
Pokémon · ServerexperienceMultiplier

Experience Multiplier: Additional Exp. multiplier for Exp. calculation.

Default: 2.0Float
Pokémon · ServerpredationChance

Pokémon predation chance: Chance of Pokémon predating the enemy

Default: 0.05Float
Spawning · ServerpokemonPerChunk

Pokémon per Chunk: The amount of Pokémon allowed within a Chunk when spawning.

Default: 1.0Float
Spawning · ServerpokeSnackPokemonPerChunk

Poké Snack Pokémon per Chunk: The amount of Pokémon allowed within a Chunk when spawning via Poké Snacks.

Default: 2.0Float
Passive Statuses · ServerpassiveStatuses

Passive Statuses: Range of seconds before clearing the status effect. The value is selected randomly from the range each time an effect is applied.

Default: 6 statuses (poison: 180-300s, poisonbadly: 180-300s, paralysis: 180-300s, frozen: 180-300s, sleep: 180-300s, burn: 180-300s)Map<Status, IntRange>
Healing & Fainting · ServerinfiniteHealerCharge

Infinite Healer Charge: Whether Healing Machines have infinite charges to heal Pokémon.

Default: falseBoolean
Healing & Fainting · ServermaxHealerCharge

Max Healer Charge: The maximum amount of full HP restoration Healing Machines can have. 1 charge is equivalent to a Max Revive, plus PP restoration.

Default: 6.0Float
Healing & Fainting · ServersecondsToChargeHealingMachine

Seconds to Fully Charge a Healing Machine: The amount of seconds that takes for a Healing Machine to fully charge.

Default: 900.0Double
Healing & Fainting · ServerdefaultFaintTimer

Default Faint Timer: How many seconds before reviving a fainted Pokémon.

Default: 300Integer
Healing & Fainting · ServerfaintAwakenHealthPercent

Faint Awaken Health Percent: How much HP to restore when defaultFaintTimer is up.

Default: 0.2Float
Healing & Fainting · ServerhealPercent

Heal Percent: How much HP to restore when healTimer is up.

Default: 0.05Double
Healing & Fainting · ServerhealTimer

Heal Timer: How many seconds between HP naturally restoring.

Default: 60Integer
Spawning · ServerbaseApricornTreeGenerationChance

Base Apricorn Tree Generation Chance: Multiplier on biome-based chance for Apricorn trees to spawn during world generation.

Default: 0.1Float
Pokémon · ClientdisplayEntityLevelLabel

Display Entity Level Label: Whether to display the level above a Pokémon.

Default: trueBoolean
Pokémon · ClientdisplayEntityNameLabel

Display Entity Name Label: Whether to display the name above a Pokémon.

Default: trueBoolean
Pokémon · ClientdisplayNameForUnknownPokemon

Display Name for Unknown Pokémon: Whether to display the name above a Pokémon if it has not been scanned with the Pokédex yet.

Default: falseBoolean
Pokémon · ClientdisplayEntityLabelsWhenCrouchingOnly

Display Entity Labels When Crouching Only: Whether to display the name above a Pokémon only when crouching or at all times.

Default: falseBoolean
Pokémon · ClientshoulderMountArmorOffsetBlacklist

Shoulder Mount Armor Offset Blacklist: No en_us.json tooltip in jar 1.8.4; annotated under Category.Pokemon (Client) in CobblemonConfig.class.

Default: [] (empty set)Set<ResourceLocation>
Spawning · ServershinyRate

Shiny Rate: The chance for a spawned Pokémon to be shiny. If 0 no spawned Pokémon will be shiny. Calculated as 1/x.

Default: 8192.0Float
Spawning · ServerfossilMachineAlphaChance

Fossil Machine Alpha Chance: The chance for Pokémon from Fossil Machines to be an Alpha. Calculated as 1/x.

Default: 20Integer
Spawning · ServerfossilMachineShinyChance

Fossil Machine Shiny Chance: The chance for Pokémon from Fossil Machines to be shiny. Calculated as 1/x.

Default: 100Integer
Spawning · ServerhoneySlatherAlphaChance

Honey Slather Alpha Chance: The chance for Pokémon influenced by slathered honey logs to be an Alpha. Calculated as 1/x.

Default: 100Integer
Spawning · ServerhoneySlatherShinyChance

Honey Slather Shiny Chance: The chance for Pokémon influenced by slathered honey logs to be shiny. Calculated as 1/x.

Default: 4000Integer
Pokémon · ClientshinyNoticeParticlesDistance

Shiny Notice Particles Distance: The distance at which shiny particles for Pokémon will start appearing.

Default: 24.0Float
Pokémon · ServercaptureCalculator

Capture Calculator: The ID of the capture calculator. Can be added by another mod. If the ID doesn't exist it uses the default capture calculator.

Default: cobblemonCaptureCalculator
Pokémon · ServerplayerDamagePokemon

Player Damage Pokémon: Whether Players can attack Pokémon like normal Minecraft entities.

Default: trueBoolean
Pokémon · ServerpokemonIntrinsicSizeMin

Pokémon Intrinsic Size Min: Minimum intrinsic size multiplier for spawned Pokémon.

Default: 0.95Float
Pokémon · ServerpokemonIntrinsicSizeMax

Pokémon Intrinsic Size Max: Maximum intrinsic size multiplier for spawned Pokémon.

Default: 1.05Float
Pokémon · ServerbabyPokemonLevelDuration

Baby Pokémon Level Duration: The number of levels that a Pokémon is considered a baby for the purposes of appearing smaller than usual.

Default: 9Integer
Pokémon · ServerbabyPokemonSizeMultiplier

Baby Pokémon Minimum Size: The size multiplier applied to a level 1 Pokémon.

Default: 0.9Float
Pokémon · ServerminimumRidingScale

Minimum Pokémon Scale Modifier to Ride: The scale at which a Pokémon can no longer be ridden.

Default: 0.75Float
World & Worldgen · ServerappleLeftoversChance

Apple Leftovers Chance: The chance to drop Leftovers when a Player eats an item that has #cobblemon:held/leaves_leftovers.

Default: 0.025Double
World & Worldgen · ServermaxRootsInArea

Max Roots in Area: The maximum number of #cobblemon:roots that can generate within a 8x2x8 sphere.

Default: 9Integer
World & Worldgen · ServerbigRootPropagationChance

Big Root Propagation Chance: The chance that Big Roots will grow more roots where possible.

Default: 0.5Double
World & Worldgen · ServerenergyRootChance

Energy Root Chance: The chance that a Big Root will grow an Energy Root.

Default: 0.25Double
Pokémon · ServermaxDynamaxLevel

Max Dynamax Level: The maximum Dynamax level Pokémon can be upgraded to.

Default: 10IntegerRange: 0 – 10
Spawning · ServerteraTypeRate

Tera Type Rate: The chance for a spawned Pokémon to have a Tera type that doesn't match it's typing. Calculated as 1/x.

Default: 20.0Float
World & Worldgen · ServerdefaultPasturedPokemonLimit

Default Pastured Pokémon Limit: The maximum Pokémon that can be placed in a Pasture block.

Default: 16Integer
World & Worldgen · ServerpastureBlockUpdateTicks

Pasture Block Update Ticks: The number of server ticks between Pasture block updates.

Default: 40Integer
World & Worldgen · ServerpastureMaxWanderDistance

Pasture Max Wander Distance: The maximum amount of blocks a Pokémon can move from the Pasture block.

Default: 32Integer
World & Worldgen · ServerpastureMaxPerChunk

Pasture Max per Chunk: The maximum number of pastured Pokémon that can be sent out in a chunk.

Default: 4.0Float
World & Worldgen · ServermaxInsertedFossilItems

Max Inserted Fossil Items: The maximum amount of fossils that can be added to the FossilAnalyzer.

Default: 2Integer
Battles · ClientwalkingInBattleAnimations

Walking in Battle Animations: Whether to allow walking animations to play during battle animations.

Default: falseBoolean
Battles · ServerbattleWildMaxDistance

Battle Wild Max Distance: The maximum distance at which wild battles can occur.

Default: 12.0Float
World & Worldgen · ServertradeMaxDistance

Trade Max Distance: The maximum distance at which trades are allowed.

Default: 12.0Float
Battles · ServerbattlePvPMaxDistance

Battle PvP Max Distance: The maximum distance at which PvP battles can occur.

Default: 32.0Float
Battles · ServerbattleSpectateMaxDistance

Battle Spectate Max Distance: The maximum distance at which players can spectate battles.

Default: 64.0Float
Pokédex & MoveDex · ServermaxPokedexScanningDetectionRange

Max Pokédex Scanning Detection Range: The maximum distance at which the Pokédex can detect and scan Pokémon.

Default: 10.0Double
Pokédex & MoveDex · ServerunlockAllMoveDexMovesByDefault

Unlock All Moves: If enabled, TM and level-up moves are unlocked and discovered in the TM Machine and Pokédex Move Dex.

Default: falseBoolean
Pokémon · ServerinfiniteTmUses

Infinite TM Uses: TMs are not consumed when teaching moves.

Default: falseBoolean
Pokédex & MoveDex · ClienthideUnimplementedPokemonInThePokedex

Hide Unimplemented Pokémon in the Pokédex: Whether to hide unimplemented Pokémon from the Pokédex.

Default: falseBoolean
Interface & UI · ClientsummaryPokemonFollowCursor

Make Pokémon Follow Cursor: Whether or not Pokémon should follow the mouse cursor with their heads in the Summary screen.

Default: trueBoolean
Interface & UI · ClientpartyPortraitAnimations

Party Portrait Animations: No en_us.json tooltip in jar 1.8.4; annotated under Category.Interface (Client) in CobblemonConfig.class.

Default: NEVER_ANIMATEEnum (PokemonGUIAnimationStyle)
Interface & UI · ClientpcProfileAnimations

PC Profile Animations: No en_us.json tooltip in jar 1.8.4; annotated under Category.Interface (Client) in CobblemonConfig.class.

Default: ANIMATE_SELECTEDEnum (PokemonGUIAnimationStyle)
Interface & UI · ClientsummaryProfileAnimations

Summary Profile Animations: No en_us.json tooltip in jar 1.8.4; annotated under Category.Interface (Client) in CobblemonConfig.class.

Default: ANIMATE_SELECTEDEnum (PokemonGUIAnimationStyle)
Interface & UI · ClientanimateBattleTiles

Animate Battle Tiles: Whether or not the battle portraits of Pokemon should be animated.

Default: falseBoolean
Internal Metadata · Not AnnotatedthirdPersonViewBobbing

Third-Person View Bobbing: No @CobblemonConfigField annotation and no en_us.json tooltip in jar 1.8.4, so it does not appear in the in-game config screen; it is still saved in main.json.

Default: trueBoolean
Riding & Mounts · ClientinvertPitch

Invert Pitch: Invert the direction for pitch (up and down).

Default: falseBoolean
Riding & Mounts · ClientinvertYaw

Invert Yaw: Invert the direction for yaw (left and right).

Default: falseBoolean
Riding & Mounts · ClientxAxisSensitivity

X-Axis Sensitivity: Multiply X-Axis input by this amount.

Default: 1.0Double
Riding & Mounts · ClientyAxisSensitivity

Y-Axis Sensitivity: Multiply Y-Axis input by this amount.

Default: 1.0Double
Riding & Mounts · ClientswapXAndYAxes

Swap X and Y Axes: Swap the X and Y input axes.

Default: falseBoolean
Riding & Mounts · ClientdisableRoll

Disable Roll: Stop the camera from rolling.

Default: falseBoolean
Riding & Mounts · ClientdisplayControlSeconds

Display Controls Overlay Duration: How long in seconds the display controls overlay should stay on screen after mounting a Pokémon.

Default: 0Integer
Riding & Mounts · ServerinfiniteRideStamina

Infinite Ride Stamina: Whether rideable Pokémon have infinite stamina.

Default: falseBoolean
Riding & Mounts · ClientrememberRidingCamera

Remember Riding Camera: Whether the camera mode will automatically switch to the last used camera mode when mounting a rideable Pokémon.

Default: falseBoolean
Riding & Mounts · ClientenableInFlightDismounting

Enable In-Flight Dismounting: Allows players to dismount while riding a Pokémon in the air. When disabled, dismounting is only possible while on the ground.

Default: falseBoolean
Debug · ClientenableDebugKeys

Enable Debug Keys: Enables additional commands and chat logging to assist with implementing Pokémon (see the wiki for a list of commands).

Default: falseBoolean
Spawning · ServerdespawnerNearDistance

Near Distance: The minimum distance from a player within which Pokémon are not despawned, regardless of age.

Default: 32.0Float
Spawning · ServerdespawnerFarDistance

Far Distance: The maximum distance from a player where Pokémon can be despawned if they are older than the minimum age.

Default: 96.0Float
Spawning · ServerdespawnerMinAgeTicks

Min Age (Ticks): The minimum age (in game ticks) a Pokémon must reach before it can be despawned at the far distance.

Default: 600Integer
Spawning · ServerdespawnerMaxAgeTicks

Max Age (Ticks): The age (in game ticks) a Pokémon must reach before it can be despawned at the near distance boundary.

Default: 3600Integer
Spawning · ServermonitorAlphaRate

Data Monitor Alpha Rate: The chance for a Data Monitor Pokémon to be alpha. Calculated as 1/x.

Default: 40Integer
Spawning · ServermonitorShinyRate

Data Monitor Shiny Rate: The chance for a Data Monitor Pokémon to be shiny. Calculated as 1/x.

Default: 200Integer
World & Worldgen · ServertypeGemMaxConnected

Max Connected Type Gem Blocks: No en_us.json tooltip in jar 1.8.4; annotated under Category.World (Server) in CobblemonConfig.class.

Default: 16Integer
World & Worldgen · ServertypeGemMinGrowth

Min Type Gem Growth: No en_us.json tooltip in jar 1.8.4; annotated under Category.World (Server) in CobblemonConfig.class.

Default: 8Integer
World & Worldgen · ServertypeGemGrowthChance

Type Gem Growth Chance: No en_us.json tooltip in jar 1.8.4; annotated under Category.World (Server) in CobblemonConfig.class.

Default: 0.1Float
World & Worldgen · ServertypeGemInitialExpansionCycles

Type Gem Initial Expansion Cycles: No en_us.json tooltip in jar 1.8.4; annotated under Category.World (Server) in CobblemonConfig.class.

Default: 100Integer
World & Worldgen · ServertypeGemTickChance

Type Gem Tick Chance: No en_us.json tooltip in jar 1.8.4; annotated under Category.World (Server) in CobblemonConfig.class.

Default: 1.0Float

Best Spawner Bucket Weights (best-spawner-config.json)

Spawn Pools Hub →

Extracted verbatim from data/cobblemon/spawning/best-spawner-config.json (schema version 2, replaceWithNewVersion: true). The exportSpawnConfig key in main.json (default false) controls whether the spawn config is generated for more specific spawning settings. Position type weights default to grounded: 1, submerged: 1, surface: 1.

BucketWorld Spawns (worldBuckets)Fishing (fishingBuckets)Poké Snack (pokeSnackBuckets)Activated Habitat (activatedHabitatBuckets)
common94%83.25%83.25%83.25%
uncommon5%11.25%11.25%11.25%
rare0.5%4.125%4.125%4.125%
boss0.3%———
ultra-rare0.2%1.375%1.375%1.375%

The jar also bundles an example spawn rule at data/cobblemon/spawn_rules/pikachu_bright.json showing MoLang weight, filter and location components. It ships with enabled: false, so it changes nothing until a datapack enables it:

ComponentSpawn Detail SelectorPosition SelectorEffect
Component 1 (weight)v.spawn_detail.pokemon.species == 'pikachu'v.spawnable_position.light > 8v.weight * 20
Component 2 (filter)v.spawn_detail.pokemon.species == 'pikachu'v.spawnable_position.light < 8false
Component 3 (location)——v.y > 100 || v.world.is_of('minecraft:overworld')

Default Passive Status Cure Ranges (passiveStatuses)

In CobblemonConfig.class, passiveStatuses is filled from the six PersistentStatus subclasses. The en_us.json tooltip describes it as the range of seconds before the status clears, with a random value picked from the range each time the effect is applied. Bytecode defaults:

StatusConfig KeyDefault Duration Range
Poisonpoison180-300 seconds (3–5 min)
Badly Poisonedpoisonbadly180-300 seconds (3–5 min)
Paralysisparalysis180-300 seconds (3–5 min)
Frozenfrozen180-300 seconds (3–5 min)
Sleepsleep180-300 seconds (3–5 min)
Burnburn180-300 seconds (3–5 min)

Hard Bytecode Range Constraints (7 Fields)

Seven integer fields carry an explicit @IntConstraint annotation on CobblemonConfig.class that clamp values entered in the in-game config screen or main.json:

Config KeyUI LabelDefaultAllowed RangeAnnotation
maxPokemonLevelMax Pokémon Level1001 – 1000@IntConstraint
maxPokemonFriendshipMax Pokémon Friendship2550 – 1000@IntConstraint
defaultBoxCountDefault Box Count401 – 1000@IntConstraint
pokemonSaveIntervalSecondsPokémon Save Interval Seconds301 – 120@IntConstraint
maxVerticalCorrectionBlocksMax Vertical Correction Blocks641 – 200@IntConstraint
minimumLevelRangeMaxMinimum Level Range Max101 – 1000@IntConstraint
maxDynamaxLevelMax Dynamax Level100 – 10@IntConstraint

Complete 118-Key main.json Reference Table

SMP & Hardcore Profiles →
JSON Key & LabelCategoryScopeTypeBytecode DefaultBounds
lastSavedVersion
Last Saved Version
Internal MetadataNot AnnotatedString"0.0.1"—
maxPokemonLevel
Max Pokémon Level
PokémonServerInteger1001 – 1000
maxPokemonFriendship
Max Pokémon Friendship
PokémonServerInteger2550 – 1000
announceDropItems
Announce Drop Items
PokémonServerBooleantrue—
defaultDropItemMethod
Default Drop Item Method
PokémonServerEnum (ItemDropMethod)ON_ENTITY—
dropAfterDeathAnimation
Drops After Death Animation
PokémonServerBooleanfalse—
ambientPokemonCryTicks
Ambient Pokémon Cry Ticks
PokémonServerInteger1080—
defaultKeyItems
Default Key Items
Storage & PCServerSet<ResourceLocation>[] (empty set)—
defaultBoxCount
Default Box Count
Storage & PCServerInteger401 – 1000
pokemonSaveIntervalSeconds
Pokémon Save Interval Seconds
Storage & PCServerInteger301 – 120
storageFormat
Storage Format
Storage & PCServerString"nbt"—
preventCompletePartyDeposit
Prevent Complete Party Deposit
Storage & PCServerBooleanfalse—
mongoDBConnectionString
MongoDB Connection String
Storage & PCServerString"mongodb://localhost:27017"—
mongoDBDatabaseName
MongoDB Database Name
Storage & PCServerString"cobblemon"—
maxVerticalCorrectionBlocks
Max Vertical Correction Blocks
SpawningServerInteger641 – 200
minimumLevelRangeMax
Minimum Level Range Max
SpawningServerInteger101 – 1000
enableSpawning
Enable Spawning
SpawningServerBooleantrue—
worldSpawningBlocklist
Per-World Spawning Blocklist
SpawningServerSet<ResourceLocation>[] (empty set)—
minimumDistanceBetweenEntities
Minimum Distance Between Entities
SpawningServerDouble8.0—
maxNearbyBlocksHorizontalRange
Max Nearby Blocks Horizontal Range
SpawningServerInteger4—
maxNearbyBlocksVerticalRange
Max Nearby Blocks Vertical Range
SpawningServerInteger2—
maxVerticalSpace
Max Vertical Space
SpawningServerInteger8—
spawningZoneDiameter
Spawning Zone Diameter
SpawningServerInteger8—
spawningZoneHeight
Spawning Zone Height
SpawningServerInteger16—
ticksBetweenSpawnAttempts
Ticks Between Spawn Attempts
SpawningServerFloat20.0—
minimumSpawningZoneDistanceFromPlayer
Minimum Spawning Zone Distance From Player
SpawningServerFloat16.0—
maximumSpawningZoneDistanceFromPlayer
Maximum Spawning Zone Distance From Player
SpawningServerFloat64.0—
maximumSpawnsPerPass
Maximum Spawns Per Pass
SpawningServerInteger8—
exportSpawnConfig
Export Spawn Config
SpawningServerBooleanfalse—
savePokemonToWorld
Save Pokémon to World
SpawningServerBooleantrue—
exportStarterConfig
Export Starter Config
StartersServerBooleanfalse—
autoUpdateShowdown
Auto Update Showdown
BattlesServerBooleantrue—
defaultFleeDistance
Default Flee Distance
BattlesServerFloat32.0—
allowExperienceFromPvP
Allow Experience from PvP
BattlesServerBooleantrue—
experienceShareMultiplier
Experience Share Multiplier
BattlesServerDouble0.5—
awardExperienceToFaintedPokemon
Award Exp. to Fainted Pokémon
BattlesServerBooleanfalse—
awardExperienceOnBattleLoss
Award Exp. on Battle Loss
BattlesServerBooleanfalse—
luckyEggMultiplier
Lucky Egg Multiplier
BattlesServerDouble1.5—
allowSpectating
Allow Spectating
BattlesServerBooleantrue—
experienceMultiplier
Experience Multiplier
PokémonServerFloat2.0—
predationChance
Pokémon predation chance
PokémonServerFloat0.05—
pokemonPerChunk
Pokémon per Chunk
SpawningServerFloat1.0—
pokeSnackPokemonPerChunk
Poké Snack Pokémon per Chunk
SpawningServerFloat2.0—
passiveStatuses
Passive Statuses
Passive StatusesServerMap<Status, IntRange>6 statuses (poison: 180-300s, poisonbadly: 180-300s, paralysis: 180-300s, frozen: 180-300s, sleep: 180-300s, burn: 180-300s)—
infiniteHealerCharge
Infinite Healer Charge
Healing & FaintingServerBooleanfalse—
maxHealerCharge
Max Healer Charge
Healing & FaintingServerFloat6.0—
secondsToChargeHealingMachine
Seconds to Fully Charge a Healing Machine
Healing & FaintingServerDouble900.0—
defaultFaintTimer
Default Faint Timer
Healing & FaintingServerInteger300—
faintAwakenHealthPercent
Faint Awaken Health Percent
Healing & FaintingServerFloat0.2—
healPercent
Heal Percent
Healing & FaintingServerDouble0.05—
healTimer
Heal Timer
Healing & FaintingServerInteger60—
baseApricornTreeGenerationChance
Base Apricorn Tree Generation Chance
SpawningServerFloat0.1—
displayEntityLevelLabel
Display Entity Level Label
PokémonClientBooleantrue—
displayEntityNameLabel
Display Entity Name Label
PokémonClientBooleantrue—
displayNameForUnknownPokemon
Display Name for Unknown Pokémon
PokémonClientBooleanfalse—
displayEntityLabelsWhenCrouchingOnly
Display Entity Labels When Crouching Only
PokémonClientBooleanfalse—
shoulderMountArmorOffsetBlacklist
Shoulder Mount Armor Offset Blacklist
PokémonClientSet<ResourceLocation>[] (empty set)—
shinyRate
Shiny Rate
SpawningServerFloat8192.0—
fossilMachineAlphaChance
Fossil Machine Alpha Chance
SpawningServerInteger20—
fossilMachineShinyChance
Fossil Machine Shiny Chance
SpawningServerInteger100—
honeySlatherAlphaChance
Honey Slather Alpha Chance
SpawningServerInteger100—
honeySlatherShinyChance
Honey Slather Shiny Chance
SpawningServerInteger4000—
shinyNoticeParticlesDistance
Shiny Notice Particles Distance
PokémonClientFloat24.0—
captureCalculator
Capture Calculator
PokémonServerCaptureCalculatorcobblemon—
playerDamagePokemon
Player Damage Pokémon
PokémonServerBooleantrue—
pokemonIntrinsicSizeMin
Pokémon Intrinsic Size Min
PokémonServerFloat0.95—
pokemonIntrinsicSizeMax
Pokémon Intrinsic Size Max
PokémonServerFloat1.05—
babyPokemonLevelDuration
Baby Pokémon Level Duration
PokémonServerInteger9—
babyPokemonSizeMultiplier
Baby Pokémon Minimum Size
PokémonServerFloat0.9—
minimumRidingScale
Minimum Pokémon Scale Modifier to Ride
PokémonServerFloat0.75—
appleLeftoversChance
Apple Leftovers Chance
World & WorldgenServerDouble0.025—
maxRootsInArea
Max Roots in Area
World & WorldgenServerInteger9—
bigRootPropagationChance
Big Root Propagation Chance
World & WorldgenServerDouble0.5—
energyRootChance
Energy Root Chance
World & WorldgenServerDouble0.25—
maxDynamaxLevel
Max Dynamax Level
PokémonServerInteger100 – 10
teraTypeRate
Tera Type Rate
SpawningServerFloat20.0—
defaultPasturedPokemonLimit
Default Pastured Pokémon Limit
World & WorldgenServerInteger16—
pastureBlockUpdateTicks
Pasture Block Update Ticks
World & WorldgenServerInteger40—
pastureMaxWanderDistance
Pasture Max Wander Distance
World & WorldgenServerInteger32—
pastureMaxPerChunk
Pasture Max per Chunk
World & WorldgenServerFloat4.0—
maxInsertedFossilItems
Max Inserted Fossil Items
World & WorldgenServerInteger2—
walkingInBattleAnimations
Walking in Battle Animations
BattlesClientBooleanfalse—
battleWildMaxDistance
Battle Wild Max Distance
BattlesServerFloat12.0—
tradeMaxDistance
Trade Max Distance
World & WorldgenServerFloat12.0—
battlePvPMaxDistance
Battle PvP Max Distance
BattlesServerFloat32.0—
battleSpectateMaxDistance
Battle Spectate Max Distance
BattlesServerFloat64.0—
maxPokedexScanningDetectionRange
Max Pokédex Scanning Detection Range
Pokédex & MoveDexServerDouble10.0—
unlockAllMoveDexMovesByDefault
Unlock All Moves
Pokédex & MoveDexServerBooleanfalse—
infiniteTmUses
Infinite TM Uses
PokémonServerBooleanfalse—
hideUnimplementedPokemonInThePokedex
Hide Unimplemented Pokémon in the Pokédex
Pokédex & MoveDexClientBooleanfalse—
summaryPokemonFollowCursor
Make Pokémon Follow Cursor
Interface & UIClientBooleantrue—
partyPortraitAnimations
Party Portrait Animations
Interface & UIClientEnum (PokemonGUIAnimationStyle)NEVER_ANIMATE—
pcProfileAnimations
PC Profile Animations
Interface & UIClientEnum (PokemonGUIAnimationStyle)ANIMATE_SELECTED—
summaryProfileAnimations
Summary Profile Animations
Interface & UIClientEnum (PokemonGUIAnimationStyle)ANIMATE_SELECTED—
animateBattleTiles
Animate Battle Tiles
Interface & UIClientBooleanfalse—
thirdPersonViewBobbing
Third-Person View Bobbing
Internal MetadataNot AnnotatedBooleantrue—
invertPitch
Invert Pitch
Riding & MountsClientBooleanfalse—
invertYaw
Invert Yaw
Riding & MountsClientBooleanfalse—
xAxisSensitivity
X-Axis Sensitivity
Riding & MountsClientDouble1.0—
yAxisSensitivity
Y-Axis Sensitivity
Riding & MountsClientDouble1.0—
swapXAndYAxes
Swap X and Y Axes
Riding & MountsClientBooleanfalse—
disableRoll
Disable Roll
Riding & MountsClientBooleanfalse—
displayControlSeconds
Display Controls Overlay Duration
Riding & MountsClientInteger0—
infiniteRideStamina
Infinite Ride Stamina
Riding & MountsServerBooleanfalse—
rememberRidingCamera
Remember Riding Camera
Riding & MountsClientBooleanfalse—
enableInFlightDismounting
Enable In-Flight Dismounting
Riding & MountsClientBooleanfalse—
enableDebugKeys
Enable Debug Keys
DebugClientBooleanfalse—
despawnerNearDistance
Near Distance
SpawningServerFloat32.0—
despawnerFarDistance
Far Distance
SpawningServerFloat96.0—
despawnerMinAgeTicks
Min Age (Ticks)
SpawningServerInteger600—
despawnerMaxAgeTicks
Max Age (Ticks)
SpawningServerInteger3600—
monitorAlphaRate
Data Monitor Alpha Rate
SpawningServerInteger40—
monitorShinyRate
Data Monitor Shiny Rate
SpawningServerInteger200—
typeGemMaxConnected
Max Connected Type Gem Blocks
World & WorldgenServerInteger16—
typeGemMinGrowth
Min Type Gem Growth
World & WorldgenServerInteger8—
typeGemGrowthChance
Type Gem Growth Chance
World & WorldgenServerFloat0.1—
typeGemInitialExpansionCycles
Type Gem Initial Expansion Cycles
World & WorldgenServerInteger100—
typeGemTickChance
Type Gem Tick Chance
World & WorldgenServerFloat1.0—