NBTPath.of("quest.087F6C09CB5B2D1A.title") Failure
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
NBTPath.of("quest.087F6C09CB5B2D1A.title");
throws
java.lang.IllegalArgumentException: Unexpected character: .
at org.glavo.nbt.internal.snbt.SNBTParser.readNextToken(SNBTParser.java:280)
at org.glavo.nbt.internal.snbt.SNBTParser.peekToken(SNBTParser.java:311)
at org.glavo.nbt.internal.snbt.SNBTParser.nextPath(SNBTParser.java:536)
at org.glavo.nbt.NBTPath.of(NBTPath.java:38)
at cn.elytra.translatools.internal.handler.PlainSnbtHandler.injectData(PlainSnbtHandler.kt:51)
... 9 more
However, Minecraft (Fabric 26.1.2) works fine
net.minecraft.commands.arguments.NbtPathArgument.NbtPath.of("quest.087F6C09CB5B2D1A.title")
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at NBTPath.of in NBTPath.java and follow nextPath, readNextToken, and peekToken in SNBTParser.java, using the reported quest.087F6C09CB5B2D1A.title input as the reproduction. Compare the behavior with Minecraft's NbtPathArgument.NbtPath.of; done means the example parses without the reported IllegalArgumentException and the behavior is covered by a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100