The Block class has a method removeBlockByPlayer which removes the block when a player breaks it. How to get the hitX, hitY, hitZ coordinates where the player hit the block? The given arguments are World world, EntityPlayer player, int x, int y, int z. I found the method EntityLiving.rayTrace(double reachDistance, float partialTickTime), but i don't know what the parameter partialTickTime is for, and as i set it to 1, I got different results on client and server side.