Topic category: Help with MCreator modding
I am currently working on a mod that would need the player to do an attack when a key is pressed. At first, I thought this would work by creating a keybind, then in the keybind's event putting a "swing main hand of the entity". Unfortunately, when this is used the swing appears to only be for aesthetics as it didn't do any damage. If anyone knows who to make a player do said attack on keybind, please let me know.