Started by
Ser_nih
on
Topic category: Help with MCreator software
hi, I need to have potion effects applied to the player when they hit a mob (in my case, the slowness effect when the player hits the mob with a sword).)
please help me
Topic category: Help with MCreator software
hi, I need to have potion effects applied to the player when they hit a mob (in my case, the slowness effect when the player hits the mob with a sword).)
please help me
Do you mean with a specific sword that you made or with any sword in general. The first is easier, I think. Make the weapon, go to the triggers and to the "When entity is hit with tool". Then make a new procedure that adds potion effect to event/target entity. If that doesn't work, change it to "source entity" instead of target entity, but I think it should work.
yes its true, thanks!