// Path: src/main/java/xilef11/mc/runesofwizardry_classics/Refs.java
// public final class Refs {
// 	private Refs(){}
// 	public static final String MODID = "runesofwizardry_classics";
// 	public static final String VERSION = "@VERSION@";
// 	public static final String NAME="Runes of Wizardry - Classic Dusts Pack";
// 	public static final String GUI_FACTORY="xilef11.mc.runesofwizardry_classics.client.gui.GuiFactory";
// 	public static final String CLIENT_PROXY = "xilef11.mc.runesofwizardry_classics.proxy.ClientProxy",
// 							   SERVER_PROXY="xilef11.mc.runesofwizardry_classics.proxy.ServerProxy";
// 	public static final String PATTERN_PATH=MODID+":patterns/";
// 	public static final String TEXTURE_PATH=MODID+":";
// 	public static final int TICKS_PER_DAY=24000;
// 	public static final int TPS=20;
// 	public static final class Lang{
// 		private Lang(){}
// 		public static final String RUNE=MODID+".rune";
// 		public static final String CONFIG=MODID+".configuration";
// 		public static final String DEC=RUNE+".decorative";
// 		
// 		public static final class Jei{
// 			private Jei(){}
// 			public static final String JEI=MODID+".jei";
// 			public static final String SPIRIT_SWORD=JEI+".spirit_sword";
// 			public static final String SPIRIT_PICKAXE=JEI+".spirit_pickaxe";
// 		}
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/runes/entity/RuneEntityUnimplemented.java
// public class RuneEntityUnimplemented extends RuneEntity {
// 	private final String runeName;
// 	public static final String message=Refs.Lang.RUNE+".unimplemented.message";
// 	/**
// 	 * @param actualPattern
// 	 * @param facing
// 	 * @param dusts
// 	 * @param entity
// 	 */
// 	public RuneEntityUnimplemented(ItemStack[][] actualPattern, EnumFacing facing,Set<BlockPos> dusts, TileEntityDustActive entity,IRune rune) {
// 		super(actualPattern, facing, dusts, entity,rune);
// 		this.runeName=rune.getName();
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.RuneEntity#onRuneActivatedbyPlayer(net.minecraft.entity.player.EntityPlayer, net.minecraft.item.ItemStack[])
// 	 */
// 	@Override
// 	public void onRuneActivatedbyPlayer(EntityPlayer player,ItemStack[] sacrifice,boolean negated) {
// 		player.sendMessage(new TextComponentTranslation(message, new TextComponentTranslation(runeName)));
// 		RunesUtil.deactivateRune(this);
// 		//return the sacrifice
// 		for(ItemStack i:sacrifice){
// 			Utils.spawnItemCentered(player.world, getPos(), i);
// 		}
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.RuneEntity#update()
// 	 */
// 	@Override
// 	public void update() {
// 		//NOP
// 	}
// }


import java.io.IOException;
import java.util.Set;
import com.zpig333.runesofwizardry.api.RuneEntity;
import com.zpig333.runesofwizardry.core.rune.PatternUtils;
import com.zpig333.runesofwizardry.tileentity.TileEntityDustActive;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3i;
import xilef11.mc.runesofwizardry_classics.Refs;
import xilef11.mc.runesofwizardry_classics.runes.entity.RuneEntityUnimplemented;
package xilef11.mc.runesofwizardry_classics.runes;


public class RuneSpawnerReassignment extends ClassicRune {
	@Override
	protected ItemStack[][] setupPattern() throws IOException {
		return PatternUtils.importFromJson(Refs.PATTERN_PATH+"runespawnerreassignment.json");
	}
	@Override
	public String getID() {
		return "runeSpawnerReassignment";
	}
	@Override
	protected Vec3i setupEntityPos() {
		return new Vec3i(1,2,0);//below the spawner
	}
	@Override
	protected ItemStack[][] setupSacrifice() {
		return null;
		//No need for this rune, spawners can be set by using a spawn egg on them directly.
//		return new ItemStack[][]{
//				{new ItemStack(Items.SPAWN_EGG),new ItemStack(Items.ender_pearl,2)}//take 10 xp (might have to do something to ignore egg NBT)
//				};
	}
	/* (non-Javadoc)
	 * @see xilef11.mc.runesofwizardry_classics.runes.ClassicRune#hasExtraSacrifice()
	 */
	@Override
	protected boolean hasExtraSacrifice() {
		return true;
	}
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/Refs.java
// public final class Refs {
// 	private Refs(){}
// 	public static final String MODID = "runesofwizardry_classics";
// 	public static final String VERSION = "@VERSION@";
// 	public static final String NAME="Runes of Wizardry - Classic Dusts Pack";
// 	public static final String GUI_FACTORY="xilef11.mc.runesofwizardry_classics.client.gui.GuiFactory";
// 	public static final String CLIENT_PROXY = "xilef11.mc.runesofwizardry_classics.proxy.ClientProxy",
// 							   SERVER_PROXY="xilef11.mc.runesofwizardry_classics.proxy.ServerProxy";
// 	public static final String PATTERN_PATH=MODID+":patterns/";
// 	public static final String TEXTURE_PATH=MODID+":";
// 	public static final int TICKS_PER_DAY=24000;
// 	public static final int TPS=20;
// 	public static final class Lang{
// 		private Lang(){}
// 		public static final String RUNE=MODID+".rune";
// 		public static final String CONFIG=MODID+".configuration";
// 		public static final String DEC=RUNE+".decorative";
// 		
// 		public static final class Jei{
// 			private Jei(){}
// 			public static final String JEI=MODID+".jei";
// 			public static final String SPIRIT_SWORD=JEI+".spirit_sword";
// 			public static final String SPIRIT_PICKAXE=JEI+".spirit_pickaxe";
// 		}
// 	}
// }
// 
// Path: src/main/java/xilef11/mc/runesofwizardry_classics/runes/entity/RuneEntityUnimplemented.java
// public class RuneEntityUnimplemented extends RuneEntity {
// 	private final String runeName;
// 	public static final String message=Refs.Lang.RUNE+".unimplemented.message";
// 	/**
// 	 * @param actualPattern
// 	 * @param facing
// 	 * @param dusts
// 	 * @param entity
// 	 */
// 	public RuneEntityUnimplemented(ItemStack[][] actualPattern, EnumFacing facing,Set<BlockPos> dusts, TileEntityDustActive entity,IRune rune) {
// 		super(actualPattern, facing, dusts, entity,rune);
// 		this.runeName=rune.getName();
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.RuneEntity#onRuneActivatedbyPlayer(net.minecraft.entity.player.EntityPlayer, net.minecraft.item.ItemStack[])
// 	 */
// 	@Override
// 	public void onRuneActivatedbyPlayer(EntityPlayer player,ItemStack[] sacrifice,boolean negated) {
// 		player.sendMessage(new TextComponentTranslation(message, new TextComponentTranslation(runeName)));
// 		RunesUtil.deactivateRune(this);
// 		//return the sacrifice
// 		for(ItemStack i:sacrifice){
// 			Utils.spawnItemCentered(player.world, getPos(), i);
// 		}
// 	}
// 	/* (non-Javadoc)
// 	 * @see com.zpig333.runesofwizardry.api.RuneEntity#update()
// 	 */
// 	@Override
// 	public void update() {
// 		//NOP
// 	}
// }


// Path: src/main/java/xilef11/mc/runesofwizardry_classics/runes/RuneSpawnerReassignment.java
import java.io.IOException;
import java.util.Set;
import com.zpig333.runesofwizardry.api.RuneEntity;
import com.zpig333.runesofwizardry.core.rune.PatternUtils;
import com.zpig333.runesofwizardry.tileentity.TileEntityDustActive;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3i;
import xilef11.mc.runesofwizardry_classics.Refs;
import xilef11.mc.runesofwizardry_classics.runes.entity.RuneEntityUnimplemented;

package xilef11.mc.runesofwizardry_classics.runes;


public class RuneSpawnerReassignment extends ClassicRune {
	@Override
	protected ItemStack[][] setupPattern() throws IOException {
		return PatternUtils.importFromJson(Refs.PATTERN_PATH+"runespawnerreassignment.json");
	}
	@Override
	public String getID() {
		return "runeSpawnerReassignment";
	}
	@Override
	protected Vec3i setupEntityPos() {
		return new Vec3i(1,2,0);//below the spawner
	}
	@Override
	protected ItemStack[][] setupSacrifice() {
		return null;
		//No need for this rune, spawners can be set by using a spawn egg on them directly.
//		return new ItemStack[][]{
//				{new ItemStack(Items.SPAWN_EGG),new ItemStack(Items.ender_pearl,2)}//take 10 xp (might have to do something to ignore egg NBT)
//				};
	}
	/* (non-Javadoc)
	 * @see xilef11.mc.runesofwizardry_classics.runes.ClassicRune#hasExtraSacrifice()
	 */
	@Override
	protected boolean hasExtraSacrifice() {
		return true;
	}
	@Override