eldevelopa

Prompt for Plugin Development:

Develop a comprehensive Minecraft Paper 26.2 plugin named "EndFarlands" that generates distorted terrain in the End dimension, inspired by the classic Far Lands. Implement a custom ChunkGenerator to smoothly transition terrain from normal to progressively distorted between the coordinates of 11,000,000 and 12,000,000, ensuring stable, deterministic generation based on world seed, while preserving the existing End features outside these zones. Include a command for players to check their coordinates, distance from the distortion zone, and intensity of terrain distortion, as well as a configurable config.yml for key parameters like transition thresholds and debug options. The plugin must be optimized for performance and reliability in a multiplayer setting, minimizing resource allocation and ensuring thread safety during chunk generation.

Kodari AI
KodariOct 20 at 10:47 pm 2
EndFarlands
Generates deterministic distorted terrain in the End dimension between 11M and 12M coordinates, smoothly transitioning from normal to Far Lands-style deformation. Implements a custom ChunkGenerator with seed-based noise for thread-safe, performance-optimized generation. Preserves vanilla End features outside the zone. Includes a distance/intensity command and configurable config.yml for transition thresholds and debug toggles.
  1. Add the Paper 26.2 Gradle project and plugin configuration.

  2. Implement deterministic, thread-safe End terrain generation with a smooth distortion ramp and vanilla generation outside it.

  3. Add /farlands coordinate, distance, and intensity reporting.

Implemented EndFarlands with deterministic, seed-based End terrain distortion, a smooth configurable intensity ramp from 11,000,000 to 12,000,000, and /farlands coordinate and intensity reporting. Vanilla noise generation is retained outside the distortion zone.

To use the generator, configure it for the End world before that world is created in bukkit.yml (for example, world_the_end with generator EndFarlands). Existing chunks are not regenerated. Configuration options are in config.yml; enable debug for per-chunk generation logs.

eldevelopa

Okay, I would like it to genuinely not require to "create a new server world" before joining yk. Like, I do s command. And the Farlands deploy. Or just simply as soon as the server starts it prepares itself.

Kodari AI
KodariOct 20 at 11:31 pm 1

Plan:

  1. Automatically attach the terrain populator to every End world during startup/world initialization.

  2. Add /farlands deploy for applying it to an already-running End world.

  3. Keep the existing generator hook compatible, and clarify that only newly generated chunks change; saved chunks are not regenerated.

EndFarlands now installs itself automatically for loaded and newly initialized End worlds—no new world or bukkit.yml generator entry is required. You can also run /farlands deploy in an End world, or from the console to deploy to loaded End worlds.

The populator changes newly generated chunks only; it does not rewrite chunks already saved in the world. /farlands still reports your coordinates and distortion intensity.

eldevelopa

Okay. Now JUST wanting to talk, nefore any work. Ill confirm. I watched alot of Unstable SMP, and the further you go, the glitchier. And weirder it gets. Would you be also able to CUT the whole "EndLands" 30,000 Blocks out "from the beginning of the endlands" into something called the "EndPillarLands" "basically giant Structural Pillars GOIN ALLLLL THE WAY to the maximum height. Also the server has a increase in its height. So well, go crazy. Even if so bypass the normal height if there IS still a limit. "And under the "Pillars, just a flat "ground that also has a bit of elevation." Extending for another 50,000 blocks. Till the End Farlands Just continues. Stopping the Pillars for now.

Kodari AI
KodariOct 20 at 11:35 pm 1

Yes—EndPillarLands is feasible: a region of mostly level, gently varied ground with huge, seed-determined pillars reaching up toward the End’s configured ceiling. After that region, the existing Farlands distortion could continue.

One important limit: a plugin can generate pillars only inside the world’s actual height range. It can use a height increase that’s already configured, but it can’t safely place blocks beyond the dimension’s hard bounds just by ignoring them. Raising those bounds would mean configuring the End dimension itself, not merely changing the terrain generator.

I’m unsure how you mean the two distances: should EndPillarLands start 30,000 blocks after the beginning of the Endlands and run for 50,000 blocks, or should the pillar region itself be 30,000 blocks long, with another 50,000-block section before the Farlands resumes? I’ll wait for your confirmation before changing anything.

eldevelopa

To be honest.. be my guest and also while youre at it, make sure to make commands for those things. And ONE command to just well initialize ALL these things. "And commands to teleport to these "Lands" just infront of them.""

Kodari AI
KodariOct 20 at 11:42 pm 1
  1. Inspect the existing terrain hook and command structure, then add the pillar region and preserve the current Farlands behavior.

  2. Add setup, land-management, and “just before the land” teleport commands; make setup run automatically at startup too.

Added EndPillarLands as a seed-deterministic band starting 30,000 blocks after transition-start and extending for 50,000 blocks. With the current settings, that’s from 11,030,000 to 11,080,000. It has a gently varied End Stone floor and spaced pillars reaching the highest valid block in that End world; generation respects the world’s actual height limit.

  • /farlands init initializes all loaded End worlds; /farlands deploy remains as an alias. Setup also happens automatically at startup and when an End world initializes.

  • /farlands tp endlands, /farlands tp pillarlands, and /farlands tp farlands teleport just before the corresponding region.

  • /farlands still reports coordinates and distortion, and now identifies when you’re in EndPillarLands.

Initialization enables the terrain for newly generated chunks; it doesn’t pre-generate the vast regions or rewrite saved chunks.

eldevelopa

