Mineuniverse
Plugins

Magic Wands API

PLUGIN
Wand api hook for plugins
by _ForgeUser9047045
Download Claim this project
2,924 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Developer Tools
Advertisement Remove ads with Premium →

Simple really, we kill the old wands.

This plugin i would like to replace all of the wands plugins are currently using.

Config

<none>

Permissions

<none>

how to make a wand

  1. make a wand class and make it implement Wand (look below for example)
  2. register the wand - WandManager.add(Wand Class);
  3. make sure you have depend: Wands in you config

Examples

Wand Class
public class ProtectionWand implements Wand {
	public HashMap<String,Location[]> selections = new HashMap<String,Location[]>();
	@Override
	public void onRightClick(ItemStack itemStack, Player player,
			Block bockedClick, BlockFace face) {
	}

	@Override
	public void onLeftClick(ItemStack itemStack, Player player,
			Block bockedClick, BlockFace face) {

	}
	@Override
	public boolean canCreate(ItemStack itemStack, Player player) {
            return true;
	}

	@Override
	public String getName() {
		return ChatColor.GOLD+"Protection Wand";
	}

}

Pictures :D

Example Example

Wands V 1.0.0
MC 1.4.7
Release 2013-02-17 Get

More from _ForgeUser9047045

Advertisement Remove ads with Premium →

You Might Also Like