public interface PlayerInteractEvent extends IPlayerEvent, IEventPositionable
| Modifier and Type | Method and Description |
|---|---|
void |
damageItem(int amount) |
IBlock |
getBlock() |
IBlockState |
getBlockState() |
int |
getDimension() |
default IFacing |
getFace() |
java.lang.String |
getHand() |
IItemStack |
getUsedItem() |
IWorld |
getWorld() |
getEntityLivingBase, getPlayergetEntitygetPosition, getX, getY, getZvoid damageItem(int amount)
IWorld getWorld()
IBlock getBlock()
IBlockState getBlockState()
int getDimension()
java.lang.String getHand()
IItemStack getUsedItem()
default IFacing getFace()