

Dynamic TFC Structures
Did you ever dream to fill your TerraFirmaCraft world with authentic structures? Dynamic TFC Structures will bring them to your world!
Dynamic TFC Structures can activate any world-gen structure and replace their blocks with TerraFirmaCraft analogues like it was built specially for TFC.\ The mod is also fully configurable, you may find configuration files in config/tfc_structures folder. By default, only vanilla structures are activated, but you can activate any other modded structure.
Disclaimer
Be aware that Dynamic TFC Structures is currently in BETA, so it contains bugs and there are things to do.
Configurations
Dynamic TFC Structures has 3 main configuration files:
- common-config.toml\
allowedDimensions - list of dimensions where structure block will be replaced with TFC blocks
biomesTagsStructuresToLogs - debug-toggle to output biomes, biome-tags and structures to logs
mossyBlocks/strippedLogs/strippedWood/crackedBricks - special tags for replacements. All of them will be generated to special block-tags. - worldgen_config.json\
biomeTags - definitions of biome-tags that will be generated to
tfc_structures_datapacks/tfc_structures_main
datapack. It also contains structures that will be generated in that biome-tag.
disabledStructures - list of structures you don't want to see in your world defaultWorldgenStructures - list of structures that exist in game, but was not added to any list above, so they will use default generation rules. This property will update upon server loading. - structures_config.json\ structures - list of replacement rules for every structure, like replacement preset, lootTablesOverrideMap, etc.\ This configuration will be created(or updated) upon server loading.
Also, there's folder presets
where you may find replacement presets configuration files.\
Every preset has 3 properties:
- directReplacements - block-to-block map to direct replacement when structure have spawned
- randomReplacements - block-to-many-blocks map to random replacement. perBlock=false means whole structure will use one block.
- tfcWorldReplacements - block-to-type map to block replacement with TFC blocks from surroundings(like stone, wood, soil, sand or ores)
By default, there are two presets: no-replace
(empty preset) and overworld-common
, but you can create another presets
by your own(don't forget to assign preset to structure in structures_config.json
).
TFC Structures Datapacks folder
Dynamic TFC Structures generates its own data-pack using configuration files, so it has its own directory for datapacks
- tfc_structures_datapacks/tfc_structures_main.\
But you may place YOUR datapacks or KubeJS-like datapack folder(use
tfc_structures_main
datapack as an example) directly to tfc_structures_datapacks folder, and it will load upon world creation.
Future features
- Correct TFC stone selection for undeground buildings(currently it uses surface stone)
- Item replacements for Armor Stands, Item Frames and Furnaces
- Replacement of villagers' profession blocks
Nearly impossible future features
- Module architecture for other mod-makers(where TFC module will be one of others)
- Structure place detection rework to use TFC climate features
Known issues
- Some structures may be lost(Treasures and Portals)
- Currently tfcWorldReplacement is not compatible with non-default TFC blocks(eg ArborFirmaCraft)
Logo generated with ChatGPT