Skip to content

A Minecraft Bedrock Add-on writer using JavaScript Classes

License

Notifications You must be signed in to change notification settings

LightBlueStuff24/msc_compiler

Repository files navigation

MSC

A Minecraft Bedrock Add-on Creating Api. It uses the Typescript/JavaScript as it's base language.

Features

  • 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.

Example of a Block

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)

About

A Minecraft Bedrock Add-on writer using JavaScript Classes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published