john doe

make this a 2d image in minecraft please

1 image attached
Kodari AI
KodariSep 26 at 11:18 pm 1
PixelCanvas
PixelCanvas is a Minecraft plugin that lets players convert 2D images into in-game pixel art. Players provide an image URL or file path, and the plugin renders it as a grid of colored blocks in the world. It supports configurable scale, block palette selection, and automatic block placement with WorldEdit integration. The plugin includes a GUI for previewing images, selecting dimensions, and choosing build materials. It handles transparent pixels, offers undo functionality, and provides per-player build limits to prevent server lag.
  • Create a Paper plugin that gives players a custom map displaying the image in-game.

  • Include a colorful built-in fallback scene and support replacing it with the original image.png.

  • Add the command, config, and build metadata.

Created a Paper plugin that gives you a Minecraft map displaying a 2D image. Use /mapimage to get the map, then place it in an item frame.

The attached photo isn’t available as a project file, so the plugin generates a rainbow-bridge fallback image. To display the exact photo, replace plugins/RainbowBridgeImage/image.png with its PNG and run /mapimage reload.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 402
src/main/java/com/kodari/imagemap/ImageMapPlugin.java
package com.kodari.imagemap;

import org.bukkit.plugin.java.JavaPlugin;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

public final class ImageMapPlugin extends JavaPlugin {
    private BufferedImage artwork;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        try {
            reloadArtwork();
        } catch (IOException exception) {
            getLogger().severe("Could not load the image: " + exception.getMessage());
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        getCommand("mapimage").setExecutor(new ImageCommand(this));
    }

    public BufferedImage getArtwork() {
        return artwork;
    }

    public void reloadArtwork() throws IOException {
        reloadConfig();
        String imageFile = getConfig().getString("image-file", "image.png");
        artwork = Artwork.loadOrCreate(new File(getDataFolder(), imageFile));
    }
}