MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / rayTraceBlocks

Method rayTraceBlocks

src/main/java/net/minecraft/world/World.java:869–872  ·  view source on GitHub ↗

ray traces all blocks, including non-collideable ones

(Vec3 p_72933_1_, Vec3 p_72933_2_)

Source from the content-addressed store, hash-verified

867 * ray traces all blocks, including non-collideable ones
868 */
869 public MovingObjectPosition rayTraceBlocks(Vec3 p_72933_1_, Vec3 p_72933_2_)
870 {
871 return this.rayTraceBlocks(p_72933_1_, p_72933_2_, false, false, false);
872 }
873
874 public MovingObjectPosition rayTraceBlocks(Vec3 start, Vec3 end, boolean stopOnLiquid)
875 {

Callers 15

getBlockDensityMethod · 0.95
orientCameraMethod · 0.80
onItemRightClickMethod · 0.80
canEntityBeSeenMethod · 0.80
rayTraceMethod · 0.80
onUpdateMethod · 0.80
onUpdateMethod · 0.80
onUpdateMethod · 0.80
onUpdateMethod · 0.80
drawProjectilesMethod · 0.80

Calls 6

floor_doubleMethod · 0.95
getBlockStateMethod · 0.95
getBlockMethod · 0.95
canCollideCheckMethod · 0.95
collisionRayTraceMethod · 0.95

Tested by

no test coverage detected