Back to mods
Suggestion Provider Fix project artwork

CurseForge · Minecraft mod

Suggestion Provider Fix

Small fix to the commands suggestion provider so modded resources are auto-filled properly.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Suggestion Provider Fix release should I use?

Updated 2 years ago
Latest stable file SuggestionProviderFix-1.21-1.0.0.jar
Game version 1.21
Loader NeoForge

Suggestion Provider Fix SuggestionProviderFix-1.21-1.0.0.jar targets 1.21 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Suggestion Provider Fix required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Suggestion Provider Fix SuggestionProviderFix-1.21-1.0.0.jar need?

SuggestionProviderFix-1.21-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Suggestion Provider Fix without breaking your instance.

Built for Suggestion Provider Fix SuggestionProviderFix-1.21-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use SuggestionProviderFix-1.21-1.0.0.jar. It targets 1.21 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside SuggestionProviderFix-1.21-1.0.0.jar. It opens that exact file at the source.

About this project

What does Suggestion Provider Fix add?

A minor change to Minecraft's suggestion provider so that it auto-completes resource locations for all mod namespaces.

Whilst this is a very tiny change, if you use commands a lot in modded it is likely to save you a lot of time.

Note that this mod does not need to be installed on a dedicated server to work, though doing so is advisable so that the client and server mod list match.

Usage example

For example, let's say you want to use '/give' to spawn yourself an 'oak_seed' from Dynamic Trees. With vanilla, you may begin to type '/give @p oak_seed'. However, no auto-complete suggestions come up, as it expects you to type the fully qualified 'dynamictrees:oak_seed' name:

When Suggestion Provider Fix is installed, beginning to type 'oak_seed' will suggest any items with that name, regardless of which mod adds it. So, the oak seed from Dynamic Trees will be suggested:

This also works with other registries that use resource locations, including blocks, biomes, and even custom registries from other mods. 

Licensing

Permission is hereby granted to use this mod in ANY mod pack or server. Attribution would be nice but isn't required.

Technical description

This mod uses a mixin to overwrite 'ISuggestionProvider#filterResources(Iterable, String, Function, Consumer)', doing exactly the same thing but negating a check on whether or not the namespace of the 'ResourceLocation' is 'minecraft' (since this is the default when a path is typed without a namespace). This means that suggestion providers for 'ResourceLocation' objects will suggest all paths matching the input string if no namespace was entered, instead of only from Minecraft itself.

Project description from CurseForge.

Pick your setup

Suggestion Provider Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

11 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Suggestion Provider Fix versions and loaders

6 of 6 releases match

Looking for an older file? The official CurseForge project page is in Resources.