Repository navigation
Overview2
The idea for this structure is to allow modpack makers and players to modify and add any structure they like to the pool with their own custom loot tables. Spawner replacement can essentially be filtered by Structure, Spawner Type, and Entity in the original spawner.
You can download a default datapack to modify from these links:
- Modrinth: https://modrinth.com/datapack/cobblemon-trials-edition-default-datapack
- Curseforge: https://www.curseforge.com/minecraft/data-packs/cobblemon-trials-edition-default-datapack
- Removed the "Features" folder and the file within, as features are now rolled into the "structures" folder.
For a Datapack, the folder structure is as follows:
Contains the default-spawners JSON information for Structures. If you wish to change spawners being swapped for features in your world, you will want to edit the file in >here. Note: It is not recommended to add any files to this folder at this time. So you don't need to include this folder if you don't want to.
Contains custom loot table JSON files that will be referenced by the structure file associated with them. These follow the standard format for minecraft >loot tables.
Contains the JSON files for Structures that contains both the Spawner information and Pokemon Information.
The Cobblemon Trial Spawners have 2 json files that can be used. One is a Structure file, which includes information about the Structure, the Spawner, and the Pokemon inside of the Spawner. The Second file is a Loot Table file, which is optional if you intended the Cobblemon Trial Spawner to replace a Minecraft Trial Spawner and keep the same loot tables.
File names do not actually matter but naming following the mod and the structure is suggested if only for readability.
For more information on how these files are read and work checkout the Documentation.
- Datapacks v1.0-v1.3.1
- Datapacks v2.0-v2.2.1
- Datapacks & Items v3.0+