changed flags for detection of mob spawning blocks

* introduced flags for transparent, liquid and cubesolid blocks (the old flags was not used anywhere and very error prone in the json files)
* added method ClearCache() as this code is done at several places