Skip to content

A Minecraft litematica file reader with NBT reader and recipe combiner using C language. It depends on dhutil

License

Notifications You must be signed in to change notification settings

DreamHelium/dhlrc

Repository files navigation

Litematica Reader in C language

中文文档 pic

Introduction

Although it was named as litematica_reader_c, it's not only intended to read litematica file, but process the material list in blocks in a litematica file region. Reading litematica file is just the first step to process, or in other words there should be a source of material list to process, and reading a litematica file is the most convenient.

It uses libnbt as the library to read litematica file.

Dependencies

  • libnbt (already in submodule of the repo)
  • zlib
  • cJSON >= 1.7.13
  • gettext (It's a part of glibc so you might not need to install it in GNU/Linux but other systems might need)(Optional -- if you need translation)
  • glib2
  • minizip-ng
  • dhutil (already in submodule of the repo)

Compile

Use git to get this repo, then get submodule.

git submodule update --init

If there's already CMake installed, just compile using command:

cmake -B build
cmake --build build

If not, install one.

Usage

I recommend using the GUI's dhlrc_qt. Although dhlrc_isoc can be still used. The programs now have a better interactive interface, for more information, see source code.

About

A Minecraft litematica file reader with NBT reader and recipe combiner using C language. It depends on dhutil

Resources

License

Stars

Watchers

Forks

Packages

No packages published