介绍
中文介绍正在准备中,下面暂时显示原文。
Sushi Bar
Sushi Bar is a lightweight library mod for Chai’s mods that provides:
- An improved owo-config screen integration
- A convenient item–registration helper to cut boilerplate
- Extensions for Lavender’s in-game books
🔧 Installation
- Download the latest Sushi Bar
.jarfrom CurseForge and drop it into yourmods/folder. - Run your game with Fabric Loader 0.14.0+ or Quilt Loader 1.22.0+.
- Make sure you have owo-lib and Mod Menu installed.
🛠 Features
1. Improved owo-config
Replace your @Modmenu annotation with:
@SushiModmenu
public final class MyMod implements ModInitializer { … }
to get:
- Full support for
List<Identifier>fields - Automatic generation of sliders, dropdowns, toggles, and textboxes
- Seamless integration with Mod Menu’s “Config” screen
2. Item Registration Helper
Cut down on Registry.register boilerplate by using RegistrationHelper.
public static final RegistrationHelper register = new RegistrationHelper(MOD_ID);
// 1. Generic item
public static final Item ITEM_A = register.item("item_a");
// 2. Custom item class with default settings
public static final Item ITEM_B = register.item("item_b", MilkBucketItem::new);
// 3. Generic item with custom settings
public static final Item ITEM_C = register.item("item_c",
new FabricItemSettings().maxCount(1)
);
// 4. Fully custom item
public static final Item ITEM_D = register.item("item_d",
new EnderPearlItem(new FabricItemSettings().maxCount(16))
);
For comparison, registering without helper:
public static final Item ITEM_A = Registry.register(
Registries.ITEM,
new Identifier(MOD_ID, "item_a"),
new Item(new FabricItemSettings())
);
The helper handles identifier creation and settings for you!
3. Lavender Extensions
Enable advanced in-book recipes by adding the flag to your book JSON:
{
"type": "minecraft:book",
"title": "My Handbook",
"author": "Mod Author",
"sushi_features": true,
"pages": [
{ "type": "text", "text": "Crafting recipes!" }
]
}
Then use:
- 2×2 crafting grid:
<recipe_2x2;minecraft:crafting_table>
- 1×1 crafting grid:
<recipe_1x1;minecraft:oak_planks>

常见问题
Sushi Bar [Unofficial] 支持哪些 Minecraft 版本?
Sushi Bar [Unofficial] 支持 Minecraft Java 版 1.20–1.20.4,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Sushi Bar [Unofficial] 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Project8gbDeRam 的其他作品
查看全部 →Leaderboards
by Project8gbDeRam
恢复了 FTB Utilities 的经典排行榜,现在功能更丰富!
1009万
5 个月前
CurseForge
Replication RS2 Bridge
by Project8gbDeRam
为 Replication 和精致存储 2 添加联动。
279.8万
1 个月前
CurseForge
Chisel Modern
by Project8gbDeRam
建筑党的最佳伙伴。支持现代版本!
222.4万
2 个月前
CurseForge
MooFluids Modern
by Project8gbDeRam, Thepigcat76 等
会流体的牛!
212万
9 个月前
CurseForge
评论
登录后评论和评分