mojira.dev
MC-197227

Game crashes if "minecraft:ore" feature has "minecraft:tag_match" predicate type

Descripiton
When using a datapack with custom worldgen settings and having a biome with a "minecraft:ore" feature and "minecraft:tag_match" predicate crashes the game upon creating a new world.

I included the datapack in attached files (extract_me.zip).
The datapack works as expected in 1.16.2 pre-release 1.

Notes

  • The game chrashes whether you use your own or built-in block tags.

  • If you use a non-existing block tag, the world generates without the feature.

  • If you use the "minecraft:block_match" predicate type, the world generates with the feature.

Linked issues

Attachments

Comments 2

Crash is the same as in MC-197223 - what is likely happening is that the configuration of the files just is not valid, which at the moment crashes the game instead of just giving an error message when creating the world.

In the original datapack where I tested it I got a different crash report:

[media]

Similarly to the bug described above the issue was solved by replacing "tag_match" with "block_match" and then everything worked normally.

Minecraft by da

(Unassigned)

Unconfirmed

(Unassigned)

1.16.2 Pre-release 2

Retrieved