World Placement Rules
BiomesPer ZoneScaleGroup SizeConditions
400.7 to 1.31Altitude: -0.5 to 1,000; Ocean depth: Up to 2; Terrain tilt: Up to 30

Console command

Use after enabling developer commands with devcommands.

spawn SwampTree1 1