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

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

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.21.1-1.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cobblemon_tp_pastures
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: decoration optimization

资源介绍

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 a configurable teleport radius, safe landing detection, and optional debug notifications. 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.
  • 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.

If Cobblemon eventually changes or fixes the issue where pastured Pokémon despawn or get recalled to the PC, this mod may no longer be necessary. Until then, enjoy!

Dependencies

All versions require:

Fabric version:

NeoForge version:

Configuration

The config file is located here:

...\config\cobblemon_tp_pastures.json

For this mod to work correctly, maxPastureRadius must be set lower than Cobblemon’s own pastureMaxWanderDistance value.

Cobblemon’s value can usually be found here:

...\config\cobblemon\main.json

By default, Cobblemon uses pastureMaxWanderDistance: 64, so TP-Pastures uses maxPastureRadius: 54.

Important note for modpacks

Some modpacks change Cobblemon’s default pastureMaxWanderDistance.

If your modpack changes this value, make sure TP-Pastures’ maxPastureRadius is still lower than it. Otherwise, Cobblemon may recall the Pokémon before TP-Pastures can teleport it back.

For example, Cobbleverse changes pastureMaxWanderDistance from 64 to 36.

To fix this, either change Cobblemon’s pastureMaxWanderDistance back to 64, or lower TP-Pastures’ maxPastureRadius to something like 28 or 30.

Default config

{
  "_maxPastureRadius_info": "Max roam distance in blocks from the pasture block center before a Pokémon is teleported back. Measured horizontally by default (see useHorizontalDistanceOnly). Default: 54 (For best results make sure it is slightly lower than \"pastureMaxWanderDistance\" from Cobblemon's config).",
  "maxPastureRadius": 54,
  "_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
}

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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
UK train announcements / Custom World Project

价格:0 墨喵币
下载量:0

查看详情
flopster: the crucible

价格:0 墨喵币
下载量:0

查看详情
Created Simple Storage Network

价格:0 墨喵币
下载量:0

查看详情
Balanced Weapons

价格:0 墨喵币
下载量:0

查看详情