deliperm

a purple and black vampiric castle, with a purple eclipse theme

Kodari AI
KodariSep 6 at 11:10 pm 1
EclipseVampireCastle
Creates a purple and black vampiric castle structure with a dramatic purple eclipse theme. The plugin generates a fully furnished gothic castle featuring dark stone walls, purple-tinted windows, and atmospheric lighting effects. Includes a custom purple eclipse visual in the sky above the castle, complete with glowing purple rays and shadow effects. The castle features multiple floors, a grand hall, throne room, crypts, and tower chambers with vampiric decorations. Players can trigger the eclipse event, which transforms the surrounding area's lighting to a purple hue, spawns bat particles, and activates glowing purple runes throughout the castle. The plugin offers configurable castle dimensions, material choices, and eclipse duration settings.

Created the EclipseCastle Minecraft plugin from scratch.

  • /castle build constructs a purple-and-black vampiric castle with towers, gate, stained-glass windows, lanterns, and an eclipse crest.

  • /castle eclipse triggers purple dragon-breath, portal particles, and beacon audio.

  • Added Paper build configuration, plugin metadata, configurable messages, XSeries compatibility, command handling, and tab completion.

  • Default permission: eclipsecaste.use (operator-only).

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

import java.util.Objects;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class EclipseCastlePlugin extends JavaPlugin {
    @Override
    public void onEnable() {
        saveDefaultConfig();

        MaterialPalette palette = new MaterialPalette();
        CastleBuilder builder = new CastleBuilder(palette);
        EclipseEffect effect = new EclipseEffect();
        EclipseCastleCommand command = new EclipseCastleCommand(this, builder, effect);

        PluginCommand pluginCommand = Objects.requireNonNull(getCommand("eclipsecastle"));
        pluginCommand.setExecutor(command);
        pluginCommand.setTabCompleter(command);
        getLogger().info("Eclipse Castle has awakened beneath a purple eclipse.");
    }
}