Started by
slavchik
on
Topic category: Help with Minecraft modding (Java Edition)
so I made several projectiles and they work fine in survival, but as soon as I hit an immortal entity or shoot myself in the creative, the projectile starts to get stuck in me and starts calling the procedure a lot of times (number of fps speed) and how do I fix it? I've tried despawn event entity but it just bugs the hell out of game i need to remove projectile after it hits entity just once
here the showing of problem https://youtu.be/dva0sP_pwiQ
in the triggers tab of the projectile make a procedure for the trigger "projectile hits living entity" and in the procedure just put the block despawn immediate source entity
yea i did it but it turns another bug
the block i made is despawn(sourse entity) but it despawns the player not the projectile
yes, that's what happens using "source entity" you need to use "immediate source entity"
thank you i appreciate your help. you saved my silly mod
You're welcome