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

Method isVecInsideXZBounds

src/main/java/net/minecraft/block/Block.java:832–835  ·  view source on GitHub ↗

Checks if a vector is within the X and Z bounds of the block.

(Vec3 point)

Source from the content-addressed store, hash-verified

830 * Checks if a vector is within the X and Z bounds of the block.
831 */
832 private boolean isVecInsideXZBounds(Vec3 point)
833 {
834 return point == null ? false : point.xCoord >= this.minX && point.xCoord <= this.maxX && point.zCoord >= this.minZ && point.zCoord <= this.maxZ;
835 }
836
837 /**
838 * Checks if a vector is within the X and Y bounds of the block.

Callers 1

collisionRayTraceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected