Thomas shield

turn this image into a 3d model ignore the base I would like the scalres to be animated

1 image attached
Kodari AI
KodariSep 27 at 4:22 pm 1
AnimatedScaleModel
Transforms a 2D image into a fully animated 3D model within Minecraft, excluding the base platform. The plugin generates a three-dimensional representation of the image's subject using configurable block types and color mapping. It features procedural animation of the model's scales, creating a dynamic, living effect where individual scale segments ripple, pulse, or wave based on customizable animation parameters. Players can trigger animations via commands, with options for scale size, animation speed, amplitude, and wave patterns. The plugin supports multiple animation modes including sine wave, pulse, and random shimmer, all configurable through a user-friendly configuration file. Ideal for creating animated statues, decorative creatures, or dynamic art installations in-game.

I’ll create a Paper plugin that spawns the leggings as a block-display model, with animated front scales and coral fins and no display base.

Created a Paper plugin that builds the leggings as a floating block-display model, without the base. The front scales and coral fins animate; use /reefleggings to spawn the model and /reefleggings remove to clear it.

Thomas shield

open up a preview of the legings

Kodari AI
KodariSep 27 at 4:35 pm 1

I can’t open a live Minecraft preview from this chat. Load the plugin on your server and run /reefleggings to spawn the leggings model; use /reefleggings remove to clear it.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
4 241
src/main/java/com/kodari/reefleggings/ReefLeggingsPlugin.java
package com.kodari.reefleggings;

import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import org.bukkit.ChatColor;
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 ReefLeggingsPlugin extends JavaPlugin implements CommandExecutor {
    private final Map<UUID, ReefLeggingsModel> models = new HashMap<>();

    @Override
    public void onEnable() {
        getCommand("reefleggings").setExecutor(this);
    }

    @Override
    public void onDisable() {
        models.values().forEach(ReefLeggingsModel::remove);
        models.clear();
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (!(sender instanceof Player player)) {
            sender.sendMessage("This command can only be used in-game.");
            return true;
        }

        UUID playerId = player.getUniqueId();
        if (args.length > 0 && args[0].equalsIgnoreCase("remove")) {
            ReefLeggingsModel model = models.remove(playerId);
            if (model == null) {
                player.sendMessage(ChatColor.YELLOW + "You do not have an active reef leggings model.");
            } else {
                model.remove();
                player.sendMessage(ChatColor.GREEN + "Removed your reef leggings model.");
            }
            return true;
        }

        ReefLeggingsModel previous = models.remove(playerId);
        if (previous != null) {
            previous.remove();
        }

        ReefLeggingsModel model = new ReefLeggingsModel(this, player.getLocation().add(2.0, 0.0, 0.0));
        models.put(playerId, model);
        player.sendMessage(ChatColor.AQUA + "Spawned the animated axolotl reef leggings. Use /reefleggings remove to clear it.");
        return true;
    }
}