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
Open a world
Create the following folder structure in the
data
folder of the worldloot_tables
custom
[^test.json]
(attached file)
Create a chest with the loot table
custom:test
/setblock ~ ~ ~ chest default replace {LootTable:"custom:test"}
Open the chest
→ It contains a stone itemChange the
test.json
file (with a text editor) to giveminecraft:dirt
as lootRepeat steps 3 and 4
→ The chest contains still a stone itemPress
F3
+T
Repeat steps 3 and 4
→ The chest contains a dirt itemCreate the following folder structure in the
data
folder of the worldadvancements
custom
[^root.json]
(attached file)
Press
F3
+T
Walk around
Open the advancement view
→ You will not see the custom advancement (beacon icon)Reopen the world
Open the advancement view
→ Now you will see the custom advancement
Linked issues
relates to 1
Attachments
Comments 6
@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.
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.
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.