mojira.dev
MC-242380

Mob spawning is inconsistent with spectator mode.

What I expected to happen was...:
No mobs would spawn if the player was in spectator mode as spectators do not interact with the world.

What actually happened was...:
Hostile mobs would not spawn on the surface as well as squids and fish in water, but sheep, pigs, cows, horses, and donkeys would spawn as normal on the surface.

Steps to Reproduce:

  1. Go into spectator mode.

  2. Fly or teleport away into new chunks.

  3. observe the inconstant mob spawning.

Attachments

Comments 1

This is because mobs spawn along with world generation. Probably intentional.

anonymous

(Unassigned)

Confirmed

Mob spawning, World generation

1.17.1, 1.18 Pre-release 5

Retrieved