https://github.com/dentosal/mcpu
Generating Minecraft Redstone CPUs programmatically
https://github.com/dentosal/mcpu
Last synced: 2 months ago
JSON representation
Generating Minecraft Redstone CPUs programmatically
- Host: GitHub
- URL: https://github.com/dentosal/mcpu
- Owner: Dentosal
- Created: 2020-08-12T02:00:01.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-12T02:16:58.000Z (almost 6 years ago)
- Last Synced: 2025-03-21T09:48:11.629Z (over 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minecraft Redstone CPU generator
Set of tools to generate Redstone CPUs in modular and scalable manner.
The tools and an actual CPU are developed together.
The main idea is to create a set of blueprints that can be combined together into larger components.
## Setup
A minecraft server (like [Spigot](https://www.spigotmc.org/)) should be placed in the `server/` directory. Usually you will also add [WorldEdit](https://dev.bukkit.org/projects/worldedit/files) plugin for the server.
I would suggest also getting redstone-related texture improvements for your Minecraft client from [VanillaTweaks](https://vanillatweaks.net/picker/resource-packs/).
## Workflow
`read.py` can be used to read new blueprints from the Minecraft world.
### Generating new version
```
black worldgen.py && mypy worldgen.py
python worldgen.py
```
### Starting the server with the new version
```bash
cp ../test.mca server/world/region/r.0.0.mca
java -Xms2G -Xmx2G -jar spigot-1.16.1.jar nogui
```