Minecraft Suggestion Provider Fix mod 2026 download
logo
minecraft mod Suggestion Provider Fix

Suggestion Provider Fix

Game Version: 1.17.1
Total Downloads: 5,130
Updated: Sep 15, 2021
Created: Apr 10, 2021
Download Suggestion Provider FixDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
SuggestionProviderFix-1.17.1-1.0.0.jar +1 More release 4.90 KB Sep 15, 2021 1.17.1 0 download Suggestion Provider Fix SuggestionProviderFix-1.17.1-1.0.0.jar

+1 More releaseDownload
SuggestionProviderFix-1.16.5-1.0.0.jar release 4.12 KB Apr 10, 2021 1.16.5 5,130 download Suggestion Provider Fix SuggestionProviderFix-1.16.5-1.0.0.jar releaseDownload

Description

Share this:

Suggestion Provider Fix

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.

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' and no auto-complete suggestions will come up, as it expects you to type in 'dynamictrees:oak_seed' since that is the full name for the item:

Without

With this mod installed however, you are able to start typing 'oak_seed' and any items with that name (regardless of their namespace/mod ID) will be suggested:



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

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.

Comments

Add a comment