The best period to explore a moon dungeon is during local daytime.If any other mob attempts to do so will despawn. Info: No other mob besides the player and the boss can enter the Boss Room. Once the boss is defeated and you have obtained the Tier 1 Dungeon Key, you can then head to the next and last room to open the treasure chest and get the loot.
It is a big room (15 x 17 x 8 m) decorated with iron bars on the walls and lava pillars that provide some light, one lava pillar at each corner. The boss, the Evolved Skeleton Boss, is held in the Boss Room, a room before the treasure room. There are intermediate rooms with monster spawners, but you may find one or two rooms with a chest with supplies and finds in the way. You have to get through narrow hallways where hostile mobs spawn and cobwebs block the way. Torches don't work here because of the lack of oxygen, however other light emitters such as Glowstone Torches do. The moon dungeon resembles in fact a small version of an Overworld stronghold, but linear, shorter, harder and dark.