akifz5109-droid

Make a instant structure build tool tap any 90 build button like building modern house build hack and more tap building image button to show outline you move the outline move tap done button to create a structure Minecraft add-on

Kodari AI
KodariJul 2 at 5:45 am 2

I’ll create a structure building plugin called InstaBuild.

InstaBuild
A structure placement plugin that lets players select builds from a GUI, preview them as particle outlines, move the preview around, and place them instantly. Features include categorized structure selection, real-time particle preview with rotation support, and adjustable placement positioning. Includes 5 example structures and supports custom structure files.

Let me write all files now.

All 16 files created. Here’s how it works:

Flow:

  1. /ib or /instabuild opens a GUI showing structure categories (Modern, Castle, Decor, Nature, Utility)

  2. Click a category → browse structures with size/block info

  3. Click a structure → preview starts immediately at the targeted block location

  4. Particle outline shows where the structure will go — block break particles at each position + end rod bounding box

  5. Move the outline: right-click on any block to snap the preview there

  6. Rotate the outline: left-click to cycle through 0° → 90° → 180° → 270°

  7. Done button to build: sneak + right-click (anywhere) places all blocks instantly

Controls shown on action bar:

  • L-Click: Rotate — rotates preview 90°

  • R-Click: Move — moves preview to clicked block

  • Shift+R-Click: ✅ Build — confirms and builds

  • Q: Cancel — drops out of preview mode

5 example structures included: Modern House (30 blocks), Storage Shed, Campfire, Stone Fountain, Observation Tower. Add more by placing .yml files in the structures/ folder.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
16 1,245
src/main/java/com/instabuild/InstaBuild.java
package com.instabuild;

import com.instabuild.command.InstaBuildCommand;
import com.instabuild.listener.PlayerListener;
import com.instabuild.manager.PreviewManager;
import com.instabuild.manager.StructureManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class InstaBuild extends JavaPlugin {

    private StructureManager structureManager;
    private PreviewManager previewManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        saveResource("structures/storage_shed.yml", false);
        saveResource("structures/campfire.yml", false);
        saveResource("structures/stone_fountain.yml", false);
        saveResource("structures/observation_tower.yml", false);
        saveResource("structures/modern_house.yml", false);

        this.structureManager = new StructureManager(this);
        this.previewManager = new PreviewManager(this);

        getCommand("instabuild").setExecutor(new InstaBuildCommand(this));
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);

        getLogger().info("InstaBuild enabled! Loaded " + structureManager.getStructures().size() + " structures.");
    }

    @Override
    public void onDisable() {
        if (previewManager != null) {
            previewManager.cancelAll();
        }
    }
}