Module gomint.api

Class PlayerInteractEvent

    • Constructor Detail

      • PlayerInteractEvent

        public PlayerInteractEvent​(EntityPlayer player,
                                   PlayerInteractEvent.ClickType clickType,
                                   Block block)
        Create a new interaction event
        player - which interacted with something
        clickType - which has been used
        block - on which the player interacted
    • Method Detail

      • getBlock

        public Block getBlock()
        Get the block with which the player interacted. This may be null
        block which the player interacted with