I've been updating mcimport.py in a github fork and eliminating missing blocks, and generally making it really friendly.
https://github.com/sofar/mcimport
Minecraft Test Patterns:
Converted Result:
(Note: a few saplings have grown since conversion, oops. Also, while there are some empty patches, almost all of the test pattern blocks convert with high precision and coverage).
I'm doing things a bit differently though - my focus isn't to "copy exact", but to create a playable, approximation of the MC world.
So I expect that things like doors, beds, furnaces just work, and blocks are useful and usable. But blocks that have no purpose or don't exist in minetest are removed or replaced with equivalents that make sense in MT gameplay. Rotation of blocks is carefully done and verified.
- emerald ore is converted to stone
- lapis ore is converted to stone
- redstone is as much possible converted to mese, with working pressure plates, wires, noteblocks, buttons, levers and a few more things
- flower pots are done a bit differently - they're all just plants sitting on top of a pot
I flat out refuse to add code that convert blocks to modules that purely exist to create a MC block.
When you convert a MC savegame or world, it's expected to be in MC 1.8 format. I'm not supporting old formats. The code also writes a few extra files needed to make it all play nice with mapgen, mainly fixing the waterlevel and allowing you to tweak mapgen to single node easily. Note: The map will be 180 degrees rotated (N in MC will end up S in MT), and offset by (1, -65,0) or so... can't help that at this point.
Mods: lots of mods required - none strange or obtuse, or hard to find mods, these are all very COMMON mods that most servers have, and most of them are contained within plantlife, mesecons, moretrees, moreblocks, homedecor and nether mods already
Required mods: (sorry for the long list)
Code: Select all
load_mod_biome_lib = true
load_mod_bushes_classic = true
load_mod_ferns = true
load_mod_flowers_plus = true
load_mod_homedecor = true
load_mod_junglegrass = true
load_mod_mesecons = true
load_mod_mesecons_button = true
load_mod_mesecons_commandblock = true
load_mod_mesecons_delayer = true
load_mod_mesecons_doors = true
load_mod_mesecons_lamp = true
load_mod_mesecons_lightstone = true
load_mod_mesecons_materials = true
load_mod_mesecons_mvps = true
load_mod_mesecons_noteblock = true
load_mod_mesecons_pistons = true
load_mod_mesecons_pressureplates = true
load_mod_mesecons_receiver = true
load_mod_mesecons_solarpanel = true
load_mod_mesecons_switch = true
load_mod_mesecons_torch = true
load_mod_mesecons_walllever = true
load_mod_moreblocks = true
load_mod_moretrees = true
load_mod_nether = true
load_mod_poisonivy = true
load_mod_quartz = true
load_mod_vines = true
load_mod_signs = true
load_mod_signs_lib = true
Note that you
do not need to modify world.mt since the code writes out a perfectly usable version with the mod list. You just need to download these mods and install them in your mods folder.