The desert temples should only spawn in desert biomes but this one spawned in a swamp biome.
Update
It appears that these temples could be spawning instead of other structures e.g. witch huts in swamps and jungle temples in jungles.
WHEN POSTING AN IMAGE PLEASE INCLUDE COORDINATES AND SEED
Linked issues
is duplicated by 3
Attachments
Comments 20
Confirmed. Attached is a screenshot of one in a jungle.
Fresh world created in 1.4.2, seed and coordinates shown.
In the first screenshot, the temple is actually in 2 biomes: River & Jungle. Poking around inside, it seemed to have been actually spawned the river biome. I'd look around the Swamp one and see if there is a river there as well. I have a hunch the temple spawn generation is seeing rivers as a valid desert to place them.
@Paul: I agree there is a logic here (obviously), however the defect is in that logic.
A beach (especially a beach beside a river) should not [IMHO] qualify as enough of a desert for desert structures. This does not seem to be a problem for desert villages or desert wells (or maybe I have not looked around enough 🙂).
Related topic? https://mojang.atlassian.net/browse/MC-659
Is there a structure ID list? Could the game try and generate "1" (a village) in the correct place, but end up with "2", a temple (just an example)? Maybe the NPC villages in "wth" and "wth2" should have been strongholds.
Temples and huts are now more strictly placed in correct biomes. I haven't looked at placement of villages, please create a separate bug report for that.
Confirmed, I had two desert temples in jungle and one of them was under ground. It happened already in 1.3.1