package skripteditor.addons.skript.evt;

import skripteditor.events.Event;

public class EvtOnBlockBreakMine extends Event {

	@Override
	public void registerUserFriendyPatterns() {
		registerUserFriendyPattern("[block] (min(e|ing)) [[of] %blocks%]");

	}

	@Override
	public void registerPatterns() {
		registerPattern("[block ](min(e|ing))[ [of ]%blocks%]");
	}

	@Override
	public String getName() {
		return "Block Break / Mine";
	}

	@Override
	public String[] getExamples() {
		return new String[] {
				"on mine of any ore:\n" + //
						"\tplayer's tool is wooden pickaxe\n" + //
						"\tmessage \"You can't mine with that!\"\n" + //
						"\tcancel event"
		};
	}

}
