Started by
josephvazquez
on
Topic category: Help with Minecraft modding (Java Edition)
can someone help make a procedure that when a keybind is clicked it checks if you have a sword of any kind in your main hand and if so sends any projectile that hits you within half a second of clicking the kebind toward your crosshair and goes on cooldown if it fails to deflect anything
On key pressed - triger custom procedure
In this procedure, check for item in main hand and use procedure to fire projectile.
Since this is quite basic procedure, I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei