Cobblemon Pokestop 图标

Cobblemon Pokestop

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.1

平台: fabric

标签: adventure utility worldgen

资源介绍

? Cobblemon Pokéstop - Configuration Guide

NewPokestop
This mod uses a single JSON configuration file to manage both the cooldown timer and the reward pool. You can customize these settings without needing to edit the source code.

Config File Location: config/cobblepokestop_config.json (This file is automatically generated when you launch the game for the first time.)

⚙️ Default Configuration

{
  "cooldownSeconds": 300,
  "rewards": [
    {
      "item": "minecraft:apple",
      "min": 1,
      "max": 5,
      "roll": 1
    },
    {
      "item": "cobblemon:poke_ball",
      "min": 1,
      "max": 5,
      "roll": 1
    }
  ]
}

? Parameters

Global Settings

  • cooldownSeconds: (Integer) The time in seconds a player must wait before they can claim rewards from the same Pokéstop again.

  • Default: 300 (5 minutes)

  • Example: Set to 60 for a 1-minute cooldown.

Rewards List

  • The "rewards" section allows you to define the items dropped by the Pokéstop.

  • item: (String) The item ID in namespace:item_name format.

  • Example: minecraft:bread or cobblemon:poke_ball.

  • min: (Integer) The minimum quantity of items to drop per roll.

  • max: (Integer) The maximum quantity of items to drop per roll.

  • Note: The game will pick a random number between min and max. If you want a fixed amount, set both to the same number.

  • roll: (Integer) The number of times the system attempts to give this item stack.

  • Example: If you drop apples (min: 1, max: 5) and set roll: 2, the game will randomize the apple amount twice (e.g., getting 3 apples on the first roll and 5 on the second, totaling 8).

? Custom Example (Cobblemon Integration)

Here is an example configuration with a 1-minute cooldown that rewards items from the Cobblemon mod with randomized quantities:

{
  "cooldownSeconds": 60,
  "rewards": [
    {
      "item": "minecraft:bread",
      "min": 2,
      "max": 4,
      "roll": 1
    },
    {
      "item": "cobblemon:great_ball",
      "min": 1,
      "max": 1,
      "roll": 1
    },
    {
      "item": "cobblemon:poke_ball",
      "min": 1,
      "max": 5,
      "roll": 2
    },
    {
      "item": "cobblemon:exp_candy_m",
      "min": 1,
      "max": 2,
      "roll": 1
    }
  ]
}

How to Apply Changes

  1. Open config/cobblepokestop_config.json with a text editor.
  2. Modify the values as needed.
  3. Save the file.
  4. Restart the game (or the server) for the changes to take effect.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Terraria Life Crystal Totem of Undying

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

查看详情
Chinese paper lamps

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

查看详情
Afloat

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

查看详情
Varshil of Undying

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

查看详情