Single module modding
This commit is contained in:
@@ -8,7 +8,5 @@
|
||||
"paula"
|
||||
],
|
||||
"game_version": ">=0.1.0",
|
||||
"scripts": {
|
||||
"client": "scripts/client.ts"
|
||||
}
|
||||
"main": "scripts/client.ts"
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import type { ClientContext } from "cubi/client";
|
||||
import { type Entry, ItemList, type Mode } from "./item_list.ts";
|
||||
import { RecipeIndex, RecipesScreen } from "./recipes_screen.ts";
|
||||
|
||||
export function setup(ctx: ClientContext) {
|
||||
export function client(ctx: ClientContext) {
|
||||
const index = new RecipeIndex(ctx);
|
||||
const list = new ItemList(ctx);
|
||||
// like jei's IRecipesGui.show, only when there's something to show
|
||||
|
||||
Reference in New Issue
Block a user