Importing from Minecraft
If you play(ed) Minecraft before and wish to continue in VoxeLibre, and you have big builds you spent endless hours in creation, it would be of interest to be able to transfer those builds into a VoxeLibre world. This process consists of mainly two steps: you will have to
- convert a Minecraft world into a Luanti world
- convert a Minecraft schematic into a Luanti schematic
I will describe the process I used, as I wanted to continue my work on a build of Mt. Saint Michel in a non Microsoft environment. I played Minecraft Java on a exaroton server.
Prepare your VoxeLibre game[edit | edit source]
You will need additional Mods to achieve this goal. Install from ContentDB
and activate them.
Convert Minecraft world into Luanti world[edit | edit source]
To be able to convert the world, you have to download the world from the server. In your downloads, you should have now a folder /world.
Conversion is done with a fork of mc2mt from DragonWrangler1 (see here). Usage is straight forward: Open your terminal, move to the mc2mt folder and type
usage: mc2mt.py [OPTIONS] input output
Input and output describes the world folder from Minecraft, output the folder for the generated Luanti world. Use paths relative to your mc2mt folder.
You can add optional arguments as follows:
-h, --help show this help message and exit -m MOD Load mod from json file -d Disable all mods -e Enable all mods -u Unknown blocks will be converted to air -q Do not report unknown blocks --disable_MOD Disable mod MOD --enable_MOD Enable mod MOD
Conversion will take quite a lot of time, in my run without any optional arguments, I had just the time to drink several coffees (several hours).
Define new world[edit | edit source]
Place the folder you generated in the conversion step in /worlds of your minetest/luanti installation (local or on your server). As you have multiple worlds now, you will now have to define the world when you start the server:
bin/luantiserver --gameid VoxeLibre --worldname newworld
Before you start your journey in this new world, a word about height: See level is at 63 in minecraft, but at 0 in Minetest/Luanti. You will probably start at a low level, possibly in a wall. So, it's probably wise to attribute you the teleport priv and be prepared to teleport you immediatly at a higher point, when you start. You could now play in this world – but you will see, that the conversion is not perfect. There are big holes in your world, the underground (which reaches deeper in Minecraft) is probably void. Therefore, you will probably just copy a region of interest with your builds and paste it in your standard world.
Save schematic in your new world[edit | edit source]
Start your new world and go find your region of interest (the coordinates will be similar to Minecraft). You will now have to define the region to save as schematic. The region to define is a cuboid. You define the lower left corner as pos 1 and the upper right corner as pos 2. You can use the the Worldedit wand tool (left click = pos 1, right click = pos 2) or you can use the command
//p set
The system will ask you then to punch the blocks to set pos 1 and then pos 2. Note the coordinates of those 2 positions, you will need this to place the region in your standard world. You can save this region now as schematic by using the command
//bigmtschemcreate \<folder_name\>
The schematic will be saved in your new world.
Place schematic in your standard world[edit | edit source]
Finally, you have to place the schematic in your standard world. First, copy the /schem folder from your new world folder into the folder of your standard world (probably /world) and start your game with the standard world. To be able to place this schematic, you have to define a region with the same dimensions. Define this region by setting again pos 1 and pos 2. Enter the command
//bigmtschemplace \<folder_name\>
The import will start at position 1 of your WorldEdit region which will be the lower left corner of the cuboid to be imported.
Et voilà! You are all done. You will probably have to rework some details of your build. You will see, that stairs and torches are not imported correctly, as param2 is not interpreted correctly.