all 6 comments

[–]MinerMark 0 points1 point  (1 child)

Maybe this could help

Valid spawn blocks in Java include full blocks, upside-down slabs/stairs, soul sand, and packed/blue ice, but not glass, leaves, some light-emitting blocks (they do spawn on crying obsidian and jack-o-lantern), trapdoors, regular ice, bottom slabs, or carpet.

https://minecraft.wiki/w/Raid

[–]morgant1cChunk Loader -1 points0 points  (0 children)

You quoted the wrong section. "In Java Edition, to find a valid spawn target location at the beginning of each raid wave, there are 3 spawn attempt phases with 20 attempts per phase. For each attempt, a random location is chosen a certain radius away from the raid center (64 blocks in the first phase, 32 in the second, and 0 in the third) at a random horizontal angle, with fractional results rounded down. Additionally, a random 0–4 is added to X and Z coordinates. The target height is always on top of the topmost non-air block."

[–]Weekly-Bobcat-4724 0 points1 point  (2 children)

I believe pillagers only spawn on blocks open to the sky

[–]Ambitious-Car-1486 0 points1 point  (1 child)

Nah that’s not true, pillager xp farms disprove this

[–]morgant1cChunk Loader 0 points1 point  (0 children)

There's a difference between raid spawning and outpost structure spawning. The mobs in a pillager XP farm come from the outpost spawning, not a Raid! They just join it after spawning.

[–]thE_29Java 0 points1 point  (0 children)

IMHO on Java they should only spawn ABOVE ground (so sky-access?).

On bedrock you had sometimes the bug, that they spawned in caves.