Skip to content
LXZ_svn_sync edited this page Oct 30, 2019 · 8 revisions

command: /blockimage

quick ref:

/blockimage [-xy|-yz|-xz] [colors:1|2|3|16|65535] filename [x y z]

description:

load image as blocks at given position. Image width better be multiple of 2.
@param [-xy|-yz|-xz]: default to xy plane
@param colors: how many colors to use. default to 65535. For fewer colors, use [1|2|3|16|65535]
@param [x y z]: optionally special a 3d location. default to command container. 

Examples:
-- color blocks is black and white
/blockimage 2 Texture/blocks/sapling_birch.png
-- create in the xz planes, color blocks has 16 colors that best match, this is the default color
/blockimage -xz 16 preview.png 
-- create with full color
/blockimage Texture/blocks/movie_three.png

将图片文件放到世界路径下,然后输入命令,即可获得该图片的像素级的方块拼图。 例如: /blockimage -xz 65535 112.jpg 将会在水平面上生成一个16位色的方块拼合的112.jpg图片,非常Cool的功能,如图。

Clone this wiki locally