Okay.. now again just chatting, what else do you want to add? Other different biomes? A slight "Hybrid merging BEFORE the actual end Farland"? What else whats the plan?

Kodari AI
KodariOct 21 at 12:06 am 1

I’d make the journey feel like the End is breaking down gradually, rather than crossing a sharp border:

  • Vanilla End → Hybrid Fringe: Over a broad distance, familiar islands become stretched, fractured, and increasingly irregular. This is the “something’s wrong” zone before the Farlands.

  • EndPillarLands: A distinct landmark region with the gently varied floor and enormous pillars you described.

  • Farlands: The terrain distortion ramps up again beyond the pillar region, getting more extreme the farther players travel.

For variety, I’d add a few deterministic terrain “moods” within those regions: shattered fields with thin, broken shelves; void valleys between raised ridges; and spire clusters with occasional floating fragments. They’d be terrain variations rather than separate vanilla biomes, so the progression stays coherent and predictable for players.

I’d keep the visual weirdness mostly in the terrain—no constant particles or effects—so exploring far out doesn’t create unnecessary server load. And I’d make the /farlands destinations land just before each major transition, so players can experience the change as they travel in.

That’s the plan I’d recommend: a gradual hybrid lead-in, a memorable pillar landmark, then the increasingly unstable Farlands.

eldevelopa

Alrighty! So, new "types of farlands like the stripe etc." What do you want to add and work on next? (If you do work and decide. Rework the first 2, and well the first original End farland, make sure to well, "make it identical to the overworld one just end." Ykw just be my guest.

Kodari AI
KodariOct 21 at 12:19 am 2
  1. Inspect the current terrain pipeline and settings so the rework fits the existing generator instead of layering on a conflicting one.

  2. Rework the approach into a gradual End hybrid fringe, the pillar landmark, and a recognizable stripe-style Farlands progression; preserve deterministic generation and expose useful /farlands destinations/settings.

Implemented the rework:

  • The Hybrid Fringe now blends the existing End surface gradually toward distorted terrain before EndPillarLands; untouched columns and saved chunks aren’t rewritten.

  • EndPillarLands keeps its gently varied ground and world-height pillars, with subtly irregular pillar edges.

  • Added configurable Farlands styles in config.yml: STRIPES (default), JAGGED, and SHATTERED. The stripe style is a classic-Farlands-inspired End adaptation, not a bit-for-bit recreation of the legacy Overworld generator.

  • /farlands tp hybrid, /farlands tp pillarlands, and /farlands tp stripes take you just before each region. /farlands init still initializes loaded End worlds, and setup also runs automatically at startup.

eldevelopa

its available for paper 26.2?

Kodari AI
KodariOct 21 at 7:31 pm 1

Yes. This project is configured to compile against Paper 26.2 and use Java 25. The api-version: '1.21' in plugin.yml is the plugin’s declared minimum API version; it doesn’t prevent it from running on Paper 26.2.

eldevelopa

whats the command to tp ME in the first farlands?

Kodari AI
KodariOct 21 at 7:34 pm 1

Use /farlands tp stripes to teleport just before the first stripe-style Farlands region.

eldevelopa

all tp commands? the start of the farlands?

Kodari AI
KodariOct 21 at 7:34 pm 1

Teleport commands:

  • /farlands tp hybrid — just before the Hybrid Fringe

  • /farlands tp pillarlands — just before EndPillarLands

  • /farlands tp stripes — just before the first stripe-style Farlands

For the start of the Farlands, use /farlands tp stripes, then head forward into the region.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
9 732
src/main/java/com/kodari/endfarlands/EndFarlandsPlugin.java
package com.kodari.endfarlands;

import org.bukkit.generator.ChunkGenerator;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.world.WorldInitEvent;
import org.bukkit.plugin.java.JavaPlugin;

public final class EndFarlandsPlugin extends JavaPlugin implements Listener {
    private FarlandsSettings settings;
    private FarlandsChunkGenerator chunkGenerator;
    private FarlandsPopulator populator;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        settings = FarlandsSettings.load(getConfig(), getLogger());
        chunkGenerator = new FarlandsChunkGenerator(settings, getLogger());
        populator = new FarlandsPopulator(chunkGenerator);

        getServer().getPluginManager().registerEvents(this, this);
        for (World world : Bukkit.getWorlds()) {
            installPopulator(world);
        }

        getCommand("farlands").setExecutor(new FarlandsCommand(settings, this));
    }

    @EventHandler
    public void onWorldInit(WorldInitEvent event) {
        installPopulator(event.getWorld());
    }

    boolean installPopulator(World world) {
        if (world.getEnvironment() != World.Environment.THE_END) {
            return false;
        }
        if (world.getPopulators().stream().anyMatch(existing -> existing instanceof FarlandsPopulator)) {
            return false;
        }

        world.getPopulators().add(populator);
        getLogger().info("Farlands terrain enabled for End world " + world.getName() + '.');
        return true;
    }

    int initializeAllEndWorlds() {
        int initialized = 0;
        for (World world : Bukkit.getWorlds()) {
            if (installPopulator(world)) {
                initialized++;
            }
        }
        return initialized;
    }

    @Override
    public ChunkGenerator getDefaultWorldGenerator(String worldName, String id) {
        if (chunkGenerator == null) {
            saveDefaultConfig();
            settings = FarlandsSettings.load(getConfig(), getLogger());
            chunkGenerator = new FarlandsChunkGenerator(settings, getLogger());
        }
        return chunkGenerator;
    }
}