Change imports
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import { mat4, vec3 } from "gl-matrix";
|
||||
import type { SpriteRegion } from "$/common/constants.ts";
|
||||
import { BlockRegistry, EverythingRegistry, type ItemLayer, ItemRegistry } from "$/common/everything_registry.ts";
|
||||
import { AssetManager } from "$/client/assets.ts";
|
||||
import { get_sprite_region } from "$/client/sprites.ts";
|
||||
import type { ItemEntity } from "$/client/entity/item_entity.ts";
|
||||
import { contained_fluid, type ItemData, ItemStack } from "$/common/inventory.ts";
|
||||
import type { FluidVariant } from "$/common/mod_api/shared.ts";
|
||||
import type { FluidJson } from "$/common/mod_data.ts";
|
||||
import { light_color, push_vertex, Texture } from "$/client/renderer/mod.ts";
|
||||
import type { SpriteRegion } from "@/common/constants.ts";
|
||||
import { BlockRegistry, EverythingRegistry, type ItemLayer, ItemRegistry } from "@/common/everything_registry.ts";
|
||||
import { AssetManager } from "@/client/assets.ts";
|
||||
import { get_sprite_region } from "@/client/sprites.ts";
|
||||
import type { ItemEntity } from "@/client/entity/item_entity.ts";
|
||||
import { contained_fluid, type ItemData, ItemStack } from "@/common/inventory.ts";
|
||||
import type { FluidVariant } from "@/common/mod_api/shared.ts";
|
||||
import type { FluidJson } from "@/common/mod_data.ts";
|
||||
import { light_color, push_vertex, Texture } from "@/client/renderer/mod.ts";
|
||||
import {
|
||||
bake_model,
|
||||
type BakedQuad,
|
||||
@@ -24,15 +24,15 @@ import {
|
||||
item_tint,
|
||||
type ModelDisplay,
|
||||
type ModelJson,
|
||||
} from "$/common/block_models.ts";
|
||||
} from "@/common/block_models.ts";
|
||||
import { item_model, type ItemQuad } from "./item_model.ts";
|
||||
import { get_state_value, item_texture } from "$/common/utils.ts";
|
||||
import { ID_MASK, TEXTURE_SIZE } from "$/common/constants.ts";
|
||||
import type { ClientLevel } from "$/client/level/client_level.ts";
|
||||
import { get_state_value, item_texture } from "@/common/utils.ts";
|
||||
import { ID_MASK, TEXTURE_SIZE } from "@/common/constants.ts";
|
||||
import type { ClientLevel } from "@/client/level/client_level.ts";
|
||||
import { entity_tint } from "./entity_light.ts";
|
||||
import type { Vec3 } from "./player_renderer.ts";
|
||||
import { fluid_rules } from "$/client/fluid_rules.ts";
|
||||
import { color_rgb, tint_without_biome, type TintColor } from "$/common/worldgen/biome_colors.ts";
|
||||
import { fluid_rules } from "@/client/fluid_rules.ts";
|
||||
import { color_rgb, tint_without_biome, type TintColor } from "@/common/worldgen/biome_colors.ts";
|
||||
|
||||
// how big items on the ground are drawn, minecraft's ground transform
|
||||
const BLOCK_SCALE = 0.25;
|
||||
|
||||
Reference in New Issue
Block a user