promotional bannermobile promotional banner
premium banner
You can control Hakkun a custom character in Minecraft with JavaScript

Description

Getting Started

 

creeper and hakkun

 

 The 8×9Craft (Hack Craft) is an original mod which you can learn programming while enjoying at Minecraft. It is jointly developed by Kids Programming School 8×9 (Hack), Re.Kayo-System Co., Ltd, Beyond Co., Ltd.

 

 

 

 8x9Craft allow you to add a Block named “Hakkun” to the world of Minecraft and talk with him in JavaScript or block. The Hakkun is good at almost every things; can build buildings, make things and talk with players. You will get to know how to program while playing with it.

 

 
blockly
If you already have Minecraft, you can start using 8x9Craft for free. If you are familiar with Minecraft but new to programming, don’t worry. You will enjoy programming in the world you have already known very well.
 
The drawing 

This program makes the block as above.

 

var dat = readFile("hakkun.png", false)
var img = new Image(dat)

var width = img.width
var height = img.height
console.log(width+","+height)

for(var h=0; h<height; h++){
    for(var w=0; w<width; w++){
        var pix = img.getRGB(w, h)
        var color = new Color(pix)
        var block = color.getSimilarBlock()
        world.setBlock(block, w, 1, -h)
    }
}

 

Tutorial movie
 
 
 
You can also create a game like a Minesweeper.
 
 
source code.

Install 8x9Craft

 

8x9Craft is provided as a mod. Before installing the mod you have to install Minecraft itself (not Windows10 Edition) and Minecraft Forge. Install them if you haven’t done already.

 

How to install (wiki)

 

Demo Server

You can try the remote view on this server.

Address:  02mc.8x9.jp
 

 ChangeLog

Bug fixes
- Fixed a bug that does not respond to lower case letters waiting for Redstone signal
- Fixed bug that Remote View was not updated when using AsyncFastWorldEdit on reset

 

Change
· In the case of single play, fixed so that login is possible even without ID
· Change the screen from login screen to editor screen to single web page
· Add Kana
· Multiple arguments in console.log are allowed