You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MOD developer may implement net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint to generate datapack from code. This is useful when one prefer code than JSONs, and is actually convertible by "Data Generation API".
We can enable it from the build.gradle. However, one should add implementation FQCN in fabric.mod.json to refer the entrypoints in entrypoints.fabric-datagen[*].
One can notice easily by issued warning from ./gradlew runDatagen:
[04:54:40] [main/WARN] (FabricDataGenHelper) No data generator entrypoints are defined. Implement net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint and add your class to the 'fabric-datagen' entrypoint key in your fabric.mod.json.
However, it might be better to have integration on plugin side.
The text was updated successfully, but these errors were encountered:
KisaragiEffective
changed the title
fabric: integrating around fabric.api.datagen.v1.DataGeneratorEntrypoint?
fabric: Suggesting add class to manifest which impls fabric.api.datagen.v1.DataGeneratorEntrypoint?
Oct 1, 2024
Minecraft Development for IntelliJ plugin version
2024.2-1.8.1
Description of the feature request
MOD developer may implement
net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint
to generate datapack from code. This is useful when one prefer code than JSONs, and is actually convertible by "Data Generation API".We can enable it from the
build.gradle
. However, one should add implementation FQCN infabric.mod.json
to refer the entrypoints inentrypoints.fabric-datagen[*]
.One can notice easily by issued warning from
./gradlew runDatagen
:However, it might be better to have integration on plugin side.
The text was updated successfully, but these errors were encountered: