joeyak / mctools

A set of Go packages used to manipulate Minecraft world data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mctools

mctools is a collection of packages used to read, edit and write Minecraft world data. Refer to the respective sub-packages for details on their purpose.

The code targets Minecraft 1.8+. Older worlds may work or they may not. Use at your own risk.

Warning

The code defines read->write->read roundtrip tests to ensure the written data is consistent and correct. Even so, you should always create backups of any world you are about to change. I am not responsible for any damage you may do to your world data or Minecraft itself.

This package has been tested with world data created in Vanilla Minecraft 1.8.3+. There are no guarantees that older worlds can be read or that changes to such a world will still load up in Minecraft. Test your changes thoroughly. And when you're done testing, test some more.

Additionally, don't read/write world data which is currently being used by Minecraft itself. The behaviour of this undefined and will very likely end up in tears.

Install

go get github.com/jteeuwen/mctools/...

License

Unless otherwise stated, all of the work in this project is subject to a 1-clause BSD license. Its contents can be found in the enclosed LICENSE file.

About

A set of Go packages used to manipulate Minecraft world data.

License:Other


Languages

Language:Go 100.0%