DataPack Folder Structure - JMilamber/TravelersCrossroads GitHub Wiki
Learning about Data Packs
See the Minecraft Wiki DataPack page and/or the ResourceLocation#Namespaces page to learn more about datapacks.
There are also plenty of good tutorials on youtube.
Adding new PathStyles and StructureOffsets
PathStyle and StructureOffsets are two datapack registries unique to TravelersCrossroads.
PathStyle files change how paths in certain biomes look, and what formula is used to set the blocks of the path.
StructureOffset files change how far from a structure's origin the path ends. The offset is in blocks.
Folder Structure
New path style and structure offset .json files should be placed in the the following folder structure inside your datapack: For example, a new path style named "magma_style.json" and a new structure offset named "jungle_temple_offset.json"
data
└───pack_name
└───travelers_crossroads
├───path_style
| └───structure_offset
└───structure_offset
└───jungle_temple_offset.json
Replace "pack_name" with your data pack namespace.
Overwriting mod files
Folder Structure
data
└───travelers_crossroads
├───advancement
| └───recipes
| └───misc
| └───cairn.json
├───loot_table
| └───blocks
| └───cairn.json
├───neoforge
| └───biome_modifier
| └───path_start_biomes.json
├───recipe
| └───cairn.json
├───tags
| ├───block
| | ├───biome
| | | └───path_start_avoid_biome.json
| | └───structure
| | ├───default_offset_structures.json
| | ├───mansion_offset_structures.json
| | ├───path_structures.json
| | ├───village_offset_structures.json
| | └───zero_offset_structures.json
| └───worldgen
| ├───sparse_gravel_style.json
| └───stone_bricks_style.json
├───travelers_crossroads
| ├───path_style
| | ├───default_style.json
| | ├───desert_style.json
| | ├───rustic_style.json
| | ├───sparse_gravel_style.json
| | └───stone_bricks_style.json
| └───structure_offset
| ├───default_offset.json
| ├───mansion_offset.json
| ├───village_offset.json
| └───zero_offset.json
└───worldgen
├───configured_feature
| └───configured_road.json
└───placed_feature
└───placed_road.json