mojira.dev
MC-307969

Log spam when attempting to render a monster spawner in Peaceful difficulty

The bug

When a spawner containing a hostile monster that’s disallowed in peaceful is rendered in peaceful difficulty, the mob does not appear and a warning is spammed to the log every frame.

How to reproduce

Create a world in peaceful difficulty and find a naturally generated dungeon. Alternatively:

  1. /difficulty peaceful

  2. /setblock ~ ~ ~ spawner{SpawnData:{entity:{id:"zombie"}}}

Expected result

The spawner should render as normal

Observed result

The spawner is empty, and latest.log begins filling up with

[Render thread/WARN]: Skipping Entity with id minecraft:zombie

Comments 0

No comments.

tryashtar

(Unassigned)

1616507

Confirmed

Expansion A

Important

Save Data

26.2 Snapshot 6

26.2 Pre-Release 3

Retrieved