Datapack Biome Handling with Custom BiomeSource

This commit is contained in:
Frank 2022-05-24 23:42:25 +02:00
parent e10994a1e8
commit 9d0a640173
28 changed files with 1109 additions and 619 deletions

View file

@ -8,7 +8,7 @@ import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import org.betterx.bclib.gui.screens.WorldSetupScreen;
import org.betterx.bclib.presets.worldgen.WorldPresets;
import org.betterx.bclib.presets.worldgen.BCLWorldPresets;
import java.util.Optional;
@ -21,7 +21,7 @@ public class WorldPresetsUI {
}
public static void setupClientside() {
registerCustomizeUI(WorldPresets.BCL_WORLD, (createWorldScreen, worldCreationContext) -> {
registerCustomizeUI(BCLWorldPresets.BCL_WORLD, (createWorldScreen, worldCreationContext) -> {
return new WorldSetupScreen(createWorldScreen, worldCreationContext);
});
}