Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Create a new NBTParser class for snbt & path lookup #22

Open
@TheMode

Description

@TheMode

Deprecate SNBTParser in favor of a new NBTParser class hosting various static utils

NBT parseSnbt(String snbt)

NBT extractPath(NBTCompound compound, String path)

String extractPath(String compoundSnbt, String path)

NBTCompound replacePath(NBTCompound compound, String path, NBT nbt)

String replacePath(String compoundSnbt, String path, NBT nbt)

The new path system is suggested to become a perfect copy of sqlite's json path syntax: https://www.sqlite.org/json1.html#jex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions