Skip to content

MCA File API

Compare
Choose a tag to compare
@Querz Querz released this 19 Oct 13:29
· 140 commits to master since this release
6f39e38

This release adds an API to read, edit and write MCA files.

Details:

  • Read MCA files with MCAUtil.readMCAFile()
  • Write MCA files with MCAUtil.writeMCAFile()
  • Get chunks using MCAFile#getChunk()
  • Get sections using Chunk#getSection()
  • Retrieve block states with #getBlockStateAt() and set them with #setBlockStateAt() in either the MCAFile, Chunk or Section class
  • Retrieve various other information like the biome, entities, structures, etc.
  • Unit tests