Change imports

This commit is contained in:
2026-11-04 21:51:26 -03:00
parent 98fa45ebd1
commit ba4b2a8798
270 changed files with 994 additions and 994 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
// how each recipe type is shown, like jei's IRecipeCategory: a title, a fixed size every recipe of it is drawn in, the
// blocks it's made in (jei's recipe catalysts), and where its items go. types no category knows get one from their
// recipes' json, see mod_category
import type { ClientContext, FluidVariant, TagApi } from "bworld/client";
import type { ClientContext, FluidVariant, TagApi } from "cubi/client";
import { fluid_outputs, type Ingredient, mod_recipe_inputs, outputs, type Recipe, seconds, stack } from "./recipes.ts";
// in gui pixels, a slot with its border, like minecraft's
+1 -1
View File
@@ -4,7 +4,7 @@
// a recipe viewer like just enough items: every item in a list next to the inventory, searchable, and clicking one (or
// R and U over any item) opens a screen with the recipes that make it or the ones that use it, like jei's. it only
// reads recipes, so it works with any mod's, and draws the ones it has no category for from their json
import type { ClientContext } from "bworld/client";
import type { ClientContext } from "cubi/client";
import { type Entry, ItemList, type Mode } from "./item_list.ts";
import { RecipeIndex, RecipesScreen } from "./recipes_screen.ts";
+1 -1
View File
@@ -3,7 +3,7 @@
// every item and fluid, right of the inventory and of the recipes screen, like jei's ingredient list overlay: the page
// and its arrows on top, the items then the fluids, and the search box under them
import type { ClientContext, Color, FluidVariant, Graphics } from "bworld/client";
import type { ClientContext, Color, FluidVariant, Graphics } from "cubi/client";
import { SLOT } from "./categories.ts";
const GAP = 5;
+1 -1
View File
@@ -3,7 +3,7 @@
// reading recipes: what each one makes and takes, for any mod's recipe type, so the viewer works with recipes it has
// no category for
import type { FluidVariant, TagApi } from "bworld/client";
import type { FluidVariant, TagApi } from "cubi/client";
// deno-lint-ignore no-explicit-any
export type Recipe = any;
+1 -1
View File
@@ -5,7 +5,7 @@
// panel, where the category is made down its left side, the category and page with their arrows at the top, then as
// many recipes as fit, one under the other. the item list stays on the right. escape or the inventory key go back to
// the inventory, and backspace to what was shown before
import type { ClientContext, Graphics, Screen } from "bworld/client";
import type { ClientContext, Graphics, Screen } from "cubi/client";
import {
crabpot_recipes,
fishing_recipes,