Started by
Willow markham
on
Topic category: Help with Minecraft modding (Java Edition)
i made a weapon that upon right clicking causes a small explosion, however i dont want it to hurt the player, can somebody help me with this procedure?
Btw, projectiles start from coliding with shooter(shooting projectiles entity)
SO YOU TRIGGER HIT PROCEDURE WHEN YOU SHOOT.
Basicly you projectile and get shot and projectile keeps going.
maybe add some global player variables for explosion cooldown or something.
Sorry, I thouth you mean explosive projectile.
Ok, make player invulerable for the time of explosion and then make him(player) voulrable after explosion is done.