https://github.com/randomggames/imagetotextdisplay
A python script that reads image files and generates a function to generate the image in minecraft using text display entities.
https://github.com/randomggames/imagetotextdisplay
Last synced: about 2 months ago
JSON representation
A python script that reads image files and generates a function to generate the image in minecraft using text display entities.
- Host: GitHub
- URL: https://github.com/randomggames/imagetotextdisplay
- Owner: RandomGgames
- Created: 2023-10-31T02:28:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T02:56:57.000Z (11 months ago)
- Last Synced: 2025-01-27T15:42:42.445Z (3 months ago)
- Language: Python
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image to Text Display
This is a python script that reads image files and generates a function that creates the image in minecraft using text display entities and a colored ■ characters (ALT+254).
Please note, each pixel in the image will be its own entity in game, so the higher the resolution, the more entities that will be summoned. A 10x10 image will have 100 text_display entities summoned for example!

## How to use it
### Requirements
This python script relies on the yaml lib for the config file. `pip install pyyaml` https://pypi.org/project/PyYAML/### Edit the `config.yaml` file
1. Set the `image_file` to the path of the image you want to generate.
2. Set the `output_file` to the path of the .mcfunction file that will be generated, containing the list of summon commands.
3. Run the `Convert.py` script , place your `output_file` into a datapack, and run the function.