Change imports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user