2.7.12 • Published 2 years ago

mbcore-gametest v2.7.12

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

MBCore-GameTest-Module

A set of classes aimed to make some things easier with the Minecraft Bedrock GameTest Framework.

If you're just starting out with the GameTest Framework, there's a neat Starter Pack available.

Pre-requisites

Dependencies

Docs

Docs generated by Type Doc can be found here

Installation

  • Download latest release using npm i mbcore-gametest

Example

Script:

import { EventEmitter } from 'mbcore-gametest';

const events = new EventEmitter();

events.on('example', (msg) => {
  console.log(msg);
})

events.emit('example', 'Hello');
// Output: Hello

events.emit('example', 'World');
// Output: World

Regolith Config:

{
  "name": "example",
  "author": "example",
  "packs": {
    "behaviorPack": "./packs/BP",
    "resourcePack": "./packs/RP"
  },
  "regolith": {
    "profiles": {
      "dev": {
        "unsafe": false,
        "filters": [
          {
            "url": "github.com/ShiCheng-Lu/Regolith-Filters/module_importer"
          },
          {
            "url": "github.com/MajestikButter/Regolith-Filters/ts_transpiler",
            "settings": {
              "removeTS": true,
              "compilerOptions": {
                "module": "ES2020",
                "moduleResolution": "node",
                "allowSyntheticDefaultImports": true,
                "target": "ES2020",
                "noImplicitAny": true,
                "removeComments": true,
                "preserveConstEnums": true,
                "sourceMap": false
              }
            }
          }
        ],
        "export": {
          "target": "development"
        },
        "dataPath": "./packs/data"
      }
    }
  }
}
2.7.12

2 years ago

2.6.0

2 years ago

2.7.4

2 years ago

2.7.3

2 years ago

2.7.6

2 years ago

2.7.5

2 years ago

2.7.8

2 years ago

2.7.7

2 years ago

2.7.9

2 years ago

2.7.0

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.7.11

2 years ago

2.7.10

2 years ago

2.5.1

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.5.0

2 years ago

2.4.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.10.2

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago