Changelog
Changes in Version 1.8.0
New Features
- Loot Tables Configuration Update:
- Introduced a new configuration file
loot_tables_config.json
. - This file is automatically generated at the start of the game and is populated with every key item by default.
- Introduced a new configuration file
- Force Spawning:
- You can now enable Force Spawning in the config. If enabled, players will be able to right-click key items to forcefully spawn Pokémon. The key item must be used as a spawning condition. This will only work if all conditions are met (such as being in the correct biome, achieving the required light level, having an unobstructed view of the sky, etc.) for the Pokémon to spawn. Note: This feature also works for custom spawns created by others; they just need to be in the same spawn pool, which is set inside the config as
force_spawning_spawn_pool
.
- You can now enable Force Spawning in the config. If enabled, players will be able to right-click key items to forcefully spawn Pokémon. The key item must be used as a spawning condition. This will only work if all conditions are met (such as being in the correct biome, achieving the required light level, having an unobstructed view of the sky, etc.) for the Pokémon to spawn. Note: This feature also works for custom spawns created by others; they just need to be in the same spawn pool, which is set inside the config as
Modifications
- Updated Loot Tables:
- The list of loot tables where key items can appear has been modified to be more manageable and configurable via
loot_tables_config.json
. - Each item now has an individual spawn chance specified directly in the JSON configuration, maintaining a default weight of
0.005
across all loot tables.
- The list of loot tables where key items can appear has been modified to be more manageable and configurable via
Configuration Changes
-
New Configuration Settings:
enable_force_spawning
: Determines if right-clicking key items forcefully spawns Pokémon that require the clicked key item as a spawning condition.- Possible values:
true
/false
- Default:
false
- Possible values:
-
force_spawning_spawn_pool
: Determines in which Spawn Pool the force spawning module should check. Possible values: common, uncommon, rare and ultra-rare.- Possible values:
"common"
/"uncommon"
/"rare"
/"ultra-rare"
- Default:
"ultra-rare"
- Possible values:
-
force_spawn_item_cooldown
: Sets the cooldown period in seconds after a key item is used for force spawning before it can be used again.- Possible values: any integer >= 1
- Default: 20
-
force_spawn_check_width
: Defines the width around the player within which the game checks for possible Pokémon spawns when force spawning.- :warning: Increasing this value may cause lag but is more likely to find a spawn. Please adjust carefully.
- Possible values: any integer >= 1
- Default: 100
-
force_spawn_check_height
: Specifies the height around the player for checking potential Pokémon spawns when force spawning, similar toforce_spawn_check_width
.- Possible values: any integer >= 1
- Default: 50
-
Note: Inventory checks happen once for the player who is using the item.
-
Removed Settings:
- The following configuration settings have been removed:
loot_tables
(previously known aslootTablesToModify
).loot_table_item_spawn_chance
(previouslychancePerItemToSpawn
).divide_item_spawn_chance
(previouslychancePerItemDivideByAllItemsToAdd
).
- The following configuration settings have been removed:
JSON Configuration Example
{
"items": [
{
"itemId": "cobblemon-mythsandlegends-addon:adamant_orb",
"enabled": true,
"lootTables": [
{"id": "minecraft:chests/abandoned_mineshaft", "weight": 0.005},
{"id": "minecraft:chests/ancient_city", "weight": 0.005},
{"id": "minecraft:chests/bastion_treasure", "weight": 0.005},
...
]
},
{
"itemId": "cobblemon-mythsandlegends-addon:aurora_ticket",
"enabled": true,
"lootTables": [
{"id": "minecraft:chests/abandoned_mineshaft", "weight": 0.005},
{"id": "minecraft:chests/ancient_city", "weight": 0.005},
{"id": "minecraft:chests/bastion_treasure", "weight": 0.005},
...
]
}
]
}
Dependencies
External resources
Project members
0Skill
DawnFelstar
Xcavalier
Support