Programming 8x9Craft
You can control Hakkun a custom character in Minecraft with JavaScript
截图
介绍
Getting Started

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.


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
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.
Demo Server
Address: 02mc.8×9.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
常见问题
Programming 8x9Craft 支持哪些 Minecraft 版本?
Programming 8x9Craft 支持 Minecraft Java 版 1.11.2–1.12.2,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Programming 8x9Craft 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分