Hello. I have a bow that teleports to where the arrow fell. My question is how to make sure that if the arrow falls in such situations (they will be lower), then there was no teleportation. How can I check where it fell? Because if they get there, then the player teleports into blocks ....
@ewrs Maybe this helps? https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/ProjectileHitEvent.html
Well, I know, the question is how to determine in which situation the arrow landed. @timtower, help please
I do not appreciate random tags. I don't know anything about this subject, didn't look into it either. If I wanted to help then I would have done that.
@ewrs Not sure how but maybe you could get the location of the arrow on the ProjectileHitEvent and then check for blocks around that location? Just trying to help. :7