COWMODSКаталог модов

Cobblemon TP-Pastures (No despawn for Pasture Block's)

Cobblemon Pasture Recall/Teleport Change

Автор: datibrr7,7 тыс.13обновлён 2 окт. 2026 г.
ДекорОптимизация

Описание

Cobblemon TP-Pastures

Prevents pastured Pokémon from being recalled to the PC when they wander too far away. Instead, they are teleported back near their Pasture Block.

The mod includes automatic radius configuration, safe landing detection, fall damage protection, configurable damage immunity, hazardous-state removal, optional teleport effects, and administrative commands.

It is available for both Fabric and NeoForge on Minecraft 1.21.1.

Server-side

This mod works in both singleplayer and multiplayer.

For multiplayer servers, this is a server-side mod, so it only needs to be installed on the server. Download the Fabric or NeoForge version that matches your server’s mod loader.

Why should you use it?

  • Prevents your Pasture Block from suddenly becoming almost empty because Pokémon wandered too far away.
  • Removes the need to trap your Pokémon with fences just to stop them from being recalled.
  • Automatically adjusts the teleport radius based on Cobblemon’s configuration.
  • Protects Pokémon from fall damage caused by teleporting them back.
  • Protects pastured Pokémon from damage using a configurable whitelist or blacklist.
  • Removes fire, drowning, and freezing states after teleporting.
  • Improves compatibility with Cobbleworkers, allowing it to work more reliably.
  • Lets you use pastured Pokémon more freely for decoration, zoos, safaris, farms, and similar builds.

You may also want to use Cobblemon: SafePastures, which protects your Pokémon from damage. SafePastures is no longer necessary for damage protection because TP-Pastures now includes configurable damage immunity for Pokémon assigned to a Pasture Block.

Cobblemon 1.8.0 attempted to address pastured Pokémon despawning or running away, but Pokémon can still be recalled to the PC after leaving their allowed area. TP-Pastures is therefore still useful to prevent this behavior.

Dependencies

All versions require:

Fabric version:

NeoForge version:

Configuration

The config file is located here:

...\config\cobblemon_tp_pastures.json

Automatic radius configuration

By default, TP-Pastures automatically reads Cobblemon’s pastureMaxWanderDistance setting and subtracts the configured radiusMargin.

The default radiusMargin is 4.

Examples:

  • Cobblemon radius 32 → TP-Pastures radius 28
  • Cobblemon radius 64 → TP-Pastures radius 60

This means you normally only need to change Cobblemon’s pastureMaxWanderDistance. TP-Pastures automatically adjusts its effective teleport radius.

Cobblemon’s value can usually be found here:

...\config\cobblemon\main.json

Cobblemon 1.8.0 changed the default pastureMaxWanderDistance from 64 to 32. With automatic radius configuration enabled, TP-Pastures automatically changes its effective radius from 60 to 28.

If Cobblemon’s configuration cannot be read, maxPastureRadius is used as a fallback.

Manual radius configuration

To use a fixed radius instead, set:

"automaticRadius": false

TP-Pastures will then use the value configured under maxPastureRadius.

When using manual mode, always keep TP-Pastures’ maxPastureRadius lower than Cobblemon’s pastureMaxWanderDistance. Otherwise, Cobblemon may recall the Pokémon before TP-Pastures can teleport it back.

Using a larger pasture radius

When automatic radius configuration is enabled, you only need to increase Cobblemon’s pastureMaxWanderDistance.

For example:

"pastureMaxWanderDistance": 64

With the default radiusMargin of 4, TP-Pastures will automatically use an effective radius of 60.

You can change radiusMargin if you want TP-Pastures to teleport Pokémon sooner or later.

Updating from an older version

Existing config files are preserved when updating.

New settings are automatically added when the config is loaded. An old maxPastureRadius value may remain in the file, but it is only used as a fallback while automaticRadius is enabled.

You no longer need to manually change an old radius such as 54 to 28 when using automatic radius configuration.

Damage protection

By default, Pokémon currently assigned to a Pasture Block are protected from all damage.

Damage protection can be customized using:

  • invulnerablePasturedPokemon
  • damageFilterMode
  • damageTypes

Blacklist mode

BLACKLIST prevents the damage types listed under damageTypes.

The default wildcard configuration prevents all damage:

"damageFilterMode": "BLACKLIST",
"damageTypes": [
  "*"
]

You can replace * with individual Minecraft damage type IDs if only specific damage types should be prevented:

"damageTypes": [
  "minecraft:in_fire",
  "minecraft:on_fire",
  "minecraft:fall"
]

Whitelist mode

WHITELIST allows the damage types listed under damageTypes and prevents all other damage.

For example, this allows fall damage while preventing other damage:

"damageFilterMode": "WHITELIST",
"damageTypes": [
  "minecraft:fall"
]

Set invulnerablePasturedPokemon to false to disable general damage protection completely.

Teleport-related fall damage can still be prevented separately using preventTeleportFallDamage.

Commands

  • /tppastures — Displays the current configuration status.
  • /tppastures status — Displays the effective radius and enabled protection settings.
  • /tppastures reload — Reloads the configuration without restarting the server. Requires permission level 2 (server operator).

Default config

{
  "_automaticRadius_info": "If true, the teleport radius is automatically set to Cobblemon's pastureMaxWanderDistance minus radiusMargin. maxPastureRadius is used as a fallback if Cobblemon's config is unavailable. Default: true.",
  "automaticRadius": true,
  "_radiusMargin_info": "How many blocks are subtracted from Cobblemon's pastureMaxWanderDistance in automatic mode. Default: 4.",
  "radiusMargin": 4,
  "_maxPastureRadius_info": "Manual teleport radius and fallback for automatic mode. Must be lower than Cobblemon's pastureMaxWanderDistance. Default: 28.",
  "maxPastureRadius": 28,
  "_useHorizontalDistanceOnly_info": "If true, only horizontal (X/Z) distance is checked, ignoring height. Good for pastures near cliffs or multi-level farms. If false, full 3D sphere distance is used. Default: false.",
  "useHorizontalDistanceOnly": false,
  "_candidateTeleportAttempts_info": "How many random positions around the pasture block are tried when searching for a safe landing spot (solid ground + clear headroom). Higher values reduce the chance of landing inside a block, at a tiny performance cost. Default: 24.",
  "candidateTeleportAttempts": 24,
  "_fallbackYOffset_info": "If no safe position is found after candidateTeleportAttempts tries, the Pokémon is placed this many blocks directly above the pasture block as a last resort. Default: 1.5.",
  "fallbackYOffset": 1.5,
  "_debugLogging_info": "If true, nearby players see a chat message whenever a Pokémon is teleported back (e.g. 'Pikachu left tether box → (x, y, z)'). Default: false.",
  "debugLogging": false,
  "_serverLogging_info": "If true, teleport events are written to the server log. Disable this if the log spam is unwanted. Default: false.",
  "serverLogging": false,
  "_preventTeleportFallDamage_info": "If true, a Pokémon teleported back by TP-Pastures takes no fall damage from that teleport. Protection lasts until it lands. Default: true.",
  "preventTeleportFallDamage": true,
  "_invulnerablePasturedPokemon_info": "If true, damage to Pokémon currently assigned to a Pasture Block is filtered using damageFilterMode and damageTypes. Default: true.",
  "invulnerablePasturedPokemon": true,
  "_damageFilterMode_info": "BLACKLIST prevents the damage types listed in damageTypes. WHITELIST allows only the damage types listed in damageTypes. Use Minecraft damage type IDs such as minecraft:in_fire. Default: BLACKLIST.",
  "damageFilterMode": "BLACKLIST",
  "_damageTypes_info": "Damage type IDs used by damageFilterMode. The wildcard * matches every damage type. Default: [\"*\"] (all damage is prevented).",
  "damageTypes": [
    "*"
  ],
  "_clearHazardousStatesAfterTeleport_info": "If true, fire, drowning and freezing states are cleared after TP-Pastures teleports a Pokémon. Default: true.",
  "clearHazardousStatesAfterTeleport": true,
  "_teleportParticles_info": "If true, portal particles are shown at the old and new position when a Pokémon is teleported. Default: false.",
  "teleportParticles": false,
  "_teleportSounds_info": "If true, an Enderman teleport sound is played at the old and new position when a Pokémon is teleported. Default: false.",
  "teleportSounds": false
}

Support / Bug Reports

I currently do not use a dedicated platform for support or bug reports. If you need help or want to report an issue, you can contact me on Discord: @datibrr

Галерея

Finally, freedom!They will come backDecorate Your WorldBe Creative

Последние версии

Все версии →
release

Cobblemon TP-Pastures 1.21.1-1.3.0

1.21.1-1.3.0
2 окт. 2026 г.540Minecraft: 1.21.1neoforge
Скачать
Что нового
- Added an automatic radius mode that uses Cobblemon's current `pastureMaxWanderDistance` value and subtracts a configurable safety margin (`radiusMargin`). This mode is enabled by default. - Added `/tppastures reload` to reload TP-Pastures' configuration without restarting the server. This command requires operator permission level 2. - Added `/tppastures status` to display the currently active radius and protection settings. - Added configurable damage type filtering for pastured Pokémon using `BLACKLIST` and `WHITELIST` modes. - Changed the default damage protection settings to prevent all damage to pastured Pokémon on newly generated configurations. - Added an option to clear hazardous states after teleporting a Pokémon (`clearHazardousStatesAfterTeleport`). This extinguishes fire, restores air and removes freezing. Enabled by default. - Added optional portal particles when a Pokémon is teleported (`teleportParticles`). Disabled by default. - Added optional teleport sounds when a Pokémon is teleported (`teleportSounds`). Disabled by default. ### Configuration note Existing configuration values are preserved when updating. If your existing config contains: `"invulnerablePasturedPokemon": false` pastured Pokémon will remain vulnerable until you change it to `true`. The automatic radius uses Cobblemon's currently loaded configuration. After changing Cobblemon's `pastureMaxWanderDistance`, reload Cobblemon's configuration or restart the server.
release

Cobblemon TP-Pastures 1.21.1-1.3.0

1.21.1-1.3.0
2 окт. 2026 г.1,2 тыс.Minecraft: 1.21.1fabric
Скачать
Что нового
- Added an automatic radius mode that uses Cobblemon's current `pastureMaxWanderDistance` value and subtracts a configurable safety margin (`radiusMargin`). This mode is enabled by default. - Added `/tppastures reload` to reload TP-Pastures' configuration without restarting the server. This command requires operator permission level 2. - Added `/tppastures status` to display the currently active radius and protection settings. - Added configurable damage type filtering for pastured Pokémon using `BLACKLIST` and `WHITELIST` modes. - Changed the default damage protection settings to prevent all damage to pastured Pokémon on newly generated configurations. - Added an option to clear hazardous states after teleporting a Pokémon (`clearHazardousStatesAfterTeleport`). This extinguishes fire, restores air and removes freezing. Enabled by default. - Added optional portal particles when a Pokémon is teleported (`teleportParticles`). Disabled by default. - Added optional teleport sounds when a Pokémon is teleported (`teleportSounds`). Disabled by default. ### Configuration note Existing configuration values are preserved when updating. If your existing config contains: `"invulnerablePasturedPokemon": false` pastured Pokémon will remain vulnerable until you change it to `true`. The automatic radius uses Cobblemon's currently loaded configuration. After changing Cobblemon's `pastureMaxWanderDistance`, reload Cobblemon's configuration or restart the server.
release

Cobblemon TP-Pastures 1.21.1-1.2.1 (NeoForge)

1.21.1-1.2.1
6 сент. 2026 г.507Minecraft: 1.21.1neoforge
Скачать
Что нового
- Fixed the dependency requirement to support Cobblemon 1.7.1 and newer. - No gameplay or configuration changes.
release

Cobblemon TP-Pastures 1.21.1-1.2.1 (Fabric)

1.21.1-1.2.1
6 сент. 2026 г.963Minecraft: 1.21.1fabric
Скачать
Что нового
- Fixed the dependency requirement to support Cobblemon 1.7.1 and newer. - No gameplay or configuration changes.
release

Cobblemon TP-Pastures 1.21.1-1.2 (NeoForge)

1.21.1-1.2
6 сент. 2026 г.47Minecraft: 1.21.1neoforge
Скачать
Что нового
- Updated compatibility for Cobblemon 1.8.0. - Changed the default teleport radius from `54` to `28`. - Added a config option to prevent fall damage after teleporting a pastured Pokémon (`preventTeleportFallDamage`). - Added a config option to make pastured Pokémon immune to all damage (`invulnerablePasturedPokemon`). ### Warning Cobblemon 1.8.0 does not fully fix pastured Pokémon being recalled to the PC when they wander too far away, so TP-Pastures is still required to prevent this behavior. Cobblemon also changed its default `pastureMaxWanderDistance` from `64` to `32`. Because of this, TP-Pastures now uses a default `maxPastureRadius` of `28`. If you want Pokémon to roam farther again, you must increase both values: - `pastureMaxWanderDistance` in Cobblemon’s config - `maxPastureRadius` in TP-Pastures’ config Always keep TP-Pastures’ `maxPastureRadius` lower than Cobblemon’s `pastureMaxWanderDistance`.
release

Cobblemon TP-Pastures 1.21.1-1.2 (Fabric)

1.21.1-1.2
6 сент. 2026 г.81Minecraft: 1.21.1fabric
Скачать
Что нового
- Updated compatibility for Cobblemon 1.8.0. - Changed the default teleport radius from `54` to `28`. - Added a config option to prevent fall damage after teleporting a pastured Pokémon (`preventTeleportFallDamage`). - Added a config option to make pastured Pokémon immune to all damage (`invulnerablePasturedPokemon`). ### Warning Cobblemon 1.8.0 does not fully fix pastured Pokémon being recalled to the PC when they wander too far away, so TP-Pastures is still required to prevent this behavior. Cobblemon also changed its default `pastureMaxWanderDistance` from `64` to `32`. Because of this, TP-Pastures now uses a default `maxPastureRadius` of `28`. If you want Pokémon to roam farther again, you must increase both values: - `pastureMaxWanderDistance` in Cobblemon’s config - `maxPastureRadius` in TP-Pastures’ config Always keep TP-Pastures’ `maxPastureRadius` lower than Cobblemon’s `pastureMaxWanderDistance`.
release

Cobblemon TP-Pastures 1.21.1-1.1 (NeoForge)

1.21.1-1.1
2 авг. 2026 г.502Minecraft: 1.21.1neoforge
Скачать
Что нового
## 1.21.1-1.1 - Ported the mod to NeoForge for Minecraft 1.21.1.
release

Cobblemon TP-Pastures 1.21.1-1.1

1.21.1-1.1
14 мар. 2026 г.3,8 тыс.Minecraft: 1.21.1fabric
Скачать
Что нового
## 1.21.1-1.1 - Added a config option to enable or disable server log messages for teleport events (`serverLogging`).
release

Cobblemon TP-Pastures 1.21.1-1.0

1.21.1-1.0
14 мар. 2026 г.44Minecraft: 1.21.1fabric
Скачать
Что нового
## 1.21.1-1.0 Initial release.