Change imports
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// mods set mining, sounds and what blocks do in code), so every block gets the same placeholders: a second to break with
|
||||
// anything, dropping itself, and what they really have is written by hand after
|
||||
import { dirname, join } from "@std/path";
|
||||
import { FORMAT_VERSION } from "$/common/mod_data.ts";
|
||||
import { FORMAT_VERSION } from "@/common/mod_data.ts";
|
||||
import { is_empty, made_by, model_source, type ModelSource } from "./models.ts";
|
||||
import {
|
||||
DEFAULT_REMAPS,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// layer0 texture, which is what a bworld item is, and its layer1 and on are its layers. one java draws in 3D (a wrench)
|
||||
// is drawn with its model, which the model kind writes, and gets its model's particle texture as its texture
|
||||
import { join } from "@std/path";
|
||||
import { FORMAT_VERSION } from "$/common/mod_data.ts";
|
||||
import { FORMAT_VERSION } from "@/common/mod_data.ts";
|
||||
import { made_by, model_source } from "./models.ts";
|
||||
import { merged_textures, model_missing, models_near } from "./blocks.ts";
|
||||
import {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// bottom instead of up and down, ids lose their folders, a parent keeps being a parent (bworld merges them when it
|
||||
// loads, see resolve_models), and what bworld has no use for (blockbench's names, display transforms for places bworld
|
||||
// doesn't show items, like third person) is left out
|
||||
import type { ModelDisplay, ModelElementJson, ModelFaceJson, ModelFileJson } from "$/common/block_models.ts";
|
||||
import { DISPLAY_CONTEXTS, FORMAT_VERSION, type ModelFace } from "$/common/mod_data.ts";
|
||||
import type { ModelDisplay, ModelElementJson, ModelFaceJson, ModelFileJson } from "@/common/block_models.ts";
|
||||
import { DISPLAY_CONTEXTS, FORMAT_VERSION, type ModelFace } from "@/common/mod_data.ts";
|
||||
import { join } from "@std/path";
|
||||
import {
|
||||
DEFAULT_REMAPS,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// each type bworld or a ported mod has an equivalent for is converted, the rest are reported. a recipe naming an item or tag that
|
||||
// doesn't exist here is left out, since bworld's recipes have to be complete
|
||||
import { join } from "@std/path";
|
||||
import { FORMAT_VERSION } from "$/common/mod_data.ts";
|
||||
import { FORMAT_VERSION } from "@/common/mod_data.ts";
|
||||
import { known_tag, tag_id } from "./tags.ts";
|
||||
import {
|
||||
DEFAULT_REMAPS,
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
// where things are in a java mod's resources, and what they're called in bworld. a resource location like
|
||||
// "create:block/cogwheel" (or "block/stone", which is minecraft's) becomes the id "create:block_cogwheel": bworld ids
|
||||
// have no folders, so the path's folders are joined with _, the same way check_mods names textures in subfolders
|
||||
import type { TagRegistry } from "$/common/mod_data.ts";
|
||||
import { ID_PATTERN } from "$/common/schema.ts";
|
||||
import { registered_ids } from "$/common/mod_check.ts";
|
||||
import { load_and_check } from "$/tools/check_mods.ts";
|
||||
import type { TagRegistry } from "@/common/mod_data.ts";
|
||||
import { ID_PATTERN } from "@/common/schema.ts";
|
||||
import { registered_ids } from "@/common/mod_check.ts";
|
||||
import { load_and_check } from "@/tools/check_mods.ts";
|
||||
import { dirname, relative, resolve, SEPARATOR } from "@std/path";
|
||||
|
||||
export interface Location {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// format is the same: values, replace and remove, with { id, required: false } for entries that can be missing. tag ids
|
||||
// keep their folders, since bworld's can have them too
|
||||
import { join } from "@std/path";
|
||||
import { FORMAT_VERSION, type TagRegistry } from "$/common/mod_data.ts";
|
||||
import { TAG_ID_PATTERN } from "$/common/schema.ts";
|
||||
import { FORMAT_VERSION, type TagRegistry } from "@/common/mod_data.ts";
|
||||
import { TAG_ID_PATTERN } from "@/common/schema.ts";
|
||||
import {
|
||||
DEFAULT_REMAPS,
|
||||
empty_report,
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
// converted from the same mod find their textures. a .png.mcmeta becomes the .json next to the png: bworld reads the
|
||||
// same animation format
|
||||
import { join } from "@std/path";
|
||||
import { png_size, texture_size_problem } from "$/common/bmod.ts";
|
||||
import { type TextureJson, validate_texture_json } from "$/common/texture_animation.ts";
|
||||
import { png_size, texture_size_problem } from "@/common/bmod.ts";
|
||||
import { type TextureJson, validate_texture_json } from "@/common/texture_animation.ts";
|
||||
import {
|
||||
DEFAULT_REMAPS,
|
||||
empty_report,
|
||||
|
||||
Reference in New Issue
Block a user