ForgePatch/common/net/minecraftforge/event/entity/player/EntityItemPickupEvent.java

19 lines
445 B
Java
Raw Normal View History

package net.minecraftforge.event.entity.player;
import net.minecraft.src.Entity;
import net.minecraft.src.EntityItem;
import net.minecraft.src.EntityPlayer;
import net.minecraftforge.event.Cancelable;
@Cancelable
public class EntityItemPickupEvent extends PlayerEvent
{
public final EntityItem item;
public EntityItemPickupEvent(EntityPlayer player, EntityItem item)
{
super(player);
this.item = item;
}
}