Mojira Archive
MC-224778

Game crashes when there is a block with no facing block state in #wall_corals and a warm ocean tries to generate

The bug

If a block with no facing state (like quartz bricks) is added to #wall_corals block tag the game will crash when attempting to generate a coral reef.

Description: Feature placement

java.lang.IllegalArgumentException: Cannot set property cfb{name=facing, clazz=class gc, values=[north, south, west, east]} as it does not exist in Block{minecraft:quartz_bricks}
	at cej.a(SourceFile:114)
	at ciy.b(SourceFile:51)
	at ciz.a(SourceFile:58)
	at ciy.a(SourceFile:27)
	at ciy.a(SourceFile:19)
	at civ.a(SourceFile:55)
	at cku.a(SourceFile:20)
	at cku.a(SourceFile:11)
	at civ.a(SourceFile:55)
	at cjb.a(SourceFile:23)
...

Reproduction steps

  1. Add the attached datapack MC-224778.zip to a new world.
  2. Wait for the world to generate.
    1. If the game instantly crashes, that means that a warm ocean was right by the spawn point.
    2. If not, locate the biome and teleport to the coordinates it gives you.
      /locatebiome minecraft:warm_ocean
      

      The game crashes

Fixed

[Mod] ManosSef

[Mojang] slicedlime

2021-05-03, 11:56 PM

2021-05-26, 10:57 AM

2021-05-26, 10:57 AM

1

4

Confirmed

Very Important

Crash

1.16.5, 21w18a

1.17 Pre-release 1