pixeltoblock

command module
v0.0.0-...-9e88a55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: AGPL-3.0 Imports: 17 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL