gomcmap

module
v0.0.0-...-a6a7f2c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2016 License: MIT

README

gomcmap

A library for reading and modifying Minecraft maps.

Install

go get github.com/silvasur/gomcmap/mcmap

Examples

See mcmap/examples

Compatibility

Currently only the Anvil map format is supported. Tested with Minecraft 1.6.2, will probably work with older versions too, but I haven't tested it.

WARNING

Although I tested the library with some maps, I can't guarantee that everything always works (especially if you use mods in your Minecraft installation). So make a backup of your maps, just in case!

Wishlist / TODO

  • Recalculating light data.
  • Reading and modifying level.dat and other files (currently only the region files are used).
  • Test compatibility with older versions of Minecraft.

Directories

Path Synopsis
Package mcmap provides functions to read and modify Minecraft maps.
Package mcmap provides functions to read and modify Minecraft maps.
examples/addchunk
addchunk adds a chunk at 200, 200 that consists of sandstone.
addchunk adds a chunk at 200, 200 that consists of sandstone.
examples/delchunk
delchunk deletes the chunk at 200, 200
delchunk deletes the chunk at 200, 200
examples/emeraldfinder
emeraldfinder is a gomcmap demo program to find emerald ores in a Minecraft map.
emeraldfinder is a gomcmap demo program to find emerald ores in a Minecraft map.
examples/mapper
mapper is a very simple map renderer.
mapper is a very simple map renderer.
examples/replace
replace replaces all iron blocks with diamond blocks.
replace replaces all iron blocks with diamond blocks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL