FANDOM


  • Hello,

    I have a world in which i have been building for a long time now, but i want to copy an other build to that world from an other, however for some reason the item ID's are diffrent on each world. does anyone know how to resolve this issue?

      Loading editor
    • WorldEdit. You can replace all unusual/wrong blocks (use "/info" to explore their id) to needed blocks (use "/replace [id] [newid]" to replace)

        Loading editor
    • Александр III wrote:
      WorldEdit. You can replace all unusual/wrong blocks (use "/info" to explore their id) to needed blocks (use "/replace [id] [newid]" to replace)

      Yes i know, but the problem is that when i copy the build from one singleplayer server to the other it does not work since the ID on the same block is diffrent than on the other singleplayer server. i could indeed just switch it to a diffrent block, but its a pretty large build and it will take time so i thought maybe someone would know how to change block ids so i can get the old singleplayer world up to date.

        Loading editor
    • Check Region Scanner. It can convert one of your worlds to the IDs used by the other automatically. Then you will be able to copy/paste the region files you want or make a schematic of the build and insert it into the destination world...

        Loading editor
    • HubToo wrote:
      Check Region Scanner. It can convert one of your worlds to the IDs used by the other automatically. Then you will be able to copy/paste the region files you want or make a schematic of the build and insert it into the destination world...

      Thanks, but is it possible to change the id's in a world without changing the blocks using that id?

        Loading editor
    • HubToo wrote:
      Check Region Scanner. It can convert one of your worlds to the IDs used by the other automatically. Then you will be able to copy/paste the region files you want or make a schematic of the build and insert it into the destination world...

      Also how does it work. it is not a mod i see.

        Loading editor
    • BraveSold!3r wrote:

      is it possible to change the id's in a world without changing the blocks using that id?

      Yes. Just edit your level.dat file with some NBT editor.

      But then you'll get strange results as the IDs in the level.dat file have to match those in the region files...

        Loading editor
    • BraveSold!3r wrote:Also how does it work. it is not a mod i see.

      Indeed, it is a standalone Java program that you run from your operating system and not from Minecraft (the scale of the changes it can handle would crash any Minecraft server running WorldEdit).

      In your case, assuming A is the directory of your old world (the one where you want to change IDs), and B is the directory of the new one, you would just have to do something like:

      cd A/DIM100/region
      
      java -jar RegionScanner-1.03.jar --from A/level.dat --to B/level.dat --output old *.mca
      

      Then you would either copy some of the resulting region files in B/DIM100/region, or copy B's level.dat file in A and make some schematics.

        Loading editor
    • HubToo wrote:
      BraveSold!3r wrote:Also how does it work. it is not a mod i see.
      Indeed, it is a standalone Java program that you run from your operating system and not from Minecraft (the scale of the changes it can handle would crash any Minecraft server running WorldEdit).

      In your case, assuming A is the directory of your old world (the one where you want to change IDs), and B is the directory of the new one, you would just have to do something like:

      cd A/DIM100/region
      
      java -jar RegionScanner-1.03.jar --from A/level.dat --to B/level.dat --output old *.mca
      

      Then you would either copy some of the resulting region files in B/DIM100/region, or copy B's level.dat file in A and make some schematics.

      Sorry for the late reply, but for some reason i cant open the program it only opens in winrar. sorry i may be a bit of a digibeet

        Loading editor
    • BraveSold!3r wrote:
      HubToo wrote:
      BraveSold!3r wrote:Also how does it work. it is not a mod i see.
      Indeed, it is a standalone Java program that you run from your operating system and not from Minecraft (the scale of the changes it can handle would crash any Minecraft server running WorldEdit).

      In your case, assuming A is the directory of your old world (the one where you want to change IDs), and B is the directory of the new one, you would just have to do something like:

      cd A/DIM100/region
      
      java -jar RegionScanner-1.03.jar --from A/level.dat --to B/level.dat --output old *.mca
      

      Then you would either copy some of the resulting region files in B/DIM100/region, or copy B's level.dat file in A and make some schematics.

      Sorry for the late reply, but for some reason i cant open the program it only opens in winrar. sorry i may be a bit of a digibeet

      I need to download java don't i?

        Loading editor
    • BraveSold!3r wrote:
      BraveSold!3r wrote:
      HubToo wrote:
      BraveSold!3r wrote:Also how does it work. it is not a mod i see.
      Indeed, it is a standalone Java program that you run from your operating system and not from Minecraft (the scale of the changes it can handle would crash any Minecraft server running WorldEdit).

      In your case, assuming A is the directory of your old world (the one where you want to change IDs), and B is the directory of the new one, you would just have to do something like:

      cd A/DIM100/region
      
      java -jar RegionScanner-1.03.jar --from A/level.dat --to B/level.dat --output old *.mca
      

      Then you would either copy some of the resulting region files in B/DIM100/region, or copy B's level.dat file in A and make some schematics.

      Sorry for the late reply, but for some reason i cant open the program it only opens in winrar. sorry i may be a bit of a digibeet
      Winrar region scanner

      This is the only thing i see

        Loading editor
    • Okay so the ID problem is already solved an other way, but i was building with world edit and i changed some blocks to the wrong id and now i cant enter my world anymore. I am now in Powershell and the only thing i know how to do is 

      java -jar RegionScanner-1.03.jar --help and that i have to do something like -u / --fixunknown but how i get to my worlds file etc is unknown to me.

        Loading editor
    • for some reason i cant open the program it only opens in winrar

      Indeed, you need to uncompress the program in some directory (for example, the region files directory where you intend to use it).

      I need to download java don’t i?

      No you already have it because you’re able to run Minecraft and it needs it too :-)

      I am now in Powershell and the only thing i know how to do is

      Well, you are almost there. You indeed have to run the program from a shell (cmd.exe works fine). Assuming you changed to the directory where the region files you want to process and RegionScanner files are located, and that Minecraft is not running, you’ll do something like:

      java -jar RegionScanner-1.03.jar -f path-to-your-level.dat-file -u -o old *.mca
      

      Your previous region files will be backuped to .old files and the modified ones will be readily available.

      You can also probably find the commands you issued to Worledit in your local Minecraft client logs, if you want to reverse them with RegionScanner (if possible).

        Loading editor
    • HubToo wrote:

      for some reason i cant open the program it only opens in winrar

      Indeed, you need to uncompress the program in some directory (for example, the region files directory where you intend to use it).


      I need to download java don’t i?

      No you already have it because you’re able to run Minecraft and it needs it too :-)


      I am now in Powershell and the only thing i know how to do is

      Well, you are almost there. You indeed have to run the program from a shell (cmd.exe works fine). Assuming you changed to the directory where the region files you want to process and RegionScanner files are located, and that Minecraft is not running, you’ll do something like:

      java -jar RegionScanner-1.03.jar -f path-to-your-level.dat-file -u -o old *.mca
      

      Your previous region files will be backuped to .old files and the modified ones will be readily available.

      You can also probably find the commands you issued to Worledit in your local Minecraft client logs, if you want to reverse them with RegionScanner (if possible).

      Okay, so i am now in a folder with region scanner in it and go from there into powershell. if i type: java -jar RegionScanner-1.03.jar -f path-to-your-level.dat-file -u -o old *.mca It says: ERROR: from parameter does not exist

      I'm sorry for not getting it.

        Loading editor
    •  

      I got my world back and most progress is still there, the part where the error occured removed all my builds their and the terrain has gone back to how it prevously looked.

      But that is better than nothing so thanks for the help! hope i did not take to much of your time.

        Loading editor
    • BraveSold!3r wrote: if i type: java -jar RegionScanner-1.03.jar -f path-to-your-level.dat-file -u -o old *.mca It says: ERROR: from parameter does not exist

      Yes, you actually have to change « path-to-your-level.dat-file » to the directory PATH where your world level.dat file is actually stored. That’s why you are being told that the from parameter (-f standing for --from) does not exist.

      Anyway, I see that you finally succeeded to recover access to your world after the WorldEdit mistake. That’s good. Sorry that you didn’t kept a copy of your world, so you could make the conversion you wanted to do originally. Please note that WorldEdit has an Undo function, for when you realize that it didn’t do what you expected. And that’s why I designed RegionScanner to always make region files backup by default.

      Thanks for this case and your questions. It will help me improve my tool’s documentation.

        Loading editor
    • HubToo wrote:

      BraveSold!3r wrote: if i type: java -jar RegionScanner-1.03.jar -f path-to-your-level.dat-file -u -o old *.mca It says: ERROR: from parameter does not exist

      Yes, you actually have to change « path-to-your-level.dat-file » to the directory PATH where your world level.dat file is actually stored. That’s why you are being told that the from parameter (-f standing for --from) does not exist.

      Anyway, I see that you finally succeeded to recover access to your world after the WorldEdit mistake. That’s good. Sorry that you didn’t kept a copy of your world, so you could make the conversion you wanted to do originally. Please note that WorldEdit has an Undo function, for when you realize that it didn’t do what you expected. And that’s why I designed RegionScanner to always make region files backup by default.

      Thanks for this case and your questions. It will help me improve my tool’s documentation.

      Thanks for the making the tool, hope it helps out a lot of people!

      I have some back ups of my world, but i had not made one in like a month so i lost a good bit of progress, luckely all of it is back now. The chunk that was reset is now rebuild!

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.