public class MCPlayerRightClickItemEvent extends MCPlayerInteractEvent implements crafttweaker.api.event.PlayerRightClickItemEvent
| Constructor and Description |
|---|
MCPlayerRightClickItemEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCancellationResult() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
void |
setCancellationResult(java.lang.String value) |
damageItem, getBlock, getBlockState, getDimension, getFace, getHand, getPlayer, getPosition, getUsedItem, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdamageItem, getBlock, getBlockState, getDimension, getFace, getHand, getUsedItem, getWorldpublic MCPlayerRightClickItemEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event)
public boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelablepublic java.lang.String getCancellationResult()
getCancellationResult in interface crafttweaker.api.event.IHasCancellationResultpublic void setCancellationResult(java.lang.String value)
setCancellationResult in interface crafttweaker.api.event.IHasCancellationResult