gprogames

make me the great sea from the unstable smp which you can configure to make it generate at any coordinate with /greatsea generate

1 image attached
Kodari AI
KodariMar 29 at 8:54 pm 9,590 (v2)

I’ll create a Great Sea generator plugin that creates massive ocean structures with realistic depth gradients and beaches.

GreatSea
Generates massive ocean structures with configurable size, depth, and location. Features realistic depth gradients from shallow shores to deep ocean, sandy beaches, and smooth transitions. Supports async generation to prevent server lag. Includes admin commands to create oceans at any coordinates with customizable dimensions and materials.

Great Sea generator plugin created! Features include:

  • /greatsea generate - Creates a massive ocean at your location with realistic depth gradients

  • Customizable dimensions - Configure width, length, depth, and beach sizes

  • Realistic transitions - Smooth gradients from sandy beaches to deep ocean

  • Async generation - Processes blocks gradually to prevent server lag

  • Depth variation - Natural-looking ocean floor with noise

  • Void border - Optional black concrete void surrounding the ocean

  • Multiple materials - Configurable sand types, gravel, water, and floor materials

The ocean generates with beaches on the edges, shallow water near shore, and progressively deeper water toward the center, matching the Unstable SMP Great Sea structure.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
7 486
src/main/java/com/unstablesmp/greatsea/GreatSea.java
package com.unstablesmp.greatsea;

import com.unstablesmp.greatsea.commands.GreatSeaCommand;
import com.unstablesmp.greatsea.managers.ConfigManager;
import com.unstablesmp.greatsea.managers.GenerationManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class GreatSea extends JavaPlugin {
    
    private ConfigManager configManager;
    private GenerationManager generationManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.generationManager = new GenerationManager(this);
        
        getCommand("greatsea").setExecutor(new GreatSeaCommand(this));
        
        getLogger().info("GreatSea has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (generationManager != null) {
            generationManager.cancelAllGenerations();
        }
        getLogger().info("GreatSea has been disabled!");
    }
}