public interface PlayerInteractEvent extends IEventCancelable, IPlayerEvent, IEventPositionable
Modifier and Type | Method and Description |
---|---|
void |
damageItem(int amount) |
IBlock |
getBlock() |
IBlockState |
getBlockState() |
int |
getDimension() |
IWorld |
getWorld() |
cancel, isCanceled, setCanceled
getEntityLivingBase, getPlayer
getEntity
getPosition, getX, getY, getZ
void damageItem(int amount)
IWorld getWorld()
IBlock getBlock()
IBlockState getBlockState()
int getDimension()