int y = MathHelper.floor_double(this.boundingBox.minY) - 1;
int z = MathHelper.floor_double(this.posZ);
org.spoutcraft.client.block.SpoutcraftChunk chunk = org.spoutcraft.api.Spoutcraft.getChunkAt(worldObj, x, y, z);
short customId = chunk.getCustomBlockId(x, y, z);
if (customId > 0) {
CustomBlock block = MaterialData.getCustomBlock(customId);
if (block != null) {
var3 = block.getFriction() * 0.98F;
}
}
// Spout End
}
}