Skip to content

Add support for newline separated SNBTs#1

Open
Taskeren wants to merge 8 commits into
HMCL-dev:mainfrom
Taskeren:newline-snbt
Open

Add support for newline separated SNBTs#1
Taskeren wants to merge 8 commits into
HMCL-dev:mainfrom
Taskeren:newline-snbt

Conversation

@Taskeren
Copy link
Copy Markdown

@Taskeren Taskeren commented Apr 7, 2026

FTB-Library splits the compounds and lists with \n, and this PR adds the support for it.

New-lines will only be tokenized when allowNewLineAsSeparator = true, and in the context of reading compounds and lists.

applied_energistics.snbt is obtained from the modpack Star Technology, which is licensed under MIT. Removed

@Glavo

Copy link
Copy Markdown
Member

@Glavo Glavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本审查建议由 GPT-5 生成


已将具体审查建议标注在对应代码行。

Comment thread src/main/java/org/glavo/nbt/internal/snbt/SNBTParser.java
Comment thread src/main/java/org/glavo/nbt/io/SNBTCodec.java Outdated
Comment thread src/main/java/org/glavo/nbt/io/SNBTCodec.java
@Taskeren Taskeren requested a review from Glavo June 2, 2026 19:28
Copy link
Copy Markdown
Member

@Glavo Glavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

本审查建议由 GPT-5 生成


已将具体审查建议标注在对应代码行。

Comment thread src/main/java/org/glavo/nbt/internal/snbt/SNBTParser.java Outdated
@Taskeren Taskeren requested a review from Glavo June 4, 2026 05:07
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.

2 participants