Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-259595

reload command dont reload template_pool file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 23w04a
    • None
    • Windows 10 Home
      java version "1.8.0_202"
      JVM: -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    • Unconfirmed
    • (Unassigned)

      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.
       
       

            Unassigned Unassigned
            Utlamo Utlamo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: