package net.minecraftforge.client.event;

import cpw.mods.fml.common.eventhandler.Cancelable;
import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.client.renderer.RenderGlobal;

@Cancelable
public class DrawBlockHighlightEvent extends Event
{
	public final RenderGlobal context;
	public final EntityPlayer player;
	public final MovingObjectPosition target;
	public final int subID;
	public final ItemStack currentItem;
	public final float partialTicks;
	
	public DrawBlockHighlightEvent(RenderGlobal context, EntityPlayer player, MovingObjectPosition target, int subID, ItemStack currentItem, float partialTicks)
	{
		this.context = context;
		this.player = player;
		this.target = target;
		this.subID = subID;
		this.currentItem = currentItem;
		this.partialTicks= partialTicks;
	}

}
