Importing from Minecraft: Difference between revisions

From VoxeLibre Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
<pre>usage: mc2mt.py [OPTIONS] input output</pre>
<pre>usage: mc2mt.py [OPTIONS] input output</pre>


input and output describes the Minecraft input world folder, output the folder for the generated Minetest world. Use paths relative to your mc2mt folder.
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:
You can add optional arguments as follows:
Line 25: Line 25:


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).
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===
Place the folder you generated in the conversion step in /worlds of your minetest 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:
<pre>bin/luantiserver --gameid VoxeLibre --worldname newworld</pre>

Revision as of 02:44, 28 March 2025

If you play(ed) Minecraft before and wish to continue in VoxeLibre, you will have to

  • convert a Minecraft world into a Luanti world
  • convert a Minecraft schematic into a Luanti schematic

We will cover mainly the first of those two actions, as the conversion of schematics has a block count limit.

Convert Minecraft world into Luanti world

I will describe the process I used to be able to continue on my build of Mt. Saint Michel in a non Microsoft environment. I played Minecraft Java on a exaroton server. 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

Place the folder you generated in the conversion step in /worlds of your minetest 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