Marius D
- rotatingatom
- rotatingatom
- Europe/Stockholm
- Yes
- No
Witch Huts generate in Swamp biomes regardless of other biomes intersecting their structure - most commonly, a part of the Witch Hut is intersected by a River biome cutting through the swamp.
This is problematic because Witch Spawning is not only limited to the small area of the Hut, but can additionally only happen in the corresponding Swamp biome, which means that the blocks of the structure that are not inside a Swamp biome will not spawn Witches, but any other hostile mob that normally spawns if the block meets the conditions necessary.
This is especially annoying when trying to build a Witch Farm out of the Hut, since is greatly limits the number of Huts on a map that you can make a 100% efficient farm out of.
The screenshots attached show the problem with an example Witch Hut. The roof has been replaced with Wool, and the top view shows very well how many Blocks are actually able to spawn Witches (green) and how much potential spawning space is taken away by the River biome (red).
The problem is also very well explained in this video by docm77:
http://www.youtube.com/watch?v=KllWkdfOS3M
Starting at 1:25, he explains how small the actual spawning area of Witch hut is while he later elaborates on the River biome problem - and I have found many examples on the server I play on of Witch huts being more than 50% "ruined" by River biomes (or in one case, a Desert, which creates essentially the same problem).



Yeah, I tried my best to make sure what I describe is 100% correct, and I think I nailed the problem. Mojang sees every singly bug report, right? My hopes are that this is an easy fix and might be fixed in 1.5.
I don't think this is related to MC-4, but rather that it's a problem that only affect drops by Witches specifically.
On the server I play on, which is currently running 1.4.7, I can reproduce the bug in my Witch farm as well.
The method of killing the Witches doesn't matter, and what makes me think it's not related to MC-4 is the following:
Let's say a Witch drops, for example, 1 Stick, 1 Gunpowder and 1 Glowstone Dust. Sometimes, I can pick up only the Gunpowder and the Stick, but the Glowstone Dust turns out to be a ghost-item that I cannot pick up, eventhought it landed in the EXACT same spot as the Stick or the Gunpowder.
The Witch drops don't have to land on the edge of a block for this to happen. Therefore I think this is unrelated to MC-4.
edit: I can also fully duplicate what Olle Görling said.
Another important observation I made:
If a structure like a Jungle Temple or a Desert Pyramid spawns close to a Swamp Biome, the part of it that intersects the Swamp can also spawn Witches.
My assumption, therefore, would be that the game simply goes by the rule: "If a structure (any naturally generated structure) is (partially) in a Swamp biome, Witches can spawn on the blocks the structure consist of."
Markku somewhat comfirmed this with what he said, see above.
So my suggestion for a fix of the bug we're discussing here would be to simply loosen up with the Witch spawning rules a bit, also like Markku said. Maybe make the game do something like: "If a structure is (partially) in a Swamp biome or a River biome, Witches can spawn on the blocks the structure consist of."
I checked a few seeds because that would mean if there's a River in a Jungle or Desert biome near a structure, you'd get Witches spawning in there, but the cases of that happening pretty rare, in case that's a concern.
I really hope this gets fixed for 1.5.
That is true, but the ghost items visually go into the hopper without actually appearing in its inventory.
Can someone please open a new ticket for this bug? It's not related to MC-4 for sure, I just don't have enough information on what's causing this bug.
Confirmed. And yes, this is still a concern in the current Minecraft version, as you can see by my list of affected Snapshots, Pre-Releases and Full Releases. I kept track of this bug during the development of 1.5 and now 1.6(.1). I added almost every snapshot that came out once I saw that this bug still was not fixed. I'm starting to think this bug has very low priority for Mojang, regardless of this ticket having a very detailed description and being almost half a year old now.
I don't think this has anything to do with chunks and chunk borders.
Witches can only spawn in the 7 x 9 area of the hut itself (in the full height of the hut). As soon as any block in this 7 x 9 area is not within a swamp biome, Witches won't spawn on it, but any other normal hostile mobs will. The pictures I attached to this ticket show very well which parts of the Witch hut are unable to spawn Witches at all (red) and which will spawn Witches (green).
Jago, I think what you contributed has nothing to do with the bug described here, but is instead a different one: Your screenshots show a world generation issue where a Witch Hut is partially "overwritten" by a small lake (those also generate underground sometimes), resulting in the Witch Hut being incomplete. The same can happen when for example an Abandoned Mineshaft intersects a Dungeon, deleting the Dungeons chests and / or part of the Mossy Cobblestone it consist of.
You should consider opening a new ticket for this bug.
Tested the latest snapshot yesterday and loaded the map of the server I play on with it. The map was generated in 1.6.2. My Witch farm did not spawn Witches anymore, confirming what Louis A. Nani said. Shall I open a new ticket for the specific bug that spawning areas themselves are not saved on old worlds? I do not want to start a new map on my server because our Witch farm and our Wither Skeleton farm doesn't work anymore.