Files
Paper/Spigot-API-Patches/Add-ray-tracing-methods-to-LivingEntity.patch
BillyGalbreath 1ee368448e Add ray tracing methods to LivingEntity (#1410)
This method will return the Block a player is looking at while taking into consideration the AABB of each block in the path.

For example, you can look through the 1/4 space of air in a Stair block and get the block behind it instead of the Stair block you are looking past.
2018-09-03 18:59:54 -05:00

5.1 KiB