mojira.dev
MC-246464

Game crashes when dispensing a bone meal in a warm ocean and there is a block with no facing block state in #wall_corals

Relates to MC-224778

How to reproduce

  1. Create a new world with the attached datapack (or use attached one)

  2. Find warm ocean biome (or just create a single biome/superflat world)

  3. Place dispenser with bone meal

  4. Place water next to the front of the dispenser

  5. Place redstone block next to dispenser

  6. Crash triggers

Note that to reproduce the crash (and not just error on logs), the block needs to require a supporting block or some other placement requirements, and it must fail when the bone meal tries to "grow" them. In the example datapack I used a white carpet.

Stack trace

1.18.1\: [^crash-2021-12-27_15.18.21-server.txt]

Description: Exception ticking world

java.lang.IllegalArgumentException: Cannot set property cox{name=facing, clazz=class gm, values=[north, south, west, east]} as it does not exist in Block{minecraft:white_carpet}
	at coe.a(SourceFile:117)
	at bsk.a(SourceFile:123)
	at hj$11.a(SourceFile:471)
	at hi.dispense(SourceFile:15)
	at cet.a(SourceFile:90)
	at cet.a(SourceFile:113)
	at cob$a.a(SourceFile:917)
	at adi.d(SourceFile:688)
	at dpt.a(SourceFile:215)
	at dpt.a(SourceFile:98)
	at adi.a(SourceFile:298)
	at net.minecraft.server.MinecraftServer.b(SourceFile:879)
	at net.minecraft.server.MinecraftServer.a(SourceFile:823)
	at fcv.a(SourceFile:99)
	at net.minecraft.server.MinecraftServer.w(SourceFile:684)
	at net.minecraft.server.MinecraftServer.a(SourceFile:270)
	at java.base/java.lang.Thread.run(Thread.java:833)

Attachments

Comments 0

No comments.

apple502j

Panda4994

Confirmed

Important

Crash

1.18.1

22w03a

Retrieved