2

I'm making a slime farm and since the wiki article comments argue slimes are quite picky when it comes to collisions, I plan "alternative lighting", like embedding the jack-o-lanterns in the spawning floors. Now, can I reasonably expect no common mob can spawn on them due to light level but since slimes ignore light level, I hope embedding the lanterns in the spawn floors will suffice.

Still, slimes share the same requirement as other mobs for underlying block: it must be 'opaque' by game mechanics, or stairs or upper slab, and the wiki says "Transparency: Partial (blocks light)" about jack-o-lanterns. Considering it generates light 15 and there are no stronger light sources in the game, that claim is rather bogus (unless you count "magical" properties of sunlight). But are they considered opaque from mob (slime) spawning point of view?

  • I could be wrong, but I'm pretty sure that is a typo on the wiki. Jack-o-lanters should be entirely solid and will not let through light. – IQAndreas Jul 19 '13 at 15:33
  • Yep, I just double checked the game code to confirm that Jack-o-lanterns are in no way transparent (see my answer for full details). – IQAndreas Jul 19 '13 at 15:44
2

Jack-o-lanterns do allow mobs to spawn on them (so long as they can spawn at any light level).

Jack-o-lanters are both solid and opaque, allowing mobs such as slimes and pigmen to spawn on them. Compare this to Glowstone which is solid but not opaque (it is transparent), thus preventing spawning.

Unless they changed this since version 1.4, jack-o-lanterns are identical to regular pumpkins aside from glowing, meaning they are in no way, shape or form transparent. The fact from the Wiki on them being "partially transparent" is entirely incorrect.

2

Yes, they are a solid block. Passive mobs, slimes, pigmen etc. will all spawn on Jack o Lanterns.

  • Solid and Opaque are two different things; e.g. mobs don't spawn on glass blocks. – SF. Jul 19 '13 at 12:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.