Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partial fix for Etherology #183

Open
wants to merge 1 commit into
base: 1.21.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
public final class FabricDataGenHelper {
private static final Logger LOGGER = LoggerFactory.getLogger(FabricDataGenHelper.class);

/**
* When enabled the dedicated server startup will be hijacked to run the data generators and then quit.
*/
public static final boolean ENABLED = System.getProperty("fabric-api.datagen") != null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This property doesn't exist on NeoForge. If we're going to add the field back for mods that require internals access, we should at least set it to something realiable. An analogous system prop should exist in neo iirc.


/**
* When enabled providers can enable extra validation, such as ensuring all registry entries have data generated for them.
*/
Expand Down