UNPKG

bc-minecraft-bedrock-project

Version:

The typescript library responsible for reading/parsing minecraft bedrock data

47 lines (46 loc) 2.07 kB
import { MCProject } from "bc-minecraft-project"; import { Manifest } from "../../internal/types"; import { DataSetConnector, PackCollection } from "../../types"; import { BehaviorPack } from "./behavior-pack"; import * as Animation from "./animation"; import * as AnimationController from "./animation-controller"; import * as Block from "./block"; import * as Entity from "./entity"; import * as Feature from "./feature"; import * as Item from "./item"; import * as LootTable from "./loot-table"; import * as Function from "./mcfunction"; import * as Structure from "./structure"; import * as Trading from "./trading"; /** */ export declare class BehaviorPackCollection extends PackCollection<BehaviorPack> { /**The collection of animations*/ readonly animations: DataSetConnector<Animation.Animation, BehaviorPack>; /**The collection of animations controllers*/ readonly animation_controllers: DataSetConnector<AnimationController.AnimationController, BehaviorPack>; /**The collection of blocks*/ readonly blocks: DataSetConnector<Block.Block, BehaviorPack>; /**The collection of entities*/ readonly entities: DataSetConnector<Entity.Entity, BehaviorPack>; /**The collection of features*/ readonly features: DataSetConnector<Feature.Feature, BehaviorPack>; /**The collection of mcfunctions*/ readonly functions: DataSetConnector<Function.Function, BehaviorPack>; /**The collection of items*/ readonly items: DataSetConnector<Item.Item, BehaviorPack>; /**The collection of loot tables*/ readonly loot_tables: DataSetConnector<LootTable.LootTable, BehaviorPack>; /**The collection of structures*/ readonly structures: DataSetConnector<Structure.Structure, BehaviorPack>; /**The collection of trading tables*/ readonly trading: DataSetConnector<Trading.Trading, BehaviorPack>; constructor(); /** * * @param folder * @param context * @param manifest * @returns */ add(folder: string, context: MCProject | string, manifest: Manifest): BehaviorPack; }