Started by
beastboy_
on
Topic category: Help with Minecraft modding (Java Edition)
I wanna make it so if you use this specific item it will deal more hearts the closer you are to whoever you're attacking
Topic category: Help with Minecraft modding (Java Edition)
I wanna make it so if you use this specific item it will deal more hearts the closer you are to whoever you're attacking
you could use some math and the coordinates of both entities to figure out the distance, then use that distance to change the damage the player recives.