package net.minecraft.src.weasel.lang;


import net.minecraft.src.NBTTagCompound;
import net.minecraft.src.PC_INBT;
import net.minecraft.src.weasel.InstructionList;
import net.minecraft.src.weasel.Weasel;
import net.minecraft.src.weasel.exception.PauseRequestedException;
import net.minecraft.src.weasel.exception.WeaselRuntimeException;


/**
 * Label instruction, target for jumps.
 * 
 * @author MightyPork
 *
 */
public class InstructionLabel extends Instruction {


	private String labelName;

	@Override
	public void execute(Weasel engine, InstructionList instructionList) throws PauseRequestedException, WeaselRuntimeException {
		// TODO Auto-generated method stub

	}

	@Override
	public NBTTagCompound writeToNBT(NBTTagCompound tag) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PC_INBT readFromNBT(NBTTagCompound tag) {
		// TODO Auto-generated method stub
		return null;
	}
	
	public String getLabelName(){
		return labelName;
	}
	
	public InstructionLabel setLabelName(String labelName){
		this.labelName = labelName;
		return this;
	}

}
