{
player.onGround = true;
if (b.canCollideCheck(player.worldObj.getBlockMetadata(xx, playerFeetOnY, zz), false))
{
AxisAlignedBB collisionBox = b.getCollisionBoundingBoxFromPool(player.worldObj, xx, playerFeetOnY, zz);
if (collisionBox != null && collisionBox.intersectsWith(player.boundingBox))
{
player.posY -= player.boundingBox.minY - blockYmax;
player.boundingBox.offset(0, blockYmax - player.boundingBox.minY, 0);
}
}