Moved Advancement class

This commit is contained in:
Frank 2022-12-10 14:28:52 +01:00
parent f56c534640
commit 686256c707
2 changed files with 24 additions and 0 deletions

View file

@ -1,6 +1,7 @@
package org.betterx.datagen.bclib;
import org.betterx.bclib.BCLib;
import org.betterx.datagen.bclib.advancement.BCLAdvancementDataProvider;
import org.betterx.datagen.bclib.preset.WorldPresetDataProvider;
import org.betterx.datagen.bclib.tests.TestBiomes;
import org.betterx.datagen.bclib.tests.TestWorldgenProvider;
@ -29,6 +30,7 @@ public class BCLibDatagen implements DataGeneratorEntrypoint {
pack.addProvider(WorldPresetDataProvider::new);
pack.addProvider(BCLibRegistriesDataProvider::new);
pack.addProvider(BCLAdvancementDataProvider::new);
}

View file

@ -0,0 +1,22 @@
package org.betterx.datagen.bclib.advancement;
import org.betterx.bclib.BCLib;
import org.betterx.bclib.api.v3.datagen.AdvancementDataProvider;
import org.betterx.worlds.together.WorldsTogether;
import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput;
import java.util.List;
public class BCLAdvancementDataProvider extends AdvancementDataProvider {
public BCLAdvancementDataProvider(
FabricDataOutput output
) {
super(List.of(BCLib.MOD_ID, WorldsTogether.MOD_ID), output);
}
@Override
protected void bootstrap() {
}
}