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

Method isVecInsideXYBounds

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

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

(Vec3 point)

Source from the content-addressed store, hash-verified

838 * Checks if a vector is within the X and Y bounds of the block.
839 */
840 private boolean isVecInsideXYBounds(Vec3 point)
841 {
842 return point == null ? false : point.xCoord >= this.minX && point.xCoord <= this.maxX && point.yCoord >= this.minY && point.yCoord <= this.maxY;
843 }
844
845 /**
846 * Called when this Block is destroyed by an Explosion

Callers 1

collisionRayTraceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected