A Minecraft Bedrock Add-on Creating Api. It uses the Typescript/JavaScript as it's base language.
- Shortens the amount of time that you use writing in json.
- Can copy blocks just by extending.
- Create upto as many blocks, items, entities etc. as you want in a single file. also you're able to create item, blocks, entities in the same file.
- the config provides a default values for your components. also your project name, description, input/output directory.
- the manifest will be generated automatically based on the given information in config file.
import {Block, BlockRegistry} from "msc";
class TestBlock extends Block {
static DisplayName = "Test Block";
static DestroyTime = 5; // boolean|number
static Material = new Material("test_block", "opaque", false, false);
static ExplosionResistance = 20;
static Flammable = [20, 40] //[0] = catch_chance_modifier, [1] = destroy_chance_modifier
}
BlockRegistry.register(TestBlock)