mojira.dev
MC-122308

Zombies can no longer break wooden doors

The bug

It appears zombies can no longer break wooden doors. This used to work in 17w46a.

They might very rarely start breaking a door but once they would finish the server crashes:

18w02a: [^crash-2018-01-10_20.57.33-server.txt]

java.lang.IllegalArgumentException: Cannot get property bct{name=open, clazz=class java.lang.Boolean, values=[true, false]} as it does not exist in bci{block=minecraft:air, properties=[]}
	at bci$a.c(SourceFile:144)
	at abv.f(SourceFile:27)
	at abt.b(SourceFile:40)
	at ace.a(SourceFile:136)
	at ace.a(SourceFile:83)
	at aaq.cF(SourceFile:643)
	at aap.l(SourceFile:1891)
	at aaq.l(SourceFile:503)
	at aie.l(SourceFile:42)
	at ait.l(SourceFile:217)
	at aap.G_(SourceFile:1746)
	at aaq.G_(SourceFile:283)
	at aie.G_(SourceFile:47)
	at asf.a(SourceFile:1565)
	at ro.a(SourceFile:704)
	at asf.h(SourceFile:1541)
	at asf.l(SourceFile:1423)
	at ro.l(SourceFile:537)
	at net.minecraft.server.MinecraftServer.w(SourceFile:681)
	at net.minecraft.server.MinecraftServer.v(SourceFile:606)
	at cmj.v(SourceFile:152)
	at net.minecraft.server.MinecraftServer.run(SourceFile:511)
	at java.lang.Thread.run(Thread.java:745)

How to reproduce

  1. Build a small house with for example an oak door

  2. Spawn a villager inside it

  3. Set the difficulty to hard

    /difficulty hard
  4. Summon a zombie outside of it

    /summon zombie ~ ~ ~ {CanBreakDoors:1b}
  5. Make sure the gamerule mobGriefing is set to true

    /gamerule mobGriefing true

Related issues

Attachments

Comments

migrated
[media]
migrated

is this only for oak doors, or for all wooden doors?

[Mod]Les3awe

It affects the all wooden doors.
Also affect the husk and zombie pigman.

migrated

Les3awe, I don't think zombie pigmen were ever able to break doors? I don't think they are supposed to be?

[Mod]Les3awe

"CanBreakDoors" tag also works for zombie pigman.

migrated

Tested this a few times in 18w02a, and this is still an issue. However, on one occasion one zombie did start breaking a door, but at the moment the door would have broken, the game crashed. I've attached the crash report for reference, in case this helps narrow down the cause of this bug.

[media]

marcono1234

michael

Confirmed

wooden-door, zombie

Minecraft 17w47b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w11a

Minecraft 18w19b

Retrieved