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
@@ -52,7 +52,7 @@ A fluid's name, color and value can depend on its data. The mod's [shared script
gives one of its fluids rules for that, like NeoForge's `FluidType.getDescription` and `FluidTintSource.colorAsStack`:
```ts
import type { SharedContext } from "bworld/shared";
import type { SharedContext } from "cubi/shared";
interface SyrupData {
tree?: string;
+1 -1
View File
@@ -177,7 +177,7 @@ Those become the `bworld:season`, `bworld:biome` and `bworld:time` conditions, w
Server scripts roll tables, fill containers, and add conditions, functions and changes of their own:
```ts
import type { ServerContext } from "bworld/server";
import type { ServerContext } from "cubi/server";
export function setup(ctx: ServerContext) {
// "condition": "my_mod:night" in any table
+2 -2
View File
@@ -166,7 +166,7 @@ recipes. What their fields mean is up to the mod, which registers the type from
[shared script](../concepts/sides.md#shared-scripts), like NeoForge's `RecipeType` with its serializer:
```ts
import type { ItemStack, SharedContext } from "bworld/shared";
import type { ItemStack, SharedContext } from "cubi/shared";
interface SmithingRecipe {
tool: string;
@@ -228,7 +228,7 @@ A recipe that follows from other data, like one for every item with a component,
adds one like a file in `recipes/` with that `type` would, with the rest of its fields from `json`:
```ts
import type { SharedContext } from "bworld/shared";
import type { SharedContext } from "cubi/shared";
export function setup(ctx: SharedContext) {
// a sieve recipe for every item that says what it sifts into