Module gomint.api

Class BlockBreakEvent

    • Constructor Detail

      • BlockBreakEvent

        public BlockBreakEvent​(EntityPlayer player,
                               Block breakBlock,
                               List<ItemStack> drops)
        Create new block break event. This event gets called when a player decides to break a block
        player - which breaks the block
        breakBlock - which should be broken
        drops - which should be dropped
    • Method Detail

      • getDrops

        public List<ItemStack> getDrops()
        Get the list of drops
        drops which can be manipulated
      • getBreakBlock

        public Block getBreakBlock()
        Get block which should be broken
        block which should be broken