Change imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ClientContext } from "bworld/client";
|
||||
import type { ClientContext } from "cubi/client";
|
||||
|
||||
// called on every player's client after the mod is downloaded, before the world shows up.
|
||||
// everything here is visible to players, so keep secrets and game rules in server.ts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ServerContext } from "bworld/server";
|
||||
import type { ServerContext } from "cubi/server";
|
||||
|
||||
// called once when the server starts
|
||||
export function setup(ctx: ServerContext) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { WorldgenContext } from "bworld/worldgen";
|
||||
import type { WorldgenContext } from "cubi/worldgen";
|
||||
|
||||
// runs in chunk workers on the server and every client, which must all generate the same world.
|
||||
// only use chunk.rng and the noise helpers, never Math.random or the time
|
||||
|
||||
Reference in New Issue
Block a user