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, getHand, getPlayer, getPosition, getUsedItem, getWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
damageItem, getBlock, getBlockState, getDimension, getHand, getUsedItem, getWorld
public MCPlayerLeftClickBlockEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.LeftClickBlock event)
public crafttweaker.api.world.IVector3d getHitVector()
getHitVector
in interface crafttweaker.api.event.PlayerLeftClickBlockEvent
public java.lang.String getUseBlock()
getUseBlock
in interface crafttweaker.api.event.PlayerLeftClickBlockEvent
public void setUseBlock(java.lang.String useBlock)
setUseBlock
in interface crafttweaker.api.event.PlayerLeftClickBlockEvent
public java.lang.String getUseItem()
getUseItem
in interface crafttweaker.api.event.PlayerLeftClickBlockEvent
public void setUseItem(java.lang.String useItem)
setUseItem
in interface crafttweaker.api.event.PlayerLeftClickBlockEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable
public java.lang.String getCancellationResult()
getCancellationResult
in interface crafttweaker.api.event.IHasCancellationResult
public void setCancellationResult(java.lang.String value)
setCancellationResult
in interface crafttweaker.api.event.IHasCancellationResult