mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Move schemas to npm package
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import { ObjectNode } from '../nodes/ObjectNode';
|
||||
import { EnumNode } from '../nodes/EnumNode';
|
||||
import { NumberNode } from '../nodes/NumberNode';
|
||||
import { BooleanNode } from '../nodes/BooleanNode';
|
||||
import { RangeNode } from '../minecraft/nodes/RangeNode';
|
||||
import { MapNode } from '../nodes/MapNode';
|
||||
import { StringNode } from '../nodes/StringNode';
|
||||
import { ListNode } from '../nodes/ListNode';
|
||||
import {
|
||||
ObjectNode,
|
||||
EnumNode,
|
||||
StringNode,
|
||||
NumberNode,
|
||||
BooleanNode,
|
||||
RangeNode,
|
||||
MapNode,
|
||||
ListNode,
|
||||
SCHEMAS
|
||||
} from 'minecraft-schemas'
|
||||
|
||||
const EntityCollection = ['sheep', 'pig']
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
import { DataModel } from '../model/DataModel'
|
||||
import { TreeView } from '../view/TreeView'
|
||||
import { SourceView } from '../view/SourceView'
|
||||
import { ConditionSchema } from '../minecraft/schemas/Condition'
|
||||
import { LootTableSchema } from '../minecraft/schemas/LootTable'
|
||||
import {
|
||||
DataModel,
|
||||
TreeView,
|
||||
SourceView,
|
||||
ConditionSchema,
|
||||
LootTableSchema,
|
||||
LOCALES
|
||||
} from 'minecraft-schemas'
|
||||
|
||||
import { SandboxSchema } from './Sandbox'
|
||||
import { LOCALES } from '../Registries'
|
||||
|
||||
const predicateModel = new DataModel(ConditionSchema)
|
||||
const lootTableModel = new DataModel(LootTableSchema)
|
||||
|
||||
Reference in New Issue
Block a user