Libnbt
Please take a look at github.com/fragmer/fNbt as a continuation of this project, it's been rewritten for improved performance, reliability and ease of use. Original Description: A C# library for reading and writing Named Binary Tag (NBT) format files.
Install / Use
/learn @aphistic/LibnbtREADME
LibNbt v0.2.0
Website: http://www.github.com/aphistic/libnbt/
LibNbt is a library to read and write the Named Binary Tag (NBT) file format created by Markus Persson (a.k.a. Notch, http://notch.tumblr.com/) for saving Minecraft level data.
The documentation is currently lacking but at the bottom of this document are a few examples to get you up and running.
If you do use this library I would really appreciate it if you acknowledge the work I've put into it by giving me some kind of credit in your documentation or application but it's not required. Even better would be to let me know the projects you're using it in!
If you run into any issues or features you'd like to see PLEASE let me know! You can access the issue tracker on the project homepage at: http://github.com/aphistic/libnbt/issues
Upcoming
- Implement an NAnt build process for easier multiplatform builds.
- Write documentation.
- Continue writing unit tests.
Querying
Querying is implemented with a slash separated format. Each part of the query is either a tag name or an index (in the case of NbtList). All queries must start with a slash.
The query examples below use the bigtest.nbt test file tag hierarchy. You can find the layout of this file in LibNbtTest/TestFiles/bigtest.nbt.txt.
To get the "shortTest" tag you would use the query: /Level/shortTest
To get the "ham" tag of the "nested compound test" tag, you would use the query: /Level/nested compound test/ham
You can also use indexes to reference specific tags in NbtList tags. This query would return the NbtLong with the value 13 in bigtest. Note that indexes start at 0: /Level/listTest (long)/2
Lastly, you can combine named tags and list tags into the same query. The following query would return the "name" NbtString of the 2nd compound in the "listTest (compound)" tag: /Level/listTest (compound)/1/name
Queries are executed by calling the Query(string query) or Query<T>(string query) functions on a tag object. The generic function Query<T>(string query) allows you to specify the type of the return object. The non-generic version Query(string query) will return all results as an NbtTag.
Related Skills
qqbot-channel
344.4kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
99.9k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
344.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
