跳到正文

Programming 8x9Craft

作者:yokmama

You can control Hakkun a custom character in Minecraft with JavaScript

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.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/版本名 下面。

评论

登录后评论和评分