Suggestion Tweaker

Suggestion Tweaker

2M Downloads

Suggestion Tweaker (Fabric/Forge)

This is a client and server mod which improves the way suggestions are filtered when writing a command.

Dependencies

This mod requires Cloth Config API.

Improved filtering

Vanilla usually starts comparing the input with the start of the suggestion candidate and discards if it doesn't match. In some cases it checks for a dot or underscore and then the input. This can often be annoying when trying to search for something because it is too strict. This mod changes that, so now any entry containing the input anywhere inside it is included.

Server and client

Suggestions can be separated into two groups - ones that are filtered on the server(based on the client's input) and ones that aren't. The former are things such as functions, loot tables, item modifiers, predicates, and a few others. The latter are things such as scoreboard criteria, colors, blocks, and others. Since the former's filtering is controlled by the server, a workaround is established to let the client use the new way of filtering suggestions independent of the server. This mod is also a server mod and provides better suggestions even for clients without the mod(but only the former group of suggestions).

Examples

Top - vanilla, bottom - Suggestion Tweaker.

Idea

Credit goes to SnaveSutit for the cool idea!