跳到正文

UseLocalRecipes

作者:linkfgfgui

Reads recipes from local game/mod files and feeds them to client recipe viewers when the server does not sync recipes.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

A year ago, some brilliant devs were discussing in neoforged/NeoForge#2021 whether servers should keep syncing recipes to clients like they used to.

Emi once put it this way:

"the number of users who setup a neo server with just create and farmer’s delight and have players who want to use JEI or EMI on their own instance”

That got me thinking: what happens after the change? Is there still a way to make this work?

Today, I finally have an answer—even if it might already be common knowledge to some.

Excited to share it with you all! 🙂

Use Local Recipes

Client-side mod. Fixes empty JEI when a server doesn’t sync recipes.

What it does

  • Loads recipes from your local Minecraft jar, client mods, and data packs if the server sends none.
  • Server recipes always win. Duplicate IDs are removed.
  • Resolves tags like #minecraft:planks correctly.
  • Loads in a background thread, so no lag.
  • Adds client-side JEI + transfer when JEI isn’t on the server. Works with normal and shift-click.

Config

.minecraft/config/uselocalrecipes.json

  • enabled
  • syncDelayTicks (60)
  • preferServerTypes (true)
  • warnAboutLocalRecipes (true)
  • logFailedRecipes (false)
  • clientSideTransfer (true)

Compatibility

  • Client-only. Don’t install on servers.
  • Singleplayer bypasses it.
  • Fabric and NeoForge.

Use Local Recipes

客户端模组。服务器不同步配方时,解决 JEI 无配方的问题。

功能

  • 服务器没发配方时,从本地读取。
  • 服务器配方优先,重复的部分会去掉本地的。
  • 能正确解析标签。
  • 服务器没装 JEI 时,提供客户端 + 转移。普通和 Shift 批量都支持。

配置

.minecraft/config/uselocalrecipes.json

  • enabled
  • syncDelayTicks(60)
  • preferServerTypes(true)
  • warnAboutLocalRecipes(true)
  • logFailedRecipes(false)
  • clientSideTransfer(true)

兼容

  • 仅客户端,别装服务器。
  • 单人游戏自动跳过。

常见问题

UseLocalRecipes 支持哪些 Minecraft 版本?

UseLocalRecipes 支持 Minecraft Java 版 1.21.10–26.3,共 5 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

UseLocalRecipes 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

linkfgfgui 的其他作品

查看全部 →