Key-pressed simulation

MCreator version
Issue description

It would be nice if it is possible to simulate a key pressed. Ex : if I meet a condition, the procedure simulate Q key. As the result, the player drop the item. 

And even better, simulate the right/left mouse pressed.

<A small question: Why cant we simulate mouse key binding yet>

Issue comments

You could theoretically simulate presses and key presses, but this is very hacky thing, so I prefer if there is a plugin for this than actual feature.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.