Skip to content

Conversation

@Mine-diamond
Copy link
Contributor

@Mine-diamond Mine-diamond commented Dec 30, 2025

resolves #3658
resolves #3597


考虑到OpenNBT已经归档,但是其在存在一些不足:

  1. 它的snbt的处理存在一些bug,很多格式无法解析(这导致难以添加snbt相关功能)
  2. 它的CompoundTag的实现也不支持调整内部标签顺序(这导致不能调整tag顺序,新添加的tag只能在最下面,且如果做撤回功能会导致被删掉的tag无法重新加到它本来的位置而只能在最下面)

我将fork一份新库 LusterNBT 并对不足功能进行改进,再基于 LusterNBT 制作 HMCL NBT 编辑器。


  • 编辑值
  • 添加/删除值
  • 复制值
    • 复制显示的文本
    • 复制为SNBT
  • 搜索
  • 撤回/重做系统
  • 支持更多格式(litematic, nbt, schematic, schem)
  • 打开NBT页面时依然可以拖动文件来打开新页面

现在byte, short, int, long, float, double, string节点显示的文本将使用SNBT格式

也许会做:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 支持编辑 nbt [Feature] 添加查看/修改 litematic 文件

1 participant