import*as mc from"@minecraft/server";import{log}from"./Logger";export var blockComponents={};export var itemComponents={};mc.world.beforeEvents.worldInitialize.subscribe((o=>{for(let e in blockComponents)o.blockComponentRegistry.registerCustomComponent(e,blockComponents[e]);for(let e in itemComponents)o.itemComponentRegistry.registerCustomComponent(e,itemComponents[e])}));