A PyQt6-based pixel editor for making Minecraft-art.
Run the application with:
python main.py(or whatever filename you saved the script as)
| Action | Description |
|---|---|
| Click & drag (Drawing mode) | Turn lamps on |
| Click & drag (Erase mode) | Turn lamps off |
| Drawing mode | Toggle drawing on/off |
| Erase mode | Toggle erasing on/off |
| Export PNG | Save the current grid as a PNG |
| Export JSON | Save current lamp state as JSON |
| Load JSON | Load a saved lamp state |
| Image → Lamp | Convert an image into a lamp grid |
| Bucket | Bucket tool |
| Clear canvas | Clear canvas tool |
| Image → Blocks | Convert an image into a pixelart of minecraft blocks |
redstone-lamp-editor/
│
├── lamp_editor.py
├── requirements.txt
├── Blocks/
└── Red_wool
└── Etc...
├── Redstone_lamp.png
├── Redstone_lamp_on.png
└── README.md
| Platform | Supported |
|---|---|
| Windows | ✅ |
| macOS | ✅ |
| Linux | ✅ |
This project is free to use and modify for personal or educational purposes. Credits are appreciated if you share or modify the project.
This project was inspired by mattbatwings, who created lampsim — a Redstone lamp simulator for Minecraft.
Press the export world button and save the zip file as you like. Now unzip the file and place the folder in
windows: %APPDATA%.minecraft\saves
mac: ~/Library/Application Support/minecraft/saves
linux: ~/.minecraft/saves
Now you can open your world in any version that is 1.18.1 or higher and the pixelart should be there.
Note: The game will say it may be incompatible but you can ignore that.
You can add more blocks by putting .png files in the blocks folder. The program will automaticly use them for both the preview and world. Disclaimer!! If you add blocks with names that are not in the game files, that are entities, or that are added after 1.18.1, the export world option wont work.







