Changes

Copy Datageneration to MC1.16 archive
Line 1: Line 1: −
'''Data generation''' (AKA '''datagen''') is a builtin system in Minecraft and Forge that allows mod developers to write code to programmatically generate the [[Using Resources|assets and data/1.16]] files of mods.  
+
'''Data generation''' (AKA '''datagen''') is a builtin system in Minecraft and Forge that allows mod developers to write code to programmatically generate the [[Using Resources/1.16|assets and data]] files of mods.  
    
Using datageneration offers some notable benefits:
 
Using datageneration offers some notable benefits:
Line 14: Line 14:  
The data generator can be configured to run 4 different data generations, which are configured from the command-line parameters, and can be checked from <code><nowiki>GatherDataEvent#include()</nowiki></code> methods.
 
The data generator can be configured to run 4 different data generations, which are configured from the command-line parameters, and can be checked from <code><nowiki>GatherDataEvent#include()</nowiki></code> methods.
 
* '''Client Assets'''
 
* '''Client Assets'''
** Generates client-only files in <tt>assets</tt>: [[Introduction to Models|block/item models/1.16]], [[BlockState JSONs|blockstate JSONs/1.16]], [[Datageneration/I18n|language files/1.16]], etc.
+
** Generates client-only files in <tt>assets</tt>: [[Introduction to Models/1.16|block/item models]], [[BlockState JSONs/1.16|blockstate JSONs]], [[Datageneration/I18n/1.16|language files]], etc.
 
** <code><nowiki>--client</nowiki></code>, <code><nowiki>includeClient()</nowiki></code>
 
** <code><nowiki>--client</nowiki></code>, <code><nowiki>includeClient()</nowiki></code>
 
* '''Server Data'''
 
* '''Server Data'''
** Generates server-only files in <tt>data</tt>: [[Datageneration/Recipes|recipes/1.16]], advancements, [[Datageneration/Tags|tags/1.16]], etc.
+
** Generates server-only files in <tt>data</tt>: [[Datageneration/Recipes/1.16|recipes]], advancements, [[Datageneration/Tags/1.16|tags]], etc.
 
** <code><nowiki>--server</nowiki></code>, <code><nowiki>includeServer()</nowiki></code>
 
** <code><nowiki>--server</nowiki></code>, <code><nowiki>includeServer()</nowiki></code>
 
* '''Development Tools'''
 
* '''Development Tools'''
Line 48: Line 48:       −
[[Category:Data Generation/1.16]]
+
[[Category:Data Generation/1.16|Category:Data Generation]]
372

edits