mojira.dev
MC-116962

F3 + T still reloads loot tables and advancements despite the addition of the /reload command

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

  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

Advancements

  1. Open a world

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

    • advancements

      • custom

        • [^root.json] (attached file)

  3. Walk around

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

  5. Press F3 + T

  6. Repeat steps 3 and 4
    → You will see the custom advancement

Linked issues

Attachments

Comments 4

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?

Now that data packs store this stuff, F3+T fully reloads them.

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

marcono1234

(Unassigned)

Confirmed

Low

Resource Packs

/reload, F3, advancement, loot-table, resources

Minecraft 17w18a, Minecraft 18w03b

1.15.2

Retrieved