_iqcniq

Make turns into 3d items

5 images attached
Kodari AI
KodariAug 22 at 7:00 pm 2
ItemTurn3D
ItemTurn3D is a Minecraft plugin that transforms standard item drops into interactive 3D holographic displays. When an item is dropped, it renders as a floating, rotating 3D model using armor stand entities with custom heads, creating an immersive visual experience. Players can pick up these 3D items by walking into them, with configurable rotation speed, scale, and bob animation. The plugin supports all vanilla items and custom heads, includes particle effects on pickup, and offers per-world toggle settings. It features a lightweight packet-based rendering system for smooth performance, automatic cleanup of stale entities, and full configuration via YAML for rotation speed, display radius, and visual effects.

Created a Paper plugin with five custom 3D relic items based on the provided designs:

  • Frost Lantern

  • Prism Saber

  • Void Cleaver

  • Star Halberd

  • Astral Staff

Each item includes:

  • Custom model data

  • Persistent relic ID

  • Custom name and lore

  • 3D resource-pack model geometry

  • /relic give <relic> [amount]

  • /relic give <player> <relic> [amount]

  • /relic list

  • Tab completion

Use:

Plain Text
/relic list
/relic give frost_lantern
/relic give prism_saber
/relic give void_cleaver
/relic give star_halberd
/relic give astral_staff

The resource pack is located at:

Plain Text
src/main/resources/resource-pack

Zip the contents of that folder and load the ZIP as a Minecraft resource pack.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
19 501
src/main/java/com/kodari/relics/RelicPlugin.java
package com.kodari.relics;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class RelicPlugin extends JavaPlugin {
    @Override
    public void onEnable() {
        RelicCatalog catalog = new RelicCatalog();
        RelicItemFactory itemFactory = new RelicItemFactory(this, catalog);
        RelicCommand relicCommand = new RelicCommand(catalog, itemFactory);

        PluginCommand command = getCommand("relic");
        if (command == null) {
            getLogger().severe("The relic command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }
        command.setExecutor(relicCommand);
        command.setTabCompleter(relicCommand);
        getLogger().info("Loaded " + catalog.ids().size() + " 3D relic items.");
    }
}