/Image-to-shulkers

This is just a program that reads an image and outputs the minecraft commands to make that image in minecraft with shulkers

Primary LanguageC#

Image to shulkers

Use

The program takes any type of image as an input and with the help of the config file it outputs a file named image.mcfunction that is used with the help of a datapack. Because the program itself does not create a minecraft datapack you will need to download a datapack template from the internet and put the file in the functions folder of the datapack.


├── datapack
|  ├── minecraft
|  ├── NAME_OF_DIRECTORY (the template may contain a different name)
|  |  ├── functions
|  |  |  ├── image.mcfunction
|  pack.mcmeta

After you do that you will need to put a file named image.json file in a different functions directory with the following code but replace the NAME_OF_DIRECTORY with the corresponding directory name.


{
    "values": [
        "NAME_OF_DIRECTORY:image"
    ]
}

├── datapack
|  ├── minecraft
|  |  ├── tags
|  |  |  ├── functions
|  |  |  ├── image.json
|  ├── name (the template may contain a different name)
|  pack.mcmeta

After you do that you just need to go to you minecraft world with commands enabled and /function #minecraft:image and you are done !!!! You have successfuly have the original image you used into your minecraft world.



Notes


Special thanks to majorsopa for giving me that idea in the first place !

Also thanks to Theodore Tsirpanis for suggesting some changes !