mojira.dev
MC-160957

Bees don't leave the nest or hive, when the nest or hive is destroyed by the player

When the player destroys the nest or hive by hand, the bees in the nest or hive will not leave and swarm to player with anger.

Game output

Error executing task on Server
java.lang.IllegalArgumentException: Cannot get property byb{name=facing, clazz=class fb, values=[north, south, west, east]} as it does not exist in Block{minecraft:air}
	at bxf.c(SourceFile:95)
	at bvg.a(SourceFile:156)
	at bvg.a(SourceFile:102)
	at java.util.ArrayList.removeIf(Unknown Source)
	at bvg.a(SourceFile:102)
	at bvg.a(SourceFile:69)
	at bod.a(SourceFile:70)
	at wl.a(SourceFile:262)
	at wl.a(SourceFile:217)
	at wl.a(SourceFile:192)
	at xb.a(SourceFile:899)
	at pr.a(SourceFile:40)
	at pr.a(SourceFile:10)
	at ld.a(SourceFile:21)
	at sj.run(SourceFile:18)
	at ahs.h(SourceFile:144)
	at ahw.h(SourceFile:23)
	at ahs.v(SourceFile:118)
	at net.minecraft.server.MinecraftServer.aX(SourceFile:713)
	at net.minecraft.server.MinecraftServer.v(SourceFile:707)
	at ahs.bh(SourceFile:103)
	at net.minecraft.server.MinecraftServer.u(SourceFile:691)
	at net.minecraft.server.MinecraftServer.run(SourceFile:647)
	at java.lang.Thread.run(Unknown Source)

Linked issues

Attachments

Comments 1

Looks like you mojang devs should check for the block state in the parameter of the method instead of asking the world for the current state.

[Mod]Les3awe

coschevi

Community Consensus

Important

Block states, Mob behaviour

19w37a, 19w38b, 19w39a, 19w40a

19w41a

Retrieved