User Tools

Site Tools


tutorial:datagen_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:datagen_setup [2023/09/29 07:44] jmanc3tutorial:datagen_setup [2024/01/22 22:46] arkosammy12
Line 1: Line 1:
 ====== Getting started with Data Generation ====== ====== Getting started with Data Generation ======
  
-Data Generation is a of Fabric API which allows you to programmatically generate Recipes, Language Files, Loot Tables, Advancements and pretty much anything with Custom Providers. Every time you modify the code that generates advancements (or anything else datagen can make like loot tables and such) you'll have to run the gradle task ''**runDatagen**'' which we will create shortly.+Data Generation is a module of Fabric API which allows you to programmatically generate Recipes, Language Files, Loot Tables, Advancements and pretty much anything with Custom Providers. Every time you modify the code that generates advancements (or anything else datagen can make like loot tables and such) you'll have to run the gradle task ''**runDatagen**'' which we will create shortly.
    
 ===== Enabling Data Generation ===== ===== Enabling Data Generation =====
Line 15: Line 15:
 First open up your ''**build.gradle**'' file in the root folder of your project, and add the following anywhere inside that file: First open up your ''**build.gradle**'' file in the root folder of your project, and add the following anywhere inside that file:
  
-<code groovy gradle.build [highlight_lines_extra="5,6,7,8,9,10,11,12,13"]>+<code groovy build.gradle [highlight_lines_extra="5,6,7,8,9,10,11,12,13"]>
  
 // //
Line 34: Line 34:
 Next find the ''**loom**'' section in that very same file ''**build.gradle**'' and add the following inside it: Next find the ''**loom**'' section in that very same file ''**build.gradle**'' and add the following inside it:
  
-<code groovy gradle.build [highlight_lines_extra="9,10,11,12,13,14,15,16,17,18,19,20"]>+<code groovy build.gradle [highlight_lines_extra="9,10,11,12,13,14,15,16,17,18,19,20"]>
  
 // //
tutorial/datagen_setup.txt · Last modified: 2024/03/15 05:06 by shnupbups