public class MCPlayerRightClickBlockEvent extends MCPlayerInteractEvent implements crafttweaker.api.event.PlayerRightClickBlockEvent
Constructor and Description |
---|
MCPlayerRightClickBlockEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.world.IVector3d |
getHitVector() |
java.lang.String |
getUseBlock() |
java.lang.String |
getUseItem() |
void |
setUseBlock(java.lang.String useBlock) |
void |
setUseItem(java.lang.String useItem) |
damageItem, getBlock, getBlockState, getDimension, getPlayer, getPosition, getWorld, isCanceled, setCanceled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
damageItem, getBlock, getBlockState, getDimension, getWorld
public MCPlayerRightClickBlockEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickBlock event)
public crafttweaker.api.world.IVector3d getHitVector()
getHitVector
in interface crafttweaker.api.event.PlayerRightClickBlockEvent
public java.lang.String getUseBlock()
getUseBlock
in interface crafttweaker.api.event.PlayerRightClickBlockEvent
public void setUseBlock(java.lang.String useBlock)
setUseBlock
in interface crafttweaker.api.event.PlayerRightClickBlockEvent
public java.lang.String getUseItem()
getUseItem
in interface crafttweaker.api.event.PlayerRightClickBlockEvent
public void setUseItem(java.lang.String useItem)
setUseItem
in interface crafttweaker.api.event.PlayerRightClickBlockEvent