UNPKG
@tendrock/core
Version:
alpha (0.1.0-alpha.4)
latest (0.4.0-alpha.1.21.80-preview.25.0)
0.4.0-alpha.1.21.80-preview.25.0
0.3.0-alpha.1.21.70-stable.1
0.3.0-alpha.1.21.70-stable.0
0.2.0-alpha.1
0.2.0-alpha.0
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
0.1.0-alpha.1
0.1.0-alpha
The core package of the Tendrock system for Minecraft Bedrock Script API
@tendrock/core
/
dist
/
core
/
config
/
AbstractConfigurator.js
14 lines
(13 loc)
•
315 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
class
AbstractConfigurator
{
constructor
(
) { }
init
(
ipc
) {
if
(ipc.
scriptEnv
.
identifier
===
'tendrock'
) {
throw
new
Error
(
'BucketRegistry can only be used in non-tendrock script env'
); }
this
.
_ipc
= ipc;
return
this
; }
config
(
config
) { } }