-
Bug
-
Resolution: Unresolved
-
None
-
20w22a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16.3, 1.18, 1.18.1, 1.19.4, 23w16a, 1.20 Pre-release 2, 1.20, 1.20.1, 23w32a, 1.21.1, 24w40a
-
None
-
Confirmed
-
Advancements, Data Packs
-
Low
-
Platform
The bug
The loot_table condition used by the player_generates_container_loot advancement trigger is required and non optional. This is inconsistent with other advancement conditions, which are all optional. It also means that you cannot detect when the player generates any loot.
How to reproduce
- Create the following advancement in a data pack
{ "criteria": { "requirement": { "trigger": "minecraft:player_generates_container_loot" } } }
- Reload the game
The advancement did not load and there is an error in the logParsing error loading custom advancement test:gen_loot: Missing loot_table, expected to find a string
- relates to
-
MC-250031 recipe_unlocked advancement trigger requires the recipe condition
- Resolved