Started by
mooxzyz
on
Topic category: Help with Minecraft modding (Java Edition)
Hello i am using the following code to try make so when i right click an entity it lightning strikes them, here is the image:
https://imgur.com/a/JrKLCD3
why does it hit both me and the entity how do i make it just hit the entity
try using raytrace distance insted... however, that will make it always be a specific amount of blocks away from the player