Topic category: Help with modding (Java Edition)
I want to make a limited range bullet (it will be a spell).
So in the event "While bullet flying tick" I assigned a script that despawns the bullet after some time. Except the problem is I don't know how to despawn this bullet. I tried "Despawn event / target entity" and the script despawning nearest entity. Nothing works :[