public class MinecartInteractEvent extends MinecartEvent
EntityMinecart.processInitialInteract(EntityPlayer, EnumHand).
 player contains the EntityPlayer that is involved with this minecart interaction.Cancelable.HasResultMinecraftForge.EVENT_BUS.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
MinecartInteractEvent(EntityMinecart minecart,
                     EntityPlayer player,
                     EnumHand hand)  | 
| Modifier and Type | Method and Description | 
|---|---|
EnumHand | 
getHand()  | 
ItemStack | 
getItem()  | 
EntityPlayer | 
getPlayer()  | 
getMinecartgetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic MinecartInteractEvent(EntityMinecart minecart, EntityPlayer player, EnumHand hand)
public EntityPlayer getPlayer()
public ItemStack getItem()
public EnumHand getHand()