mojira.dev
MC-115148

F3 + T does not reload advancements but does reload loot tables

The bug

Pressing F3 + T does not reload advancements but does reload loot tables despite them being both in the data folder of a world.

Note: This might affect recipes as well.

How to reproduce

  1. Open a world

  2. Create the following folder structure in the data folder of the world

    • loot_tables

      • custom

        • [^test.json] (attached file)

  3. Create a chest with the loot table custom:test

    /setblock ~ ~ ~ chest default replace {LootTable:"custom:test"}
  4. Open the chest
    → It contains a stone item

  5. Change the test.json file (with a text editor) to give minecraft:dirt as loot

  6. Repeat steps 3 and 4
    → The chest contains still a stone item

  7. Press F3 + T

  8. Repeat steps 3 and 4
    → The chest contains a dirt item

  9. Create the following folder structure in the data folder of the world

    • advancements

      • custom

        • [^root.json] (attached file)

  10. Press F3 + T

  11. Walk around

  12. Open the advancement view
    → You will not see the custom advancement (beacon icon)

  13. Reopen the world

  14. Open the advancement view
    → Now you will see the custom advancement

Linked issues

Attachments

Comments 6

Not sure if this is a wanted behavior, as advancements don't count as resources, but are world-related. F3+T does exactly what it should: It reloads the resources, nothing else.

@unknown Loot tables are reloaded in singleplayer despite not being a part of resource packs and being specific to the world. The namespace would otherwise be useless.

Advancements are part of the world, not the resources. Reloading the world will reload the advancements.

So are loot tables Lawrence G., so reloading it should reload advancements

Or not reload the loot tables; seems more logical to me.

It can be useful for debugging loot tables and advancements. Having to reopen a world every time you change something is pretty annoying since it takes time and you lose the chat (and therefor used command) history.

But to be honest reloading them without having to reload resource packs would be really great, but that is sadly a feature suggestion.

marcono1234

Nathan Adams

Confirmed

F3, advancement, f3, loot-table, reload

Minecraft 17w13a, Minecraft 17w14a

Minecraft 17w15a

Retrieved