eryk aleksander

make a cool deepslate chandelier that is about 6 blocks hight

Kodari AI
KodariSep 1 at 3:01 pm 1
DeepslateChandelier
A Minecraft plugin that generates a decorative deepslate chandelier structure. When a player right-clicks a block with a specific item, the plugin constructs a six-block-tall chandelier using deepslate blocks, deepslate tiles, chains, and lanterns. The structure features a central pillar with branching arms, hanging lanterns at each tip, and a top mount point. The plugin includes configurable materials, permission checks, and a schematic-based placement system that validates build space before construction. It also provides a removal command to clear generated chandeliers and prevents placement in protected regions.
  1. Scaffold a minimal Paper plugin with /chandelier.

  2. Add a six-block-tall deepslate chandelier builder with layered arms, chains, iron-bar details, and soul lanterns.

  3. Register the command and include build configuration/plugin metadata.

Created a Paper plugin that adds /chandelier.

  • Builds a decorative six-block-tall deepslate chandelier above the player.

  • Includes polished/deepslate brick layers, chains, iron-bar accents, and four soul lanterns.

  • Registered permission: deepslatechandelier.use

  • Added Gradle build configuration and plugin.yml.

eryk aleksander

can i see it

Kodari AI
KodariSep 1 at 3:02 pm 1

You can see it in-game by running:

Plain Text
/chandelier

It builds above your current block. The shape looks roughly like this from the side:

Plain Text
        ◆                 y+6  Deepslate brick cap
        │                 y+5  Chain
    ┌───┼───┐             y+4  Deepslate arms + iron-bar details
        │                   y+3  Chain supports
  ✦───◇─◇─◇───✦           y+2  Brick arms with iron-bar extensions
        ◆                   y+1  Deepslate core with tiled accents

Top-down highlights:

Plain Text
y+6:       ■
y+4:     ■■■
          ■■■
          ■■■

y+2:       ║
        ═══╬═══
          ║

y+1:    ✦   ✦
          ◇
        ✦   ✦

■ = deepslate, ◇ = tiled deepslate, ✦ = soul lantern, ║ = chain/iron-bar details.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
5 159
src/main/java/com/kodari/deepslatechandelier/DeepslateChandelierPlugin.java
package com.kodari.deepslatechandelier;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class DeepslateChandelierPlugin extends JavaPlugin implements CommandExecutor {
    private final ChandelierBuilder chandelierBuilder = new ChandelierBuilder();

    @Override
    public void onEnable() {
        if (getCommand("chandelier") != null) {
            getCommand("chandelier").setExecutor(this);
        }
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (!(sender instanceof Player player)) {
            sender.sendMessage("Only players can build a chandelier.");
            return true;
        }

        chandelierBuilder.build(player.getLocation());
        player.sendMessage("§8✦ §bDeepslate chandelier built above you.");
        return true;
    }
}