Started by
bitlero
on
Topic category: Help with Minecraft modding (Java Edition)
I have a sword that explodes when you hit an entity but when I tried to make player immune to explosive damage for half a sec so they don't die while using the item it made the hit mob immune instead... so then I tried using that mob in execute command to give player resistance but it broke in multiplayer can anyone help?
it probably made the mob immune because you used the wrong entity block type, this forum should help
https://mcreator.net/forum/108106/what-are-all-types-entities
@potatomancer so you saying if I replace target with source entity am good?
that or immediate source entity, i don't know exactly which one but you should be able to get it right with process of elimination