Cleanup
This commit is contained in:
parent
2c3af98e9e
commit
c4af9dfa0a
3 changed files with 6 additions and 8 deletions
|
@ -14,7 +14,7 @@ import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
|
|||
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;
|
||||
|
||||
public class BCLibDatagen implements DataGeneratorEntrypoint {
|
||||
public static final boolean ADD_TESTS = false;
|
||||
public static final boolean ADD_TESTS = true;
|
||||
|
||||
@Override
|
||||
public void onInitializeDataGenerator(FabricDataGenerator dataGenerator) {
|
||||
|
@ -22,6 +22,8 @@ public class BCLibDatagen implements DataGeneratorEntrypoint {
|
|||
final FabricDataGenerator.Pack pack = dataGenerator.createPack();
|
||||
|
||||
if (ADD_TESTS) {
|
||||
TestBiomes.ensureStaticallyLoaded();
|
||||
|
||||
pack.addProvider(TestWorldgenProvider::new);
|
||||
pack.addProvider(TestBiomes::new);
|
||||
RecipeDataProvider.createTestRecipes();
|
||||
|
|
|
@ -117,4 +117,7 @@ public class TestBiomes extends TagDataProvider<Biome> {
|
|||
THE_PURPLE = THE_PURPLE.register(bootstrapContext);
|
||||
}
|
||||
}
|
||||
|
||||
public static void ensureStaticallyLoaded() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
package org.betterx.worlds.together.biomesource;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
@ApiStatus.Internal
|
||||
public interface MultiNoiseBiomeSourceAccessor {
|
||||
}
|
Loading…
Reference in a new issue