Mojira Archive
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.
 
 

Duplicate

Utlamo

2023-02-01, 01:55 PM

2023-02-07, 08:49 AM

2023-02-07, 08:44 AM

0

2

Unconfirmed

(Unassigned)

23w04a

-