fr:tutoriel:data-generator-introduction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fr:tutoriel:data-generator-introduction [2021/12/24 20:54] – mysterious_dev | fr:tutoriel:data-generator-introduction [2021/12/24 22:16] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 32: | Line 32: | ||
} | } | ||
assemble.dependsOn runDatagen | assemble.dependsOn runDatagen | ||
+ | </ | ||
+ | |||
+ | ==== Classe principale pour les Data Generators ==== | ||
+ | |||
+ | <code java> | ||
+ | public class ExampleDataMod implements DataGeneratorEntrypoint { | ||
+ | @Override | ||
+ | public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) { | ||
+ | | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== fabric.mod.json ==== | ||
+ | |||
+ | <code json> | ||
+ | " | ||
+ | " | ||
+ | ] | ||
</ | </ | ||
fr/tutoriel/data-generator-introduction.1640379296.txt.gz · Last modified: 2021/12/24 20:54 by mysterious_dev