这是一个将由第三方软件生成的地图画放入游戏地图中的数据包。
但是,这个数据包不能下载图片或者转换图片(受数据包限制); 但是它可以实现将转换好的地图画简单地加载进世界,而不用手动按编号一张张地摆放。 可以使用这个图片到地图转换器: https://github.com/tryashtar/image-map 或者网页版的另一个转换器: https://mc-map.djfun.de/ github地址: https://github.com/djfun/mc-map-item-tool
注意:若在使用转换器时遇到问题,请前往对应页面提交bug,不要在此提交,谢谢。
如何使用转换器的教程也在对应页面。
提示:在转换图片时,可以先查看图片宽高比,然后设置合适的宽高,如下图:
注意:当转换多张图片时,一定要记住每张图片对应地图的起始编号,防止混淆。
注意:有时在输入/reload后,加载出教程的时间可能较长(但不会超过30秒),因此请耐心等待。
注意:请找一个合适的高度,防止生成地图的时候因空间不足而生成不完全。
此处用7:5作为演示。
注意:一定要站在箱子上运行。
成功了~
(比如刚才用7:5做了演示,用了前35张图片,故此处设定为35)
注意:在Minecraft中,地图编号从0开始,而不是1。
也成功了~
若不想每次都查看分步教程,可输入/function imgloader:reference查看指令大全。
This is a project for auto load maps into world created by third-party software which is used to turn images into Minecraft maps.
However, it can only put already generated maps into world. But good news is that you don't need to place each map one by one into world. For image converter, jump here https://github.com/tryashtar/image-map Or another converter for the web version: https://mc-map.djfun.de/ ,GitHub address: https://github.com/djfun/mc-map-item-tool
Note: if you encounter problems when using the converter, please go to the corresponding page to submit the bug. Don't submit it here. Thank you.
A tutorial on how to use the converter is also on the corresponding page. Tip: when converting a picture, you can first view the width and height ratio of the picture, and then set the appropriate width and height, as shown in the following figure:
Note: when converting multiple pictures, be sure to remember the starting number of the map corresponding to each picture to prevent confusion.
II. Create a new world, select 'datapacks..' and drag this datapack into the window; To load into the existing world, directly drag the unzipped datapack folder into . Minecraft / saves / < your archive name > / datapacks
.
III. enter the world in which the maps has been generated in (you can first confirm that the maps has been placed in the folder, as shown in the following figure (path: . Minecraft / saves / < your archive name > / data
)).
Note:In some conditions after you typed /reload , it will take moments to load the tutorial(less than 30s), please wait patiently.
Follow the prompts as you can replace the grass_block with any block.
Note: please find a suitable height to prevent incomplete map generation due to insufficient space
VIII. Put any items in the two slots of the chest, and the quantity is regarded as length and width respectively.
Here we use 7:5 as a demonstration.
Note: be sure to stand on the chest and run
X (1). Run /function imgloader: gen or /function imgloader: gennotwith0. The demonstration starts from zero by default.
X (2). If you run /function imgloader: gennotwith0, type / trigger initial set < start number of map to be placed > set the starting value before running.
(for example, just now we made a demonstration with 7:5 and used the first 35 pictures, so it is set to 35 here)
Note: in Minecraft, the map number starts with 0 instead of 1
It worked, too :D
If you do not want to view the step-by-step tutorial every time, you can type /function imgloader:reference to view the complete set of instructions.