Tkcook3

create different magic wands that can shoot an effect as a projectile (like a wand)that shoots a projectile that gives you blindness.It should have a crafting recipe,obtainable in survival and a max stack of 1 and appears in the equipment tab

Kodari AI
KodariApr 21 at 5:35 pm 12,562 (v2)

I’ll create a magic wands plugin with craftable wands that shoot projectiles with potion effects.

MagicWands
A plugin that adds craftable magic wands with unique projectile abilities. Each wand shoots a projectile that applies potion effects like blindness, poison, or slowness to hit targets. Wands are survival-obtainable through custom crafting recipes, have a maximum stack size of 1, and feature configurable effects, cooldowns, and projectile speeds. Perfect for adding magical combat mechanics to survival gameplay.

All files created. The plugin includes:

  • 4 configurable wands (Blindness, Poison, Slowness, Wither) with custom crafting recipes

  • Projectile mechanics using snowballs that apply potion effects on hit

  • Cooldown system to prevent spam

  • PDC tracking to identify wands reliably

  • Survival-obtainable through shaped crafting recipes

  • /wand command with tab completion for giving wands

Wands use custom display names, lore, and enchantment glow. Each wand is configurable via config.yml for effects, duration, cooldown, and crafting recipes.

Tkcook3

will this work in minecraft education

Kodari AI
KodariApr 21 at 5:49 pm 1,560 (v2)

No, this will NOT work in Minecraft Education Edition.

This plugin is built for Java Edition servers (Spigot/Paper/Bukkit). Minecraft Education Edition is based on Bedrock Edition and uses a completely different architecture:

  • Java Edition: Uses plugins (.jar files) with Spigot/Paper/Bukkit API

  • Education Edition: Uses Add-Ons/Behavior Packs (.mcaddon files) with different scripting

If you need this for Education Edition:

You would need to create a Bedrock Add-On instead, which involves:

  • JSON-based behavior packs

  • JavaScript scripting (if using GameTest Framework)

  • Different item/entity structure

  • .mcaddon format

If you want to use this plugin:

You need a Java Edition server running:

  • Spigot

  • Paper

  • Purpur

  • Or any other Bukkit-based server software

Would you like me to:

  1. Keep this as-is for Java Edition servers, or

  2. Provide guidance on what a Bedrock/Education Edition version would require (though I cannot create .mcaddon files)?

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
9 570
src/main/java/com/magicwands/MagicWands.java
package com.magicwands;

import com.magicwands.command.WandCommand;
import com.magicwands.listener.WandListener;
import com.magicwands.manager.WandManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class MagicWands extends JavaPlugin {

    private WandManager wandManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.wandManager = new WandManager(this);
        wandManager.loadWands();
        wandManager.registerRecipes();
        
        getServer().getPluginManager().registerEvents(new WandListener(this), this);
        
        getCommand("wand").setExecutor(new WandCommand(this));
        
        getLogger().info("MagicWands has been enabled!");
    }

    @Override
    public void onDisable() {
        getLogger().info("MagicWands has been disabled!");
    }
}