I wanted to use the tile sets in godot and it works perfectly with the wall tileset but I didn't figure out how to do a bitmask for the floor tileset.
I ended up copying the wall tile set and replacing every tile with a copy of a fitting floor tile, so I could use the same bitmask for the new floor tile set as well.
Here is the floor tileset I copy and pasted together
And here is the bitmask I used for both tilesets.