public class MCPlayerLeftClickBlockEvent extends MCPlayerInteractEvent implements crafttweaker.api.event.PlayerLeftClickBlockEvent
| Constructor and Description |
|---|
MCPlayerLeftClickBlockEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.LeftClickBlock event) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCancellationResult() |
crafttweaker.api.world.IVector3d |
getHitVector() |
java.lang.String |
getUseBlock() |
java.lang.String |
getUseItem() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
void |
setCancellationResult(java.lang.String value) |
void |
setUseBlock(java.lang.String useBlock) |
void |
setUseItem(java.lang.String useItem) |
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 MCPlayerLeftClickBlockEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.LeftClickBlock event)
public crafttweaker.api.world.IVector3d getHitVector()
getHitVector in interface crafttweaker.api.event.PlayerLeftClickBlockEventpublic java.lang.String getUseBlock()
getUseBlock in interface crafttweaker.api.event.PlayerLeftClickBlockEventpublic void setUseBlock(java.lang.String useBlock)
setUseBlock in interface crafttweaker.api.event.PlayerLeftClickBlockEventpublic java.lang.String getUseItem()
getUseItem in interface crafttweaker.api.event.PlayerLeftClickBlockEventpublic void setUseItem(java.lang.String useItem)
setUseItem in interface crafttweaker.api.event.PlayerLeftClickBlockEventpublic 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