mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
23 lines
479 B
Java
23 lines
479 B
Java
package net.minecraftforge.event.entity.player;
|
|
|
|
import net.minecraft.src.Entity;
|
|
import net.minecraft.src.EntityItem;
|
|
import net.minecraft.src.EntityPlayer;
|
|
|
|
public class EntityItemPickupEvent extends PlayerEvent
|
|
{
|
|
public final EntityItem item;
|
|
|
|
public EntityItemPickupEvent(EntityPlayer player, EntityItem item)
|
|
{
|
|
super(player);
|
|
this.item = item;
|
|
}
|
|
|
|
@Override
|
|
public boolean isCancelable()
|
|
{
|
|
return true;
|
|
}
|
|
}
|