public class MCPlayerInteractEntityEvent extends MCPlayerInteractEvent implements crafttweaker.api.event.PlayerInteractEntityEvent
| Constructor and Description |
|---|
MCPlayerInteractEntityEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract event) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.entity.IEntity |
getTarget() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
damageItem, getBlock, getBlockState, getDimension, getFace, getHand, getPlayer, getPosition, getUsedItem, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MCPlayerInteractEntityEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.EntityInteract event)
public crafttweaker.api.entity.IEntity getTarget()
getTarget in interface crafttweaker.api.event.PlayerInteractEntityEventpublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable