Deprecate GatherDataEvent.validate() as validation always happens. And made ExistingFileHelper always function. Closes #10516

This commit is contained in:
LexManos committed 2025-05-21 23:42:44 -07:00
1 parent 4ef7fe8bd8
commit a1c275df46
4 files changed
+6 -5

No files matched your search

@@ -52,6 +52,7 @@ public final class GatherDataEvent extends Event implements IModBusEvent
public boolean includeClient() { return this.config.client; }
public boolean includeDev() { return this.config.dev; }
public boolean includeReports() { return this.config.reports; }
@Deprecated(forRemoval = true, since = "1.21.5") // Validation is always enabled, check things as you deem fit.
public boolean validate() { return this.config.validate; }
public static final class DataGeneratorConfig {
@@ -63,6 +64,7 @@ public final class GatherDataEvent extends Event implements IModBusEvent
private final boolean client;
private final boolean dev;
private final boolean reports;
@Deprecated(forRemoval = true, since = "1.21.5") // Validation is always enabled, check things as you deem fit.
private final boolean validate;
private final boolean flat;
private final List<DataGenerator> generators = new ArrayList<>();