1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-09-29 07:20:48 +00:00
CC-Tweaked/projects
Jonathan Coates 1a87d1bf45
Move shared generated resources to common project
In 1.20.1, Forge and Fabric have different "common" tag conventions (for
instance, Forge uses forge:dusts/redstone, while Fabric uses
c:redstone_dusts). This means the generated recipes (and advancements)
will be different for the two loader projects. As such, we run data
generators for each loader, and store the results separately.

However, aside from some recipes and advancements, most resources /are/
the same between the two. This means we end up with a lot of duplicate
files, which make the diff even harder to read. This gets worse in
1.20.5, when NeoForge and Fabric have (largely) unified their tag names.

This commit now merges the generated resources of the two loaders,
moving shared files to the common project.

 - Add a new MergeTrees command, to handle the de-duplication of files.
 - Change the existing runData tasks to write to
   build/generatedResources.
 - Add a new :common:runData task, that reads from the
   build/generatedResources folder and writes to the per-project
   src/generated/resources.
2024-04-26 18:09:08 +01:00
..
common Move shared generated resources to common project 2024-04-26 18:09:08 +01:00
common-api Load services with the service's classloader 2024-03-21 20:50:31 +00:00
core Don't share CharsetDecoders across threads 2024-04-24 21:19:30 +01:00
core-api Fix a couple of warnings 2024-03-10 12:04:40 +00:00
fabric Move shared generated resources to common project 2024-04-26 18:09:08 +01:00
fabric-api Rewrite turtle upgrade modeller registration API 2024-01-16 23:00:49 +00:00
forge Move shared generated resources to common project 2024-04-26 18:09:08 +01:00
forge-api Rewrite turtle upgrade modeller registration API 2024-01-16 23:00:49 +00:00
lints Fix NPE when rendering turtle's label 2024-04-06 08:46:19 +01:00
standalone Allow mounting folders in the standalone emulator 2024-04-03 21:27:18 +01:00
web Fix build on Windows 2024-04-24 17:55:48 +01:00
ARCHITECTURE.md Add a standalone CC:T UI 2023-10-28 17:58:11 +01:00