Swamp hut

Swamp huts (also known as witch huts) are small generated structures that have the ability to spawn witches and black cats.
== Generation ==
Swamp huts generate rarely in swamp biomes, in the north-west corner of a given chunk. They do not generate in mangrove swamps.
== Structure ==
Swamp huts consist of a small square building made of spruce planks, with oak log pillars extending down to the ground. There is a small platform outside of the hut that could be an entrance; however, it is several blocks above the ground, and there are no stairs that go up to the hut, although vines can generate from the front platform and down to the ground. The roof of the swamp hut is made up of spruce wood stairs and spruce wood planks. The hut is two blocks tall inside. 
The inside of a swamp hut consists of an empty cauldron, a crafting table, and a flower pot with a red mushroom in it.
, the cauldron generates with a random potion inside of it in random amounts. There is a 25% chance for Healing or Poison, 15% for Swiftness, 10% for Slowness, Weakness, Strength or Water Breathing, and 5% Fire Resistance.
Brewing stands do not generate in swamp huts, as the witch "brews" potions inside the cauldron.
== Mobs ==
 	
Witch	Black Cat
Upon world generation, one witch and one stray black cat spawn inside the hut. These never naturally despawn, however, the witch does not spawn when the difficulty is set to Peaceful.
Additionally, witches can spawn on any block within the 7×7×9 (x×y×z) area that constitutes the hut (this is the size of the roof and one block over the porch, from one level below the floor of the hut to two blocks above the roof). Cats can also spawn within this area. However, they require a grass block to spawn on. , any other cats to spawn within the swamp hut (from spawn eggs and commands without cat type set) always spawn as black.
Both witches and cats wander around independently from each other or the hut, and neither return to the hut on purpose.
In Bedrock Edition, witches respawn on only one block within the swamp hut if the witch is killed. The spawn point is on the hut floor, two blocks in front of the crafting table.
==History ==
==Issues==
== Trivia==
*The "hut" part of a swamp hut generates on or above the surface, while the wood "pillars" extend down until they reach solid ground. This means that if part of a swamp hut is at sea level and another part is on top of deep ground, such as a ravine, the pillars on the deep-ground side go all the way down to the bottom.
*It is possible for swamp huts to generate on top of one another.
==Gallery==
WitchesHut12w40a1.png|A standard swamp hut.
WitchHutOcean.png|A swamp hut that generated over deep water.
Witch hut on top cave.jpg|A swamp hut where part of it generated on highland, and part of it above a deep cave.
Witch Hut.jpg|The inside of a swamp hut with mushrooms all over the inside of the hut.
Duplex witch hut.png|Two swamp huts that generated on top of one another.
Hutvillageandpyramidclosetoeachother.png| Desert pyramid, Village and swamp hut close to each other.
Swamphutnearplains.png|A swamp hut near a plains biome.
Cliffside Witch Hut.jpg|A witch hut on a cliffside.
Live2023-07.jpeg|Makena and Kai running past a swamp hut, from the reveal of Minecraft Live 2023. https://www.youtube.com/watch?v=zLON6wZYgsE
==See also==
*Witch
*Generated structures
*Tutorials/Witch farming, a tutorial on farming witches
==References==
de:Sumpfhütte
es:Cabaña de pantano
fr:Cabane abandonnée
it:Capanna nella palude
ja:ウィッチの小屋
ko:마녀 오두막
pl:Chatka wiedźmy
pt:Cabana do pântano
ru:Хижина ведьмы
zh:沼泽小屋