Shoyo

make this into a plushie for minecraft

1 image attached
Kodari AI
KodariSep 5 at 2:56 pm 1
PlushieCraft
PlushieCraft is a Minecraft plugin that transforms any item into a wearable, placeable plushie. Players can craft plushies from wool and string, customize them with dyes, and display them on armor stands or carry them as companions. The plugin adds a custom plushie item type with unique textures, right-click interactions for cuddling animations, and a GUI for managing plushie collections. Includes support for custom models, particle effects, and integration with popular economy plugins for trading plushies between players.

I’ll create a Paper plugin that adds a black bat plushie based on the reference, including:

  1. A /batplushie give command with permissions and tab completion.

  2. A tagged plushie item with custom name, lore, model data, and right-click interaction.

  3. A matching resource-pack model that shapes the plushie with ears, wings, belly, eyes, and fangs.

  4. Complete Gradle, plugin, and configuration files.

Created a Minecraft black bat plushie plugin based on the reference image.

  • Command: /batplushie give [player] [amount]

  • Permission: batplushie.give

  • Custom plushie item with:

    • Black bat body

    • Wings and ears

    • Gray belly

    • White eyes and fangs

    • Red mouth

    • Right-click cuddle message

  • Included resource-pack model files in resource-pack/

  • Configurable name, lore, material, model data, and messages

Apply the resource-pack folder as a Minecraft resource pack to display the custom plushie model.

Kodari can make mistakes. Review important code before using.
Files
resource-pack
src
build.gradle
settings.gradle
Code
10 432
src/main/java/com/kodari/batplushie/BatPlushiePlugin.java
package com.kodari.batplushie;

import java.util.List;
import java.util.Objects;

import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
import org.bukkit.command.PluginCommand;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.persistence.PersistentDataType;
import org.bukkit.plugin.java.JavaPlugin;

public final class BatPlushiePlugin extends JavaPlugin {

    private NamespacedKey plushieKey;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        plushieKey = new NamespacedKey(this, "bat_plushie");

        BatPlushieCommand command = new BatPlushieCommand(this);
        PluginCommand plushieCommand = Objects.requireNonNull(getCommand("batplushie"));
        plushieCommand.setExecutor(command);
        plushieCommand.setTabCompleter(command);

        getServer().getPluginManager().registerEvents(new BatPlushieListener(this), this);
    }

    public ItemStack createPlushie(int amount) {
        String materialName = getConfig().getString("plushie.material", "BLACK_WOOL");
        Material material = Material.matchMaterial(materialName);
        if (material == null) {
            throw new IllegalStateException("Invalid plushie material: " + materialName);
        }

        ItemStack item = new ItemStack(material, amount);
        ItemMeta meta = Objects.requireNonNull(item.getItemMeta());
        meta.setDisplayName(color(getConfig().getString("plushie.display-name", "&0&lBat Plushie")));

        List<String> configuredLore = getConfig().getStringList("plushie.lore");
        meta.setLore(configuredLore.stream().map(this::color).toList());
        meta.setCustomModelData(getConfig().getInt("plushie.model-data", 24001));
        meta.getPersistentDataContainer().set(plushieKey, PersistentDataType.BYTE, (byte) 1);
        item.setItemMeta(meta);
        return item;
    }

    public boolean isPlushie(ItemStack item) {
        if (item == null || !item.hasItemMeta()) {
            return false;
        }

        ItemMeta meta = item.getItemMeta();
        Byte marker = meta.getPersistentDataContainer().get(plushieKey, PersistentDataType.BYTE);
        return marker != null && marker == (byte) 1;
    }

    public String message(String path) {
        String prefix = getConfig().getString("messages.prefix", "");
        return color(prefix + getConfig().getString(path, ""));
    }

    public String color(String text) {
        return ChatColor.translateAlternateColorCodes('&', text == null ? "" : text);
    }
}