Minecraft world generation differs using exact same seed

Solution 1:

Well after much testing I finally figured out what is causing the problem, but I have no clue why this. The only way this dungeon appears is when you play Single Player mode and with Allow Cheats ON. There is no other way you can get this dungeon spawned in.

This actually boggles my mind because I thought these settings had no influence on the actual world generation, but apparently they do.

Also, I don't think there is an option in the server.properties on a server to set this setting, so it's basically impossible to have this dungeon on a server. Only way for me to do this is to create the world in Single player, go to the spot and load in the chunks, and then transfer the world onto my server.