0.3.6-4 • Published 2 years ago

@jayly/minecraft-editor v0.3.6-4

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

Minecraft Editor APIs

Unofficial Minecraft: Bedrock Editor API modules type definitions.

The type definition files are still work in progress. Until v0.4 releases along with official type definitions, this module will be used for type checking scripts that uses editor APIs in the ScriptAPI GitHub repository.

Usage

Install @jayly/minecraft-editor package in NPM, this installs type definition for all editor API modules.

npm install @jayly/minecraft-editor

Then you must include the following in TSConfig. This allows the editor API modules to be included without importing @jayly/minecraft-editor package.

{
  "compilerOptions": {
    "types": ["@jayly/minecraft-editor"],
    "typeRoots": ["./node_modules/@jayly/minecraft-editor"],
  },
}

To test if this works, you can go on VSCode and type some variable names to see if auto complete will detect variable from modules:

  • @minecraft/server-editor

server_editor

  • @minecraft/server-editor-bindings

server_editor_bindings

Versioning

Major to patch versions (x.x.x) represents Minecraft Editor API versions, revision version represents changes to type definitions in specific Minecraft editor version.

0.3.6-4

2 years ago

0.3.6-3

2 years ago

0.3.6-2

2 years ago

0.3.6-1

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.3.0-0

2 years ago