Skip to content

kelo221/PixelToBlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixelToBlock

Convert images into block coordinates and place the pixels in your Minecraft world.

The program creates a .mcfunction file, which needs to placed into your worlds datapacks folder, or use bukkit addon. Example datapack is provided (demo.zip), place that in your world folder, and then place the new .mcfunction file in demo\data\demo\functions start the game and write /function and auto complete to your chosen image.

You can generate your own block data by removing the blockdata.txt Extract all blocks from the game and place them in blocks folder, remove images that are not actually blocks and ones with "*_side" or something similar.

Example:

  go run .\main.go  -direction=West -height=128 -filename="image.png" -airblocks=true

See: run .\main.go -h for help. Filenames must be quoted.

About

Convert images into block coordinates and place the pixel in your minecraft world.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages