2014-11-07 13:45:02 -05:00
|
|
|
package WayofTime.alchemicalWizardry.api.event;
|
|
|
|
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2015-07-29 08:23:01 -04:00
|
|
|
import net.minecraftforge.fml.common.eventhandler.Cancelable;
|
|
|
|
import net.minecraftforge.fml.common.eventhandler.Event;
|
2014-11-07 13:45:02 -05:00
|
|
|
|
2015-01-31 23:37:17 +00:00
|
|
|
@Cancelable
|
2014-11-07 13:45:02 -05:00
|
|
|
public class ItemBindEvent extends Event
|
|
|
|
{
|
|
|
|
public final EntityPlayer player;
|
|
|
|
public String key;
|
|
|
|
public ItemStack itemStack;
|
|
|
|
|
|
|
|
public ItemBindEvent(EntityPlayer player, String key, ItemStack itemStack)
|
|
|
|
{
|
|
|
|
super();
|
|
|
|
this.player = player;
|
|
|
|
this.key = key;
|
|
|
|
this.itemStack = itemStack;
|
|
|
|
}
|
|
|
|
}
|