Started by
Nyx
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I'm working on a mod inspired in Berserk Manga, I would like to add the capacity to block attacks by pressing right-click like older versions of Minecraft. Is there any way to make it? Thanks!
Set event trigger to "player right clicks with item"
if item in main-hand of source entity = sword
do get effect of potion: resistance
and remove specific potion effect when stop
i think that's the simpliest way