Suggestion Tweaker

Quick rating

Suggestion Tweaker

No reviews yet

Improves the way suggestions are filtered and sorted when writing a command

No Theme
No Genre
QoL & Tweaks
Server Utility
Client Utility
Mod Loaders
Forge
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Optional

About

Project Details

Type
Mod
License
MIT License
Latest Version
[Fabric 1.20.5-1.21.8] v1.20.6-1.5.3
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Suggestion Tweaker (Fabric/Forge)

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

Dependencies

This mod requires Cloth Config API. Mod Menu is optional in case you want more configuration like enabling case sensitivity and changing the filtering mode.

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 . or _ 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 you have a choice between different filtering modes:
    • STRICT - the vanilla way
    • SLIGHTLY LOOSE - shows all suggestions containing the input anywhere inside
    • LOOSE - like the previous but with multiple words, separated by an underscore
    • VERY LOOSE - shows all suggestions containing every letter in the input
  • Suggestions with a specific prefix can be hidden. That applies to both directory and file names. For example, if the specific prefix is an underscore, an identifier named datapack:_function will be hidden and so will be datapack:_directory/function but datapack:directory/function won't be. It works for all identifiers, not just functions. This feature is disabled by default.

Improved sorting

Suggestions are sorted from the strictest to most loose match. Vanilla only sorts alphabetically, lacking multiple filtering modes.

Server and client

Suggestions can be separated into two groups:

  1. ones that are filtered on the server(based on the client's input);
    • e.g. functions, loot tables, item modifiers, predicates, and a few others
  2. ones that are filtered on the client.
    • e.g. scoreboard criteria, colors, blocks, and others

Since the first group's filtering is controlled by the server, a special workaround is established to let the client use the new way of filtering suggestions, independent of the server. Therefore, this mod is also a server mod and provides better suggestions even for clients without the mod.

Examples

Top - vanilla, bottom - Suggestion Tweaker.

163831589-613e5483-f946-4afa-b8a7-069d714d9943.png 163831940-3ea6063e-1adc-494c-b3cc-91f358331c7f.png 163832068-dca72913-b8bb-4cda-b827-ae49fd43beba.png

Idea

Credit goes to SnaveSutit for the cool idea!

Suggestion Tweaker (Fabric/Forge)

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

Dependencies

This mod requires Cloth Config API. Mod Menu is optional in case you want more configuration like enabling case sensitivity and changing the filtering mode.

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 . or _ 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 you have a choice between different filtering modes:

    • STRICT - the vanilla way
    • SLIGHTLY LOOSE - shows all suggestions containing the input anywhere inside
    • LOOSE - like the previous but with multiple words, separated by an underscore
    • VERY LOOSE - shows all suggestions containing every letter in the input
    • Suggestions with a specific prefix can be hidden. That applies to both directory and file names. For example, if the specific prefix is an underscore, an identifier named datapack:_function will be hidden and so will be datapack:_directory/function but datapack:directory/function won't be. It works for all identifiers, not just functions. This feature is disabled by default.

Improved sorting

Suggestions are sorted from the strictest to most loose match. Vanilla only sorts alphabetically, lacking multiple filtering modes.

Server and client

Suggestions can be separated into two groups:

  1. ones that are filtered on the server(based on the client's input);
    • e.g. functions, loot tables, item modifiers, predicates, and a few others
  • ones that are filtered on the client.
    • e.g. scoreboard criteria, colors, blocks, and others

Since the first group's filtering is controlled by the server, a special workaround is established to let the client use the new way of filtering suggestions, independent of the server. Therefore, this mod is also a server mod and provides better suggestions even for clients without the mod.

Examples

Top - vanilla, bottom - Suggestion Tweaker.

163831589-613e5483-f946-4afa-b8a7-069d714d9943.png
163831940-3ea6063e-1adc-494c-b3cc-91f358331c7f.png
163832068-dca72913-b8bb-4cda-b827-ae49fd43beba.png

Idea

Credit goes to SnaveSutit for the cool idea!

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

3.7m
Total Downloads
CurseForge
3.1m
Modrinth
~590,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works