package skripteditor.addons.skript.exp;

import skripteditor.expressions.Expression;

public class ExpFurnaceSlot extends Expression {

	@Override
	public void registerUserFriendyPatterns() {
		registerUserFriendyPattern("[the] (ore|fuel|result)[s] [slot[s]] of %blocks%");
		registerUserFriendyPattern("%blocks%'[s] (ore|fuel|result)[s] [slot[s]]");
	}

	@Override
	public void registerPatterns() {
		registerPattern("[the ](ore|fuel|result)[s][ slot[s]] of %blocks%");
		registerPattern("%blocks%['s] (ore|fuel|result)[s][ slot[s]]");
	}

	@Override
	public String[] getExamples() {
		return new String[] { "set the fuel slot of the clicked block to a lava bucket\n"
				+ "set the block's ore slot to 64 iron ore\n" + "give the result of the block to the player\n"
				+ "clear the result slot of the block" };
	}

	@Override
	public String getName() {
		return "Furnace Slot";
	}

}
