2012-08-06 22:07:53 +00:00
|
|
|
package net.minecraftforge.event.entity.player;
|
|
|
|
|
|
|
|
import net.minecraft.src.Entity;
|
|
|
|
import net.minecraft.src.EntityItem;
|
|
|
|
import net.minecraft.src.EntityPlayer;
|
2012-08-07 08:24:06 +00:00
|
|
|
import net.minecraftforge.event.Cancelable;
|
2012-08-06 22:07:53 +00:00
|
|
|
|
2012-08-07 08:24:06 +00:00
|
|
|
@Cancelable
|
2012-08-06 22:07:53 +00:00
|
|
|
public class EntityItemPickupEvent extends PlayerEvent
|
|
|
|
{
|
|
|
|
public final EntityItem item;
|
|
|
|
|
|
|
|
public EntityItemPickupEvent(EntityPlayer player, EntityItem item)
|
|
|
|
{
|
|
|
|
super(player);
|
|
|
|
this.item = item;
|
|
|
|
}
|
|
|
|
}
|