Topic category: Help with Minecraft modding (Java Edition)
Recently, whenever I try to play multiplayer with my mod, errors occur. When hosting with the essential mod, the player joining is instantly disconnected. I also tested it with e4mc mod but the player just got the text,
"The server send registries with unknown keys: ResourceKey[neoforge:fluid_ingredient_type / neoforge:compound],
ResourceKey[neoforge:fluid_ingredient_type / neoforge:components],,
ResourceKey[neoforge:fluid_ingredient_type / neoforge:difference],
ResourceKey[neoforge:fluid_ingredient_type / neoforge:tag],
ResourceKey[neoforge:fluid_ingredient_type / neoforge:empty],
ResourceKey[neoforge:fluid_ingredient_type / neoforge:intersection],
ResourceKey[neoforge:fluid_ingredient_type / neoforge:single]"
When I test with the MCreator Testing Server, it just says Connection refused: getsockopt.
When in singleplayer everything works fine. It's just as soon as another player tries to join the/a server.
This is the review of Gemini:
It sounds like you're encountering a specific error related to NeoForge fluid ingredients when trying to play multiplayer with MCreator. This type of error often points to a mismatch or issue with how fluids are being handled or defined in your mod, particularly when trying to synchronize data between client and server in a multiplayer environment.
Here's a breakdown of what those "ResourceKey" messages likely mean and some common solutions:
What the Error Messages Mean:
The
ResourceKey[neoforge:fluid_ingredient_type / ...]
messages indicate that NeoForge (the modding API MCreator uses for modern Minecraft versions) is having trouble identifying or processing different types of fluid ingredients. These "types" are used to define how fluids are handled in crafting recipes, world generation, or other modded features.neoforge:compound
: Suggests an issue with a complex fluid ingredient made up of multiple parts.neoforge:components
: Similar to compound, refers to the individual parts of a fluid ingredient.neoforge:difference
: Implies an operation where one fluid ingredient is subtracted from another.neoforge:tag
: Problems resolving a fluid based on a Minecraft tag (a way to group similar items/fluids).neoforge:empty
: Could indicate an attempt to use an undefined or empty fluid ingredient.neoforge:intersection
: Issues with finding common elements between two fluid ingredients.neoforge:single
: Problems with a simple, single fluid ingredient.Common Causes and Solutions:
.jar
file of your MCreator workspace to everyone playing.How to Provide More Information (If the above doesn't help):
If you're still stuck, providing more details will help narrow down the problem:
.minecraft/crash-reports
folder or server logs), that's invaluable. Look for lines that mention your mod or theneoforge:fluid_ingredient_type
error.By systematically going through these troubleshooting steps, you should be able to identify and resolve the multiplayer fluid ingredient issue in your MCreator mod.