Skip to content

Commit

Permalink
Finishing Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Heymity committed Dec 1, 2021
1 parent 7351344 commit ba0f358
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 7 deletions.
17 changes: 15 additions & 2 deletions .idea/.idea.RemoveYZeroBedrock/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 28 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# BedrockRemover
![](ReadmeMedia/MainImage.png)
If you would like to maintain the negative coordinates of your Minecraft world unaltered(void) when updating from 1.17 to 1.18, this is the solution

----

## Why?

Well, if you are still reading this, you probably already know that
Minecraft is updating to 1.18, and that in this update the world height will be
expanded, both positively and negatively, going all the way down to Y = -64 (previously, in 1.17 and before, it only went to 0).
expanded, both positively and negatively, going all the way down to Y = -64 (previously, in 1.17 and before, it only went to 0).
Because of that change, to make old worlds compatible with this version,
Mojang took the decision of simply filling the negative part of the world with
new terrain. Now, that solution works really great for a lot of cases, but there
Expand All @@ -34,8 +34,31 @@ the chunk data of a Minecraft save and alters it so that bedrock becomes deepsla

### How to use it

- First MAKE A BACKUP of your world. Please understand that I have only tested this code with my world in my machine, and I offer NO Warranty that it will work trouble free. It should, but I don't guarantee it will
- First MAKE A BACKUP of your world. Please understand that I have only tested this code with my world in my machine, and I offer NO warranty that it will work trouble free. It should, but I don't guarantee it will
- Now that you have already made a backup, download the binary file(.exe)(still not available, clone the project and run it) and execute it
- When the terminal shows up, simply copy and paste your save directory, so something like %appdata%/Roaming/.minecraft/saves/MyWorld (do not pu %appdata%, the program will give an error, use the actual path of %appdata%)
- When the terminal shows up, simply copy and paste your save directory, so something like %appdata%/Roaming/.minecraft/saves/MyWorld (do not put %appdata%, the program will give an error, use the actual path of %appdata%)
![](ReadmeMedia/ExecuteCodeGuide.png)
![](ReadmeMedia/PathExample.png)
- After inserting the world save at the terminal simply press enter, and the code will run

### Notes:
If you would like to convert just a certain area of the world, do NOT simply run the file. For this case you will need to run the program from another terminal:
First, in the installation directory, click on the directory path and typ "cmd".
![](ReadmeMedia/OpenTerminalInFolder.gif)
With the terminal open type
```
RemoveYZeroBedrock.exe xMin zMin xMax zMax
```
Substituting the xMin, zMin, xMax and zMax by the coordinates of your world that you want to remove the bedrock. The program will remove all bedrock in the square(area) defined by those chunks.

-----
this program is designed to be time efficient, it is designed to run as fast as possibl.
Because of that, it removes the bedrock in parallel, which means faster speed, but also means
that the program needs to load the entire Minecraft map provided at once. Therefore
this program uses A LOT of memory. More than chrome. Don't be scared if you see it using more than one gigabyte of memory, Minecraft does too.

---
### Final considerations

Step by Step of how to use it will be done by tomorrow...
- This program will remove only bedrock at the last subchunk, so, bedrock that is lower than Y = 16
- This program works on a chunk by chunk bases. It won't make a smooth transition and won't delete half a chunk of bedrock, only the entire bedrock of the chunk.
Binary file added ReadmeMedia/ExecuteCodeGuide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeMedia/MainImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeMedia/OpenTerminalInFolder.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeMedia/PathExample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeMedia/RemoveSection.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ba0f358

Please sign in to comment.