0.3.1 • Published 2 years ago

bedrock-ts v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Bedrock-TS

Create bedrock addons using TypeScript

About This Project

Bedrock-TS is a tool that will help you develop addons faster and avoid any unnecessary hassle

Please note that this project is currently in the early stage of development

Getting Started

Installation

$ yarn add bedrock-ts

Usage Example

You can use this project template to get started

const exampleEntity = createEntity({
  identifier: "re:example",
  createBP(bp) {
    bp.setComponents({
      MCTypeFamily: {
        family: ["example"],
      },
      MCCollisionBox: {
        height: 1,
        width: 1,
      },
      MCPhysics: {},
      MCPushable: {
        is_pushable: false,
      },
      MCHealth: {
        value: 1,
        max: 1,
      },
    })
    return bp.build()
  },
  createRP(rp) {
    return rp.build()
  },
})

makeAddon({
  packName: "Example Addon",
  entities: [exampleEntity],
})

Then run:

$ yarn dev

Output will be generated at ./out

Contributing

Contributions are welcome.

License

Distributed under the MIT license. See LICENSE for more information.

0.3.1

2 years ago

0.3.0

2 years ago

0.0.2

2 years ago

0.0.1-alpha.2

2 years ago

0.0.1-alpha.1

2 years ago

0.0.1-alpha.0

2 years ago

0.0.1

2 years ago

0.1.0

2 years ago