Skip to content

Code of Copper is a lore heavy, and technically advanced Minecraft Datapack. It adds a programmable Copper Golem into the game.

License

Notifications You must be signed in to change notification settings

GMDU/code-of-copper

Repository files navigation

Logo

Code of Copper

Code of Copper is a lore heavy, and technically advanced Datapack. Adding a programmable Copper Golem into the game.

Throughout the world, different structures will generate, containing lore, and examples of programs that the Copper Golem can run. Programs can be written into a book, and then given to the Golem, by right clicking it with the book.

Right-clicking the Golem with an empty hand will execute it's current program.

While we recommend playing through the pack, as an addition to your world, and slowly discovering the language and features over time, if you would like a quick demo of the pack, you can use /place template bot:demo to place our demo structure.

Code of Copper is a runtime for GolemScript, the programming language used to program the Golems.

A datapack by Moxvallix, Gears and Wulfian. Enjoy!
Explore the docs »
Report Bug

Requirements

  • This datapack will only work in versions 1.20.2 and higher
  • Make sure to remember to download and install the resource pack
  • This datapack will not work without the following datapack libraries:

Installation

To install the datapack, first download the latest release from Modrinth.
You will also need GolemScript, Moxlib, and Regex.

Put these in the datapacks folder of your world. For more information, see the Minecraft wiki.

When you install the datapack, you must leave and rejoin the world (or restart the server) for all effects to properly take place.

Obtaining a Copper Golem

Golems are found in airships, which generate naturally throughout your world when you have the datapack installed. Make sure to keep your render distance up, they spawn around 200 blocks in the air!

Looking for shadows on the ground is a great way to locate airships.
Each airship contains one copper golem, alongside three example programs to help you get started with GolemScript.

If you would like to follow along with the datapack and learn the language as you go, stop reading here.

Getting started with GolemScript

GolemScript is written in Minecraft books, which are applied to the golem to give it a program.

To learn more about Code of Copper's features, see Code of Copper documentation. To learn the language, see the GolemScript documentation.

License

This project is distributed under the GPL-3.0 License. See LICENSE.md for more information.

Discord Server

You can join our discord server here.

Oxidisation and progression

After a certain number of instruction executions, the golem will begin to oxidise.

Interacting with the golem while holding an axe removes the rust.

If the golem is fully oxidised, it will not run anymore, but upon scraping it with an axe you will find example programs that explain the language of GolemScript.

This process can be avoided however, by waxing the golem. As with anything copper, you can also scrape off the wax.