Suggestion Provider Fix

Suggestion Provider Fix

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

von
393.9K Downloads
forgeneoforgemanagementutility
Kompatiblen Minecraft Server konfigurieren

Über diese Mod

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

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 SharedSuggestionProvider#filterResources(Iterable, String, Function, Consumer), doing exactly the same thing but negating a check on whether or not the namespace of the ResourceLocation is equal to 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 those from Minecraft itself.

Verfügbare Versionen

1.21-1.0.0release
MC 1.21neoforge
5. August 2024
1.16.5-1.0.0release
MC 1.16.5forge
17. Juli 2023
1.17.1-1.0.0release
MC 1.17.1forge
17. Juli 2023
1.18.1-1.0.0release
MC 1.18.1, 1.18.2forge
17. Juli 2023
1.19-1.0.0release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4forge
17. Juli 2023

Suggestion Provider Fix auf deinem Client installieren

1

Mod-Loader lokal installieren

Installiere forge für deine lokale Minecraft-Version.

2

Passende Datei herunterladen

Wähle die Suggestion Provider Fix-Datei für forge und Minecraft 1.21.

3

Mod installieren

Lege die .jar-Datei in deinem lokalen .minecraft/mods-Ordner ab und starte Minecraft neu. Eine Installation auf dem Server ist nicht nötig.

Kompatibilität

Mod-Loader

forgeneoforge

Minecraft-Versionen

1.21, 1.20.1, 1.19.4 (+8 weitere)

Server-seitig

Nicht unterstützt

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

Muss Suggestion Provider Fix auf dem Minecraft Server installiert werden?

Nein. Modrinth kennzeichnet Suggestion Provider Fix serverseitig als nicht unterstützt. Installiere die Mod nur im lokalen Minecraft-Mods-Ordner. Dein Server kann unverändert bleiben, sofern die Mod-Seite keine zusätzliche Abhängigkeit nennt.

Welche Version und welchen Loader braucht Suggestion Provider Fix?

Nutze eine Datei für forge, neoforge und exakt deine Minecraft-Version. Unterstützte Versionen sind unter anderem 1.21, 1.20.1, 1.19.4. Loader-Dateien sind nicht untereinander austauschbar.

Suggestion Provider Fix funktioniert nicht – was kann ich prüfen?

Prüfe zuerst Minecraft-Version, Loader-Version und erforderliche Abhängigkeiten. Lege die .jar-Datei im lokalen .minecraft/mods-Ordner ab und entferne ältere Duplikate. Da die Mod clientseitig ist, löst mehr Server-RAM dieses Problem nicht.

Minecraft Server für deine Gruppe

Suggestion Provider Fix bleibt auf deinem Client. Hoste dazu eine kompatible Welt für deine Mitspieler.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
Client-Kompatibilitätsanleitung
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
MIT License
Server-seitig
Nicht unterstützt

Unterstützte Versionen

1.211.20.11.19.41.19.31.19.21.19.11.191.18.21.18.11.17.1+1 mehr