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
+16 -16
View File
@@ -13,10 +13,10 @@ import {
PLAYER_WIDTH,
TICK_DELTA,
TICKS_PER_SECOND,
} from "$/common/constants.ts";
import { BlockRegistry, EverythingRegistry, ItemRegistry } from "$/common/everything_registry.ts";
} from "@/common/constants.ts";
import { BlockRegistry, EverythingRegistry, ItemRegistry } from "@/common/everything_registry.ts";
import { FluidFlow } from "./fluids.ts";
import { contained_fluid, Container, ItemData, ItemStack } from "$/common/inventory.ts";
import { contained_fluid, Container, ItemData, ItemStack } from "@/common/inventory.ts";
import {
AIR_ID,
ClientMessage,
@@ -24,13 +24,13 @@ import {
MAX_NAME_LENGTH,
PROTOCOL_VERSION,
ServerMessage,
} from "$/common/protocol.ts";
import type { ModListing, RecipeBook } from "$/common/mod_loader.ts";
import type { WorldgenSetup } from "$/common/generation.ts";
import type { WorldgenBundle } from "$/common/worldgen_bundle.ts";
} from "@/common/protocol.ts";
import type { ModListing, RecipeBook } from "@/common/mod_loader.ts";
import type { WorldgenSetup } from "@/common/generation.ts";
import type { WorldgenBundle } from "@/common/worldgen_bundle.ts";
import type { WorldgenPool } from "./worldgen_pool.ts";
import { MAX_VIEW_DISTANCE, MIN_VIEW_DISTANCE } from "$/common/chunk_streaming.ts";
import { CYCLE_TICKS, format_clock, time_of_day, TIMES_OF_DAY } from "$/common/time.ts";
import { MAX_VIEW_DISTANCE, MIN_VIEW_DISTANCE } from "@/common/chunk_streaming.ts";
import { CYCLE_TICKS, format_clock, time_of_day, TIMES_OF_DAY } from "@/common/time.ts";
import {
block_states,
box_overlaps_block,
@@ -43,13 +43,13 @@ import {
placement_target,
set_state_value,
waterlog_placement,
} from "$/common/utils.ts";
import { collision_shape_at, type Shape } from "$/common/block_shapes.ts";
import { physics } from "$/common/physics.ts";
} from "@/common/utils.ts";
import { collision_shape_at, type Shape } from "@/common/block_shapes.ts";
import { physics } from "@/common/physics.ts";
import { EXHAUSTION } from "./vitals.ts";
import { entity_ref, ModRuntime, new_stack, run_guarded, type ServerCommandSource } from "./mod_runtime.ts";
import type { LootContext, UseTarget } from "$/common/mod_api/server.ts";
import type { EntityJson } from "$/common/mod_data.ts";
import type { LootContext, UseTarget } from "@/common/mod_api/server.ts";
import type { EntityJson } from "@/common/mod_data.ts";
import {
argument,
choice,
@@ -63,8 +63,8 @@ import {
literal,
number,
word,
} from "$/common/commands.ts";
import { biome_ids, get_biome } from "$/common/worldgen/biomes.ts";
} from "@/common/commands.ts";
import { biome_ids, get_biome } from "@/common/worldgen/biomes.ts";
import type { GameLoop } from "./game_loop.ts";
import { update_crafting_result } from "./crafting.ts";
import type { Menu } from "./menu.ts";