Im trying to make a plot have snow as weather but I have no idea how to set the biome, so it rains instead. I know that its possible because the set weather mentions that in cold biomes it will snow.
I did that, but now the player takes damage upon casting the ray as well, I will attach some images of the code:
I tried having the ray start 1.5 blocks forward from the player eye location, but that did not work as well.
I am trying to do a simple ray attack where the player can shoot a beam that deals damage to other players upon colliding with them, how can I do that?