"loot" reward for advancements does not provide items
Given the example advancement, placed in world/data/advancements/custom/test.json:
{
"criteria": {
"findme": {
"trigger": "minecraft:impossible"
}
},
"rewards": {
"loot": ["custom:test"]
}
}
And the following commands to grant and revoke it at will (see MC-115064 for namespace issue):
/advancement grant @p minecraft:custom/test /advancement revoke @p minecraft:custom/test
Assuming the loot table exists, no items are provided and no errors occur. If the loot table doesn't exist, an error will occur as expected.
Created Issue:
"loot" reward for advancements does not provide items
Given the example advancement, placed in world/data/advancements/custom/test.json:
{ "criteria": { "findme": { "trigger": "minecraft:impossible" } }, "rewards": { "loot": ["custom:test"] } }And the following commands to grant and revoke it at will (see
MC-115064for namespace issue):/advancement grant @p minecraft:custom/test /advancement revoke @p minecraft:custom/testAssuming the loot table exists, no items are provided and no errors occur. If the loot table doesn't exist, an error will occur as expected.
Given the example advancement, placed in world/data/advancements/custom/test.json:
{ "criteria": { "findme": { "trigger": "minecraft:impossible" } },"rewards": {"loot": ["custom:test"]} }And the following commands to grant and revoke it at will (see
MC-115064for namespace issue):/advancement grant @p minecraft:custom/test /advancement revoke @p minecraft:custom/testAssuming the loot table exists, no items are provided and no errors occur. If the loot table doesn't exist, an error will occur as expected.
Given the example advancement, placed in world/data/advancements/custom/test.json:
{ "criteria": { "findme": { "trigger": "minecraft:impossible" } }, "rewards": { "loot": ["custom:test"] } }And the following commands to grant and revoke it at will (see
MC-115064for namespace issue):/advancement grant @p minecraft:custom/test /advancement revoke @p minecraft:custom/testAssuming the loot table exists, no items are provided and no errors occur. If the loot table doesn't exist, an error will occur as expected.
Can confirm. If multiple rewards are specified in the same advancement, all rewards are correctly given except loot, which seems to be simply ignored.