taiki08897

Create a full Minecraft plugin (Paper/Spigot) for a custom Underworld dimension with the following features:

  1. Biomes in the Underworld

• Sculk Biome: made mostly of sculk blocks, dense, with frequent Ancient Cities spawning above ground. • Soul Forest Biome: twisted warped trees, soul soil, fog, ambient eerie sounds, custom Soul Forest structures (like twisted ruins), and biome-specific loot. • Bone Fields Biome: dead plains with scattered bones, skeleton mobs, unique Bone Field structures (like graveyards or ossuaries), and biome-specific loot. • Each biome has its own unique structures and loot tables, separate from the Ancient Cities.

  1. Ancient Cities

• Spawn very commonly above ground, especially in the Sculk Biome. • Chests contain rare/epic loot, including: • Enchanted diamonds • Netherite ingots and armor (rare, sometimes enchanted) • Golden apples and enchanted golden apples • Optional biome-specific custom items

  1. Portal System

• Located in Ancient Cities and activated by Flint & Steel. • Plays particles, visual effects, and a dramatic server-wide sound (ENTITY_ENDER_DRAGON_GROWL) on activation. • Displays a server-wide message: “§5The Ancient Underworld portal has been activated!” • Player-specific messages: • Entering the Underworld: “§5You step into the Underworld…” • Leaving (via portal or Soul Key): “§aYou return to the Overworld.” • Teleports player to the Underworld.

  1. Candle of the Underworld (PvP Item)

• Rare, craftable item (Soul Campfire) called “§5Candle of the Underworld”. • Crafting recipe: 8 Diamond Blocks + 1 Nether Star. • When a player hits another player while holding it, the victim is sent to the Underworld. • Includes spooky particles and sound effects. • Optional one-per-player restriction.

  1. Soul Key (Return Item)

• Rare, craftable item called “§bSoul Key” (Nether Star). • Crafting recipe: Netherite Ingots + Gold Blocks + Ender Pearl. • Right-clicking it teleports the player back to the Overworld. • Includes particle and sound effects.

  1. Mobs

• All hostile mobs in the Underworld are 2x stronger (double health and damage). • Includes Wardens, also doubled in strength. • Biome-specific mobs and ambient effects (e.g., sounds, particles). • Optional rare loot drops per biome and per mob type.

  1. Optional Enhancements

• Portal visuals: rising animation, particles. • Candle and Soul Key can have cooldowns or one-time-use restrictions. • Biome ambiance: darkness, fog, soul fire, ambient music. • Each biome has its own structures, mobs, and loot tables for exploration variety.

Kodari AI
KodariMar 16 at 9:32 pm 24,227 (v2)

I’ll create a comprehensive Underworld dimension plugin with custom biomes, portals, PvP items, and enhanced mobs.

UnderworldDimension
A custom dimension plugin featuring the Underworld with three unique biomes (Sculk, Soul Forest, Bone Fields), each with custom structures and loot. Includes Ancient Cities with rare loot, portal system with dramatic effects, Candle of the Underworld (PvP item to send players to the dimension), Soul Key (return item), and doubled-strength hostile mobs. Features server-wide announcements, particle effects, and biome-specific ambiance.

All files created successfully! The plugin features:

Core Features:

  • Custom Underworld dimension with 3 unique biomes (Sculk, Soul Forest, Bone Fields)

  • Portal system with dramatic activation effects and server-wide announcements

  • Candle of the Underworld (PvP item) - sends players to the Underworld on hit

  • Soul Key (return item) - teleports players back to the Overworld

  • All hostile mobs have 2x health and 2x damage in the Underworld

  • Custom loot tables for Ancient Cities and biome-specific chests

  • Particle effects, sound effects, and ambient biome features

Biome Details:

  • Sculk Biome: Sculk blocks, Ancient Cities, enhanced Warden spawns

  • Soul Forest: Soul soil, warped trees, twisted structures, eerie ambiance

  • Bone Fields: Bone blocks, skeleton spawns, graveyard structures

Commands:

  • /underworld create - Create the dimension

  • /underworld tp - Toggle between Overworld and Underworld

  • /underworld reload - Reload configuration

Crafting Recipes:

  • Candle of the Underworld: 8 Diamond Blocks + 1 Nether Star

  • Soul Key: Netherite Ingots + Gold Blocks + Ender Pearl (arranged in pattern)

The plugin uses XSeries for full cross-version compatibility (1.16-1.21+), includes cooldown systems, and extensive configuration options for customization.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
27 1,690
src/main/java/com/underworld/UnderworldPlugin.java
package com.underworld;

import com.underworld.listeners.*;
import com.underworld.managers.*;
import org.bukkit.plugin.java.JavaPlugin;

public class UnderworldPlugin extends JavaPlugin {

    private TeleportManager teleportManager;
    private PortalManager portalManager;
    private ItemManager itemManager;
    private LootManager lootManager;
    private MobManager mobManager;
    private BiomeManager biomeManager;
    private DimensionManager dimensionManager;

    @Override
    public void onEnable() {
        this.teleportManager = new TeleportManager(this);
        this.portalManager = new PortalManager(this);
        this.itemManager = new ItemManager(this);
        this.lootManager = new LootManager(this);
        this.mobManager = new MobManager(this);
        this.biomeManager = new BiomeManager(this);
        this.dimensionManager = new DimensionManager(this);

        getServer().getPluginManager().registerEvents(new PortalListener(this), this);
        getServer().getPluginManager().registerEvents(new ItemListener(this), this);
        getServer().getPluginManager().registerEvents(new MobListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);

        saveDefaultConfig();
    }

    @Override
    public void onDisable() {
    }

    public TeleportManager getTeleportManager() {
        return teleportManager;
    }

    public PortalManager getPortalManager() {
        return portalManager;
    }

    public ItemManager getItemManager() {
        return itemManager;
    }

    public LootManager getLootManager() {
        return lootManager;
    }

    public MobManager getMobManager() {
        return mobManager;
    }

    public BiomeManager getBiomeManager() {
        return biomeManager;
    }

    public DimensionManager getDimensionManager() {
        return dimensionManager;
    }
}