This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
loom:datagen [2023/12/03 01:15] – clarify wording juuz | loom:datagen [2023/12/03 01:16] – restructure juuz | ||
---|---|---|---|
Line 2: | Line 2: | ||
**NOTE:** This is **only** for Forge projects! Data Generators are still in development for Architectury projects. Fabric projects can follow Fabric Loom documentation. | **NOTE:** This is **only** for Forge projects! Data Generators are still in development for Architectury projects. Fabric projects can follow Fabric Loom documentation. | ||
- | |||
- | The Loom DSL for Forge Data Generators was deprecated due to its low customisability and relatively ease of manually configuring it in the project’s build.gradle. The documentation | ||
- | below is included mostly as a historical reference. | ||
To make Data Generators work, we first need to add the src/ | To make Data Generators work, we first need to add the src/ | ||
Line 54: | Line 51: | ||
**The legacy dataGen() block has been deprecated and may not function properly in future versions of Loom** | **The legacy dataGen() block has been deprecated and may not function properly in future versions of Loom** | ||
+ | |||
+ | The Loom DSL for Forge Data Generators was deprecated due to its low customisability and relatively ease of manually configuring it in the project’s build.gradle. The documentation | ||
+ | below is included mostly as a historical reference. | ||
Data Generators Support has been added to Architectury Loom, starting from 0.6.55, this is how you declare it: | Data Generators Support has been added to Architectury Loom, starting from 0.6.55, this is how you declare it: |