Relates to MC-115148
The bug
The key combination F3
+ T
still reloads loot tables and advancements despite the fact that the /reload
command was added in 17w18a.
It even runs the functions tagged in minecraft:load.
How to reproduce
Loot tables
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 item
Advancements
Open a world
Create the following folder structure in the
data
folder of the worldadvancements
custom
[^root.json]
(attached file)
Walk around
Open the advancement view
→ You will not see the custom advancement (beacon icon)Press
F3
+T
Repeat steps 3 and 4
→ You will see the custom advancement
Linked issues
is duplicated by 2
Attachments
Comments 4
Why is this WAI. We have "/reload" for datapacks, why waste the clients time when they want to reload the assets.
data packs should not be reloaded on resource pack reload since data packs cannot be inside of a resource pack. loading is done and only done on server side. No need for resource packs to be refreshing data packs two separate things unless you plan on merging them in the near future thus servers have textures and data packs as one but, I don't think your going to do that so fix up this debug code.
there is /reload for a reason use that don't lag up resource pack reloading time
Shouldn't this not be the case anymore since people might only want to reload the resource packs and not advancements and loot tables, additionally wouldn't it be easier to not have this client action affect the server?