nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Sushi Bar

Sushi Bar

Mod

A library mod for Chai's mods

Client Library

196.0k downloads
55 followers

Sushi Bar

Sushi Bar is a library mod for Chai's mods.


Improved owo-config

You can use an improved version of owo-lib's config screen by replacing the @Modmenu annotation with @SushiModmenu, it currently features:

  • List<Identifier> support

Item Registration Helper

You can reduce the boilerplate of registering items with Sushi Bar's own registration helper class. You first create an instance of RegistrationHelper using your mod's ID, then register items using its helper functions.

public static final RegistrationHelper register = new RegistrationHelper(MOD_ID);

// Generic item
public static final Item ITEM_A = register.item("item_a");
// Custom item with generic item settings
public static final Item ITEM_B = register.item("item_b", MilkBucketItem::new);
// Generic item with custom item settings
public static final Item ITEM_C = register.item("item_c", new FabricItemSettings().maxCount(1));
// Custom item
public static final Item ITEM_D = register.item("item_d", new EnderPearlItem(new FabricItemSettings().maxCount(16)));

For comparison, here it is without the registration helper.

public static final Item ITEM_A = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "item_a"), new Item(new FabricItemSettings()));

public static final Item ITEM_B = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "item_b"), new MilkBucketItem(new FabricItemSettings()));

public static final Item ITEM_C = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "item_c"), new Item(new FabricItemSettings().maxCount(1)));

public static final Item ITEM_D = Registry.register(Registries.ITEM, new Identifier(MOD_ID, "item_d"), new EnderPearlItem(new FabricItemSettings().maxCount(16)));

Lavender Extensions

You can extend Lavender with new markdown features by adding "sushi_features": true to your book definition, it currently features:

  • 2x2 crafting grid
    • e.g. <recipe_2x2;minecraft:crafting_table>
  • 1x1 crafting grid
    • e.g. <recipe_1x1;minecraft:oak_planks>

External resources


Project members

Chai

Member


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID