Metadata-Version: 2.3
Name: mcnbt
Version: 0.0.2
Summary: A lightweight library for reading, editing, and saving Minecraft NBT files.
Project-URL: Homepage, https://github.com/NKvinibrian/McNBTReader
Project-URL: Issues, https://github.com/NKvinibrian/McNBTReader/issues
Author-email: Vinicius Wiggers <vi_ni_wiggers@hotmail.com>
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# McNBTReader
A lightweight library for reading, editing, and saving Minecraft NBT files.

## Overview
McNBTReader is a Python library designed to efficiently handle Minecraft's NBT (Named Binary Tag) files, including `.dat`, `.schematic`, and `.nbt` formats.

## Important
This library is optimized for Python 3.12. Using previous versions of Python may result in performance issues.

## Features
- **Read NBT Files**: Supports `.dat`, `.schematic`, and `.nbt` files.
- **Edit NBT Files**: Currently under development.
- **Save NBT Files**: Currently under development.

## Usage

```python
from mcnbt.nbt import Nbt

tree = Nbt().read_file("your_file_path")
print(tree.name)
entity = tree['Schematic']['Entities'][0]['Pos']
print(f'x: {entity[0]} y: {entity[1]} z: {entity[2]}')
```
[LICENSE](LICENSE)