Skip to content

Consider adding auto-generated indexes #17

@ItsDrike

Description

@ItsDrike

By default minecraft-data provides us with a lot of lists full of entires that are unique in id or name fields, however, if you'd want to get a specific entry with that id, you'd need to walk the whole list.

We could add some auto-generated index entries for these to make accessing such data easier.

This is also what node-minecraft-data is doing: https://github.com/PrismarineJS/node-minecraft-data/blob/master/lib/indexes.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: apiRelated to core public API of the projectp: 2 - normalShould be done reasonably soon, but not urgent/blockings: staleHas had no activity for a while (might get closed for inactivity/marked up for grabs soon)t: featureNew request or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions