Sunday, March 25, 2012

Friday, March 23, 2012

The List of Open Source MineCrafts

MineCraft will be open source someday in the future (
"Once sales start dying and a minimum time has passed, I will release the game source code as some kind of open source. I'm not very happy with the draconian nature of (L)GPL, nor do I believe the other licenses have much merit other than to boost the egos of the original authors, so I might just possibly release it all as public domain. "

But for now, enjoy this list of open source MineCraft alternatives!

1. Manicdigger
"Manic Digger is a public domain 3d block-building game similar to Minecraft."
Features: Infinite world, Rails, Crafting, Shadows, Multiplayer
License: Public Domain
Language: C#

2. Opencraft:
OpenCraft is an alternative Minecraft server, providing more advanced features than the official distribution.
Features: Scripting, griefing preventation
License: BSD
Language: Java

3. Minedroid:
Features: Work with a touchscreen interface
License: New BSD
Language: Java

4. Infiniminer:
Features: multiplayer
License: MIT
Language: C#

5. Minetest-c55:
Features: Survival mode, creative mode, multiplayer, dynamic lighting, almost infinite world, Infinite map generator
License: GPL
Language: C++

6. TechCraft:
Features: Minecraft style terrain engine
License: Ms-PL
Language: C#

7. ArdorCraft:
Features: API to build new types of blockworld games
License: MIT
Language: Java

8. Terasology (Blockmania):
Features: Procedural terrain generation, efficient rendering
License: Apache 2.0
Language: Java

Finally, this one is not open source, but you can't miss it! on voxlap engine)
"It's the best bits of Minecraft crossed with the fast-paced shooter gameplay of Team Fortress."
Features: Dynamic lighting, 32 players battling, CTF or Territory Control game modes
License: Closed Source
Language: C/C++

Ace of Spades is now a commercial game, but we have
9. Iceball: Open Source Version of Ace of Spades!

10. Minecraft in Blender: Minecraft like in the Blender Game Engine.


Crafty (C++)

Craft (C)

Voxel.js (JavaScript, BSD)

Voxeliq (C#)

Blackvoxel (C/C++, GNU GPL V3) 

CraftSaga (Unity, C++)  

AIR-based Minecraft Map Viewer (with source code):

Minecraft like games in flash:

A minecraft level render in flash:
Source Code of MCExplorer (open source minecraft map render/viewer in flash/as3):

Minecraft and WebGL:



Minicraft(update on 2013/11/15, html5 in 252 bytes with source code):

Others: to Samuel Taylor) (retro-style arcade shooter)

Simple Tutorial for using MochiAds with HaXeNME

HaXeNME ( is an open source, cross platform haxe lib for developing games using a Flash like api. Just try it if you don't know it. If you hope to write once and compile to flash/html5/cpp/ios..., HaXeNME should be your first choice. I never tried to use mochiads with haxenme, though I know it is totally possible. Since some one PMed me for this topic, I did a quick research and want to share it here as a reminder for future reference.

Note: this is not a detailed step-by-step tutorial for newbies, just a reminder. I assume you have some experience of developing with HaXeNME using FlashDevelop ( However, if you have problems, feel free to post it here below.

The general steps for using mochiads with HaXeNME:

1. Download mochi api source code and compile all the AS3 source files into a "mochi.swc", unzip the swc file, rename the "library.swf" to "mochi.swf".

2. Generate the haxe source files needed for compiling your NME project:

haxe.exe -swf mochi.swf --no-output -swf-lib mochi.swf --gen-hx-classes 
Copy the genetated "mochi" folder (in its "as3" subfolder you should find lots of haxe files, such as "MochiAd.hx", "MochiCoins.hx", ...) into your project's "src" folder.

3. Import the mochi apis in your haxe project's main class:
import mochi.as3.MochiAd;
import mochi.as3.MochiServices;
To show pregame ads, for example, using the following code, similar to AS3:
MochiServices.connect("60347b2977273733", root);
MochiAd.showPreGameAd( { id:"60347b2977273733", res:"640x580", clip: root} );

4. Edit your project's "application.nmml", add the following line to force the haxe compiler to link "mochi.swf":
<compilerflag name="-swf-lib yourpath/mochi.swf"/>
Make sure the path to "mochi.swf" is correct.

5. Compile your project, that's all.
(Besides, you can use other swf libs with haxenme similarly.)

Full source code of my test project: MochiAds Test
And the demo swf proving it works: MochiAds Test/bin/flash/bin/HaXeNMEMochiAdsTest.swf 

1. NMML File Format: