mojira.dev
MC-259595

reload command dont reload template_pool file

Reload not aplly change, so i must quit world and rejoin world to see changes.

How to reproduce:
1. Create structure using structure_block (in this case minecraft:test, can you see structure example on image)
-this structure has jigsaw block with values:

target pool  test:bug
name  minecraft:jigsaw
Target name  minecraft:empty
turns into  minecraft:air

2.Create template_pool in datapack world\datapacks\datapackname\data\test\worldgen\template_pool\bug.json

3.Setup content inside the file

{
  "name": "test:bug",
  "fallback": "minecraft:empty",
  "elements": [
  {
      "weight": 1,
      "element": {
        "location": "minecraft:test",
        "processors": "minecraft:empty",
        "projection": "rigid",
        "element_type": "minecraft:single_pool_element"
      }
    }
  ]
}

4. Quit from world and rejoin

5 For loaded structure use jigsaw block with following values:

target pool  test:bug
name  minecraft:empty
Target name  minecraft:jigsaw
turns into  minecraft:air

6. Load this using jigsaw from point 5 → Load correcly

7. Edit file bug.json to(now i'm remove posibility to load this structure using template pool test:bug)

{
  "name": "test:bug",
  "fallback": "minecraft:empty",
  "elements": [
  {
      "weight": 1,
      "element": {
        "processors": "minecraft:empty",
        "projection": "rigid",
        "element_type": "minecraft:empty_pool_element"
      }
    }
  ]
}

8.Use reload command

9.Load using jigsaw from pont 5 → loaded structure block from old version of bug.json
10. Quit and rejoin
11. Load using jigsaw from pont 5 → Now structure dont load and this is correct becouse element_type is minecraft:empty_pool_element

 

 

This is full reproduce with create all requried files.
Now you can edit test:bug and observe change only for quit and rejoin becouse /reload command dont aplly changes.
 
 

Linked issues

Attachments

Comments 3

Thank you for your report!
We're tracking this issue in MC-187938, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Utlamo

(Unassigned)

Unconfirmed

(Unassigned)

23w04a

Retrieved