MrMarnic Posted July 22, 2019 Share Posted July 22, 2019 (edited) In 1.12.2 the type of the RayTraceResult of the ProjectileImpactEvent was Block if the arrow hit a block. But int 1.14.3 it is only Block if the arrow hits a block the player is directly looking at. Everytime else it is miss. This is my code: @SubscribeEvent public static void projectileHit(ProjectileImpactEvent.Arrow e) { System.out.println(e.getRayTraceResult().getType()); } Again it is only Block if the hit block is highlighted. I 1.12.2 it worked. Edited July 22, 2019 by MrMarnic Quote Link to comment Share on other sites More sharing options...
MrMarnic Posted July 23, 2019 Author Share Posted July 23, 2019 Nevermind it is wroking now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.