WorldEdit icon indicating copy to clipboard operation
WorldEdit copied to clipboard

A `//registry` command to view and search through registries

Open me4502 opened this issue 2 years ago • 0 comments

The Problem

With the growing number of registries and the number of items within them, it's hard to find what you're looking for in command suggestions. Using Google is also less helpful with mods, as then you're dealing with every individual mod & versions etc.

A Solution

It might make sense to be able to view what's currently available to be used in commands in a paginated view with search. My thought is //registry <registryName> [searchTerm] [-p pageNumber]

This command would allow paginating through a registry, filtering the results by a phrase, as well as copying individual registry entry IDs to clipboard with a simple button press. The genericness of the command means it'll scale infinitely to all registries, and the ability to add a search term also means someone could search by namespace, such as biomesoplenty: to filter to only entries added by a specific mod.

Alternatives

No response

Anything Else?

Could replace existing /searchblock and /searchitem commands

me4502 avatar Jul 22 '23 12:07 me4502