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

Method isVecInsideYZBounds

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

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

(Vec3 point)

Source from the content-addressed store, hash-verified

822 * Checks if a vector is within the Y and Z bounds of the block.
823 */
824 private boolean isVecInsideYZBounds(Vec3 point)
825 {
826 return point == null ? false : point.yCoord >= this.minY && point.yCoord <= this.maxY && point.zCoord >= this.minZ && point.zCoord <= this.maxZ;
827 }
828
829 /**
830 * Checks if a vector is within the X and Z bounds of the block.

Callers 1

collisionRayTraceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected