From 0d04873dd08f45bf5dbf21efaa2219b57ffdf772 Mon Sep 17 00:00:00 2001 From: Documentation Manager Bot <64863757+conmaster2112@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:48:14 +0200 Subject: [PATCH] test - types - first --- .vscode/settings.json | 3 + jsconfig.json | 4 +- package-lock.json | 11 +- package.json | 4 +- src/flags/decleration_modules.js | 0 src/flags/index.js | 5 + src/flags/metadata.js | 7 +- src/flags/script_decleration.js | 86 + src/flags/server_2.0.0-alpha.json | 37047 ------------------ src/flags/ts-declarations/ScriptModule.d.ts | 98 + src/flags/ts-declarations/collection.js | 20 - src/flags/ts-declarations/consts-objects.js | 34 - src/flags/ts-declarations/general.js | 22 - src/flags/ts-declarations/loader.js | 25 - src/flags/ts-declarations/printers.js | 334 + src/flags/ts-declarations/script-module.js | 87 - src/flags/ts-declarations/script-types.js | 26 - src/flags/ts-declarations/test.js | 40 +- src/main.js | 3 + src/old_reference/d.tsGenerator.js | 309 + src/old_reference/main.js | 523 + 21 files changed, 1412 insertions(+), 37276 deletions(-) create mode 100644 .vscode/settings.json delete mode 100644 src/flags/decleration_modules.js create mode 100644 src/flags/script_decleration.js delete mode 100644 src/flags/server_2.0.0-alpha.json create mode 100644 src/flags/ts-declarations/ScriptModule.d.ts delete mode 100644 src/flags/ts-declarations/collection.js delete mode 100644 src/flags/ts-declarations/consts-objects.js delete mode 100644 src/flags/ts-declarations/general.js delete mode 100644 src/flags/ts-declarations/loader.js create mode 100644 src/flags/ts-declarations/printers.js delete mode 100644 src/flags/ts-declarations/script-module.js delete mode 100644 src/flags/ts-declarations/script-types.js create mode 100644 src/old_reference/d.tsGenerator.js create mode 100644 src/old_reference/main.js diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..00ad71f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules\\typescript\\lib" +} \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json index 00c7428..84ffcc6 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "module": "ES2022", - "target": "ES2022", + "module": "ESNext", + "target": "ESNext", "allowJs": true, "checkJs": true, "resolveJsonModule": true, diff --git a/package-lock.json b/package-lock.json index dcfbca4..cec34eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "license": "MIT", "dependencies": { "minimatch": "^10.0.1", - "typescript": "^5.6.2", "unzip-stream": "^0.3.4" }, "devDependencies": { - "@types/node": "^22.7.4" + "@types/node": "^22.7.4", + "typescript": "^5.7.0-dev.20241003" } }, "node_modules/@types/node": { @@ -112,9 +112,10 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.0-dev.20241003", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.0-dev.20241003.tgz", + "integrity": "sha512-0aj8jZi+P+uw10g2eQRnJmaMooatg2nDyqy0YlTM3A8QtXBulWuNU/vvPOTiLWCNgaz5wvcodjrmCNsOYFeQag==", + "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 29a7d50..3778fb8 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,10 @@ "homepage": "https://github.com/Bedrock-APIs/bds-docs#readme", "dependencies": { "minimatch": "^10.0.1", - "typescript": "^5.6.2", "unzip-stream": "^0.3.4" }, "devDependencies": { - "@types/node": "^22.7.4" + "@types/node": "^22.7.4", + "typescript": "^5.7.0-dev.20241003" } } diff --git a/src/flags/decleration_modules.js b/src/flags/decleration_modules.js deleted file mode 100644 index e69de29..0000000 diff --git a/src/flags/index.js b/src/flags/index.js index 0619ced..e66e20a 100644 --- a/src/flags/index.js +++ b/src/flags/index.js @@ -1,5 +1,6 @@ import { METADATA } from "./metadata.js"; import { SCRIPT_MODULES_MAPPING } from "./module_maping.js"; +import { SCRIPT_DECLARATIONS } from "./script_decleration.js"; /** * @type {{ @@ -14,5 +15,9 @@ export const GENERATOR_FLAGS = [ { flagId: SCRIPT_MODULES_MAPPING.name, method: SCRIPT_MODULES_MAPPING + }, + { + flagId: SCRIPT_DECLARATIONS.name, + method: SCRIPT_DECLARATIONS } ]; \ No newline at end of file diff --git a/src/flags/metadata.js b/src/flags/metadata.js index dfdc0be..5aca9ef 100644 --- a/src/flags/metadata.js +++ b/src/flags/metadata.js @@ -3,6 +3,7 @@ import { FileTree } from "../functions.js"; import { readFile, writeFile } from "node:fs/promises"; import { existsSync, mkdirSync } from "node:fs"; +const OUTPUT_FOLDER = "./metadata"; /** * * @param {string} inputDirPath @@ -44,7 +45,7 @@ async function Task(input,fileName) { // Check if buffer is valid content if(buffer == null) return false; - const outFile = resolve(METADATA_FOLDER, fileName); + const outFile = resolve(OUTPUT_FOLDER, fileName); const outDir = dirname(outFile); // Has to be sync to be sure we are not about to call mkdir with same directory path @@ -57,7 +58,7 @@ async function Task(input,fileName) { ).then(()=>true, ()=>false); if(results) console.log("[METADATA] Generated: " + fileName); - else console.log("[METADATA] Generate: " + fileName); + else console.log("[METADATA] Generation failed: " + fileName); // Returns if file was successfully created return results; @@ -80,5 +81,3 @@ async function TransformJsonModule(input) { return JSON.stringify(data, null, 4); } - -const METADATA_FOLDER = "./metadata"; \ No newline at end of file diff --git a/src/flags/script_decleration.js b/src/flags/script_decleration.js new file mode 100644 index 0000000..e2517f2 --- /dev/null +++ b/src/flags/script_decleration.js @@ -0,0 +1,86 @@ +import { dirname, resolve } from "node:path"; +import { readFile } from "node:fs/promises"; +import { createWriteStream, existsSync, mkdirSync } from "node:fs"; +import { Readable } from "node:stream"; +import { pipeline } from "node:stream/promises"; +import { Printer } from "./ts-declarations/printers.js"; +import { FileTree } from "../functions.js"; + +const OUTPUT_FOLDER = "./script-declerations"; +/** + * + * @param {string} inputDirPath + * @returns {Promise} + */ +export async function SCRIPT_DECLARATIONS(inputDirPath) { + // Init + const inputDir = resolve(inputDirPath, "docs/script_modules"); + const tasks = []; + + // Task Factory for each file in the path tree + for (const file of FileTree(inputDir)) tasks.push( + Task(inputDir, file).catch(()=>false) + ); + + // Return Only Succesfull Creations + const results = (await Promise.all(tasks)).filter(s=>s); + + // Check if all tasks has successfully ended. + return tasks.length == results.length; +} +/** + * @param {string} input + * @param {string} fileName + * @returns {Promise} + */ +async function Task(input,fileName) { + + // Read File + /**@type {Buffer | string | null} */ + let buffer = await readFile(resolve(input, fileName)).catch(()=>null); + + // Check if file was properly readed + if(buffer == null) return false; + + // Transform File content + if(!fileName.endsWith(".json")) return false; + + // Check if buffer is valid content + if(buffer == null) return false; + + + + const outFile = resolve(OUTPUT_FOLDER, fileName); + const outDir = dirname(outFile); + + // Has to be sync to be sure we are not about to call mkdir with same directory path + if(!existsSync(outDir)) mkdirSync(outDir, {recursive: true}); + + + const writeStream = createWriteStream(outFile.replace(/.json$/g,".d.ts")); + + const readable = PrintScriptModule(buffer); + + const results = await pipeline( + readable, + writeStream + ).then(()=>true, ()=>false); + + if(results) console.log("[SCRIPT_DECLARATIONS] Generated: " + fileName); + else console.log("[SCRIPT_DECLARATIONS] Generation failed: " + fileName); + + // Returns if file was successfully created + return results; +} + +/** + * @param {Buffer} input + */ +function PrintScriptModule(input) { + // Parse Conent + const data = JSON.parse(input.toString()); + // Check if content was object + if(typeof data != "object") throw new TypeError("Expected JSON module is not an instance of object.s"); + + return Readable.from(Printer(data)); +} \ No newline at end of file diff --git a/src/flags/server_2.0.0-alpha.json b/src/flags/server_2.0.0-alpha.json deleted file mode 100644 index 606549f..0000000 --- a/src/flags/server_2.0.0-alpha.json +++ /dev/null @@ -1,37047 +0,0 @@ -{ - "classes" : [ - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "BiomeType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "typeName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "BiomeTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeTypes" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "steps", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "above", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "steps", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "below", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "bottomCenter", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "blockToPlace", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "faceToPlaceOn", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "canPlace", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "center", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "steps", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "east", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getComponent", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 255, - "min_value" : 1 - }, - "name" : "amount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "default_value" : false - }, - "name" : "withData", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getItemStack", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getMapColor", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "RGBA" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getRedstonePower", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTags", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasTag", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "blockName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "states", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "key_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "name" : "map", - "value_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "matches", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "steps", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "north", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "offset", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "offset", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "permutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setPermutation", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "blockType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setType", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "isWaterlogged", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setWaterlogged", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "steps", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "south", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "permutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "trySetPermutation", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "steps", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "west", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - } - ], - "name" : "Block", - "properties" : [ - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "isAir", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isLiquid", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isSolid", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isWaterlogged", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "permutation", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "type", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "BlockType" - } - }, - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "x", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "y", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "z", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Component" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentEntityFallOnEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : true, - "name" : "fallDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentEntityFallOnEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentOnPlaceEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "previousBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentOnPlaceEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentPlayerDestroyEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "destroyedBlockPermutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentPlayerDestroyEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentPlayerInteractEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "face", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "faceLocation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentPlayerInteractEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentPlayerPlaceBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "face", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : false, - "name" : "permutationToPlace", - "privilege" : "read_only", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentPlayerPlaceBeforeEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentRandomTickEvent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentRandomTickEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "customComponent", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponent" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "registerCustomComponent", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentAlreadyRegisteredError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentReloadNewComponentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentReloadNewEventError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentReloadVersionError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentInvalidRegistryError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentNameError" - }, - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "BlockComponentRegistry", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentRegistry" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentStepOffEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentStepOffEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentStepOnEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentStepOnEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockComponentTickEvent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentTickEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "BlockEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "BlockExplodeAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "explodedBlockPermutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockExplodeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockExplodeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockExplodeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockExplodeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "BlockExplodeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockExplodeAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:inventory" - } - ], - "functions" : [], - "name" : "BlockInventoryComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "container", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Container" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockInventoryComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLiquidContainerComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:lavaContainer" - } - ], - "functions" : [], - "name" : "BlockLavaContainerComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLavaContainerComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - ], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValidLiquid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "name" : "BlockLiquidContainerComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "fillLevel", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLiquidContainerComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "iterator" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidIteratorError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - "name" : "BlockLocationIterator", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLocationIterator" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getAllStates", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "key_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "name" : "map", - "value_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 1, - "max_value" : 255, - "min_value" : 1 - }, - "name" : "amount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getItemStack", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "stateName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getState", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTags", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasTag", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "blockName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "states", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "key_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "name" : "map", - "value_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "matches", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "blockName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "states", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "key_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "name" : "map", - "value_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "resolve", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "BlockPermutation" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "withState", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "BlockPermutation" - } - } - ], - "name" : "BlockPermutation", - "properties" : [ - { - "is_read_only" : true, - "name" : "type", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:piston" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getAttachedBlocks", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getAttachedBlocksLocations", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - } - ], - "name" : "BlockPistonComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "isMoving", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "state", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "BlockPistonState" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPistonComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLiquidContainerComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:potionContainer" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setPotionType", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "BlockPotionContainerComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPotionContainerComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:record_player" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "ejectRecord", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getRecord", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isPlaying", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "pauseRecord", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "playRecord", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "recordItemType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - }, - { - "details" : { - "default_value" : true - }, - "name" : "startPlaying", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setRecord", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "BlockRecordPlayerComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRecordPlayerComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:sign" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : { - "default_value" : 0 - }, - "name" : "side", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SignSide" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getRawText", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawText" - } - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 0 - }, - "name" : "side", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SignSide" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getText", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : 0 - }, - "name" : "side", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SignSide" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getTextDyeColor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DyeColor" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawText" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "default_value" : 0 - }, - "name" : "side", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SignSide" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setText", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "color", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DyeColor" - } - } - }, - { - "details" : { - "default_value" : 0 - }, - "name" : "side", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SignSide" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setTextDyeColor", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "waxed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setWaxed", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "BlockSignComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "isWaxed", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockSignComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLiquidContainerComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:snowContainer" - } - ], - "functions" : [], - "name" : "BlockSnowContainerComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockSnowContainerComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "stateName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockStateType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockStateType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "BlockStates", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockStates" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "BlockStateType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "validValues", - "type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockStateType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "BlockType", - "properties" : [ - { - "is_read_only" : true, - "name" : "canBeWaterlogged", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "typeName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "BlockTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockTypes" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeBase" - } - ], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "from", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "to", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolume" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "pos", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "doesLocationTouchFaces", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "other", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolume" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "doesVolumeTouchFaces", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "other", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolume" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "intersects", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeIntersection" - } - } - ], - "name" : "BlockVolume", - "properties" : [ - { - "is_read_only" : false, - "name" : "from", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : false, - "name" : "to", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolume" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockLocationIterator", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLocationIterator" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getBoundingBox", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "BoundingBox" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getCapacity", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getMax", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getMin", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getSpan", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "isInside", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "delta", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "translate", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "BlockVolumeBase", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeBase" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLiquidContainerComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:waterContainer" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "itemType", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addDye", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getCustomColor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "RGBA" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "color", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGBA" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCustomColor", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "BlockWaterContainerComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockWaterContainerComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "min", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "max", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "createValid", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "size", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "dilate", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "other", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "equals", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "other", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "expand", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "getCenter", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "other", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "getIntersection", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "getSpan", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "other", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "intersects", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "pos", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "isInside", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "isValid", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "box", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "details" : null, - "name" : "delta", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "translate", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - } - ], - "name" : "BoundingBoxUtils", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBoxUtils" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "ButtonPushAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ButtonPushAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ButtonPushAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ButtonPushAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ButtonPushAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ButtonPushAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ButtonPushAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clear", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "fadeCameraOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraFadeOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "fade", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "cameraPreset", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "setOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraDefaultOptions" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraFixedBoomOptions" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetFacingOptions" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetLocationOptions" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetPosOptions" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetRotOptions" - } - ] - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCamera", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "Camera", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Camera" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ChatSendAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "sender", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "targets", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ChatSendAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ChatSendBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "sender", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "targets", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ChatSendBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "CommandResult", - "properties" : [ - { - "is_read_only" : true, - "name" : "successCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CommandResult" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "name" : "Component", - "properties" : [ - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Component" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clear", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "origin", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - } - ], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolume" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockLocationIterator", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockLocationIterator" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getBoundingBox", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getMax", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getMin", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getOrigin", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isEmpty", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "worldLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "isInside", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "forceRelativity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumePositionRelativity" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "peekLastVolume", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeItem" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "popVolume", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "item", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeItem" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "pushVolume", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "item", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeItem" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "replaceOrAddLastVolume", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "position", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "preserveExistingVolumes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setOrigin", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "delta", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "preserveExistingVolumes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "translateOrigin", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "CompoundBlockVolume", - "properties" : [ - { - "is_read_only" : true, - "name" : "capacity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint64", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "items", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeItem" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "is_read_only" : true, - "name" : "itemsAbsolute", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeItem" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "is_read_only" : true, - "name" : "volumeCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint64", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolume" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addItem", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clearAll", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "slot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getItem", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "slot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getSlot", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ContainerSlot" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "fromSlot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "toSlot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : null, - "name" : "toContainer", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Container" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "moveItem", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "slot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setItem", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "slot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "otherSlot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : null, - "name" : "otherContainer", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Container" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "swapItems", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "fromSlot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : null, - "name" : "toContainer", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Container" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "transferItem", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "name" : "Container", - "properties" : [ - { - "is_read_only" : true, - "name" : "emptySlotsCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "size", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Container" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clearDynamicProperties", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getCanDestroy", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getCanPlaceOn", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyIds", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyTotalByteCount", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getItem", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getLore", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTags", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "hasItem", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasTag", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "isStackableWith", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "blockIdentifiers", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCanDestroy", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "blockIdentifiers", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCanPlaceOn", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setItem", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "loreList", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setLore", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ContainerSlot", - "properties" : [ - { - "is_read_only" : false, - "name" : "amount", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "isStackable", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "keepOnDeath", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "lockMode", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemLockMode" - } - }, - { - "is_read_only" : true, - "name" : "maxAmount", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "nameTag", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : true, - "name" : "type", - "type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ItemType" - } - }, - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ContainerSlot" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getModifiers", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DefinitionModifier" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "DataDrivenEntityTriggerAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "eventId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DataDrivenEntityTriggerAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DataDrivenEntityTriggerAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDataDrivenTriggerEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DataDrivenEntityTriggerAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DataDrivenEntityTriggerAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "DataDrivenEntityTriggerAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DataDrivenEntityTriggerAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "volume", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeBase" - } - }, - { - "details" : null, - "name" : "filter", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFilter" - } - }, - { - "details" : { - "default_value" : false - }, - "name" : "allowUnloadedChunks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "containsBlock", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "UnloadedChunksError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "max_value" : 1000.0, - "min_value" : 0.0 - }, - "name" : "radius", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "explosionOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "createExplosion", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "volume", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeBase" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolume" - } - ] - } - }, - { - "details" : null, - "name" : "block", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFillOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "fillBlocks", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "UnloadedChunksError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ListBlockVolume" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "pos", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "biomeToFind", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeSearchOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "findClosestBiome", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlock", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockAbove", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockBelow", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "direction", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockFromRay", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastHit" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "volume", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeBase" - } - }, - { - "details" : null, - "name" : "filter", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFilter" - } - }, - { - "details" : { - "default_value" : false - }, - "name" : "allowUnloadedChunks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlocks", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "UnloadedChunksError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ListBlockVolume" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntities", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntitiesAtBlockLocation", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "direction", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRaycastOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntitiesFromRay", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRaycastHit" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getPlayers", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "locationXZ", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "VectorXZ" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "minHeight", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getTopmostBlock", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getWeather", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherType" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "soundId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "soundOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldSoundOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "playSound", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "commandString", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runCommand", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CommandError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "CommandResult" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "commandString", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runCommandAsync", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "promise", - "promise_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CommandResult" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "permutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setBlockPermutation", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "blockType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setBlockType", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "weatherType", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherType" - } - }, - { - "details" : { - "default_value" : "null", - "max_value" : 1000000, - "min_value" : 1 - }, - "name" : "duration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setWeather", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SpawnEntityOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "spawnEntity", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Entity" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "spawnItem", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Entity" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "effectName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "molangVariables", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MolangVariableMap" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "spawnParticle", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "Dimension", - "properties" : [ - { - "is_read_only" : true, - "name" : "heightRange", - "type" : { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : true, - "name" : "NumberRange" - } - }, - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "DimensionType", - "properties" : [ - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "dimensionTypeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "DimensionTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionTypes" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "name" : "Effect", - "properties" : [ - { - "is_read_only" : true, - "name" : "amplifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "displayName", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "duration", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Effect" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EffectAddAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "effect", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Effect" - } - }, - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EffectAddAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EffectAddBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "duration", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "effectType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EffectAddBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getName", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "name" : "EffectType", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "none", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "EffectTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectTypes" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "enchantmentType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "EnchantmentType" - } - } - ], - "name" : "EnchantmentType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "maxLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "enchantmentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "EnchantmentTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypes" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "effectType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "max_value" : 20000000, - "min_value" : 1 - }, - "name" : "duration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEffectOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addEffect", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Effect" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addTag", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "amount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityApplyDamageByProjectileOptions" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityApplyDamageOptions" - } - ] - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "applyDamage", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "vector", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "applyImpulse", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "directionX", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "directionZ", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "horizontalStrength", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "verticalStrength", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "applyKnockback", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clearDynamicProperties", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clearVelocity", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : true - }, - "name" : "useEffects", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "extinguishFire", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockFromViewDirection", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastHit" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getComponent", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getComponents", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyIds", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyTotalByteCount", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "effectType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEffect", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Effect" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getEffects", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Effect" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRaycastOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntitiesFromViewDirection", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRaycastHit" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getHeadLocation", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getRotation", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector2" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTags", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getVelocity", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getViewDirection", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasComponent", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasTag", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "kill", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "options", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryOptions" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "matches", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "animationName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayAnimationOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "playAnimation", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "remove", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "effectType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "removeEffect", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "removeTag", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "resetProperty", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "commandString", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runCommand", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CommandError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "CommandResult" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "commandString", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runCommandAsync", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "promise", - "promise_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CommandResult" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "seconds", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : { - "default_value" : true - }, - "name" : "useEffects", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setOnFire", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setProperty", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "rotation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector2" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setRotation", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "teleportOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TeleportOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "teleport", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "eventName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "triggerEvent", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "teleportOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TeleportOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "tryTeleport", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "name" : "Entity", - "properties" : [ - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "isClimbing", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isFalling", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isInWater", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isOnGround", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isSleeping", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "isSneaking", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isSprinting", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isSwimming", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - }, - { - "is_read_only" : false, - "name" : "nameTag", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "scoreboardIdentity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - } - } - }, - { - "is_read_only" : true, - "name" : "target", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:addrider" - } - ], - "functions" : [], - "name" : "EntityAddRiderComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entityType", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "spawnEvent", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAddRiderComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:ageable" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDropItems", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getFeedItems", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDefinitionFeedItem" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - } - ], - "name" : "EntityAgeableComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "duration", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "growUp", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Trigger" - } - }, - { - "is_read_only" : true, - "name" : "transformToItem", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAgeableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "resetToDefaultValue", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "resetToMaxValue", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "resetToMinValue", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCurrentValue", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "name" : "EntityAttributeComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "currentValue", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "defaultValue", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "effectiveMax", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "effectiveMin", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAttributeComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [], - "functions" : [], - "name" : "EntityBaseMovementComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "maxTurn", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:breathable" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getBreatheBlocks", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getNonBreatheBlocks", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - } - ], - "name" : "EntityBreathableComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "airSupply", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int16", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "breathesAir", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "breathesLava", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "breathesSolids", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "breathesWater", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canBreathe", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "generatesBubbles", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "inhaleTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "suffocateTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "totalSupply", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBreathableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:can_climb" - } - ], - "functions" : [], - "name" : "EntityCanClimbComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityCanClimbComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:can_fly" - } - ], - "functions" : [], - "name" : "EntityCanFlyComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityCanFlyComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:can_power_jump" - } - ], - "functions" : [], - "name" : "EntityCanPowerJumpComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityCanPowerJumpComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:color2" - } - ], - "functions" : [], - "name" : "EntityColor2Component", - "properties" : [ - { - "is_read_only" : true, - "name" : "value", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "PaletteColor" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityColor2Component" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:color" - } - ], - "functions" : [], - "name" : "EntityColorComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityColorComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Component" - } - ], - "constants" : [], - "functions" : [], - "name" : "EntityComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityDefinitionFeedItem", - "properties" : [ - { - "is_read_only" : true, - "name" : "growth", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "item", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDefinitionFeedItem" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityDieAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "damageSource", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDamageSource" - } - }, - { - "is_read_only" : true, - "name" : "deadEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDieAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDieAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDieAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDieAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityDieAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDieAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:equippable" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "equipmentSlot", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EquipmentSlot" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEquipment", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "equipmentSlot", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EquipmentSlot" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEquipmentSlot", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ContainerSlot" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "equipmentSlot", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EquipmentSlot" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setEquipment", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "name" : "EntityEquippableComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEquippableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:fire_immune" - } - ], - "functions" : [], - "name" : "EntityFireImmuneComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFireImmuneComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:floats_in_liquid" - } - ], - "functions" : [], - "name" : "EntityFloatsInLiquidComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFloatsInLiquidComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:flying_speed" - } - ], - "functions" : [], - "name" : "EntityFlyingSpeedComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFlyingSpeedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:friction_modifier" - } - ], - "functions" : [], - "name" : "EntityFrictionModifierComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFrictionModifierComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:ground_offset" - } - ], - "functions" : [], - "name" : "EntityGroundOffsetComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityGroundOffsetComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:healable" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getFeedItems", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "FeedItem" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - } - ], - "name" : "EntityHealableComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "forceUse", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealableComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityHealthChangedAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "newValue", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "oldValue", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthChangedAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthChangedAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthChangedAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthChangedAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityHealthChangedAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthChangedAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAttributeComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:health" - } - ], - "functions" : [], - "name" : "EntityHealthComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityHitBlockAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "blockFace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "damagingEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "hitBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "hitBlockPermutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitBlockAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityHitBlockAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitBlockAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityHitEntityAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "damagingEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "hitEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitEntityAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityHitEntityAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitEntityAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityHurtAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "damage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "damageSource", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDamageSource" - } - }, - { - "is_read_only" : true, - "name" : "hurtEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHurtAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHurtAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHurtAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHurtAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityHurtAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHurtAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:inventory" - } - ], - "functions" : [], - "name" : "EntityInventoryComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "additionalSlotsPerStrength", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "canBeSiphonedFrom", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "container", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Container" - } - } - }, - { - "is_read_only" : true, - "name" : "containerType", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "inventorySize", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "private", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "restrictToOwner", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityInventoryComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_baby" - } - ], - "functions" : [], - "name" : "EntityIsBabyComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsBabyComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_charged" - } - ], - "functions" : [], - "name" : "EntityIsChargedComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsChargedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_chested" - } - ], - "functions" : [], - "name" : "EntityIsChestedComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsChestedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_dyeable" - } - ], - "functions" : [], - "name" : "EntityIsDyeableComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsDyeableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_hidden_when_invisible" - } - ], - "functions" : [], - "name" : "EntityIsHiddenWhenInvisibleComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsHiddenWhenInvisibleComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_ignited" - } - ], - "functions" : [], - "name" : "EntityIsIgnitedComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsIgnitedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_illager_captain" - } - ], - "functions" : [], - "name" : "EntityIsIllagerCaptainComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsIllagerCaptainComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_saddled" - } - ], - "functions" : [], - "name" : "EntityIsSaddledComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsSaddledComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_shaking" - } - ], - "functions" : [], - "name" : "EntityIsShakingComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsShakingComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_sheared" - } - ], - "functions" : [], - "name" : "EntityIsShearedComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsShearedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_stackable" - } - ], - "functions" : [], - "name" : "EntityIsStackableComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsStackableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_stunned" - } - ], - "functions" : [], - "name" : "EntityIsStunnedComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsStunnedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_tamed" - } - ], - "functions" : [], - "name" : "EntityIsTamedComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIsTamedComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:item" - } - ], - "functions" : [], - "name" : "EntityItemComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ItemStack" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityItemComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "iterator" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - "name" : "EntityIterator", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityIterator" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAttributeComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:lava_movement" - } - ], - "functions" : [], - "name" : "EntityLavaMovementComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLavaMovementComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:leashable" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "leashHolder", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "leashTo", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "unleash", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "EntityLeashableComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "canBeStolen", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "hardDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "isLeashed", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "leashHolder", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : true, - "name" : "leashHolderEntityId", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : true, - "name" : "maxDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "softDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLeashableComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityLoadAfterEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "entity", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLoadAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLoadAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLoadAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLoadAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityLoadAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLoadAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:mark_variant" - } - ], - "functions" : [], - "name" : "EntityMarkVariantComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMarkVariantComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.amphibious" - } - ], - "functions" : [], - "name" : "EntityMovementAmphibiousComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementAmphibiousComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.basic" - } - ], - "functions" : [], - "name" : "EntityMovementBasicComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementBasicComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAttributeComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement" - } - ], - "functions" : [], - "name" : "EntityMovementComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.fly" - } - ], - "functions" : [], - "name" : "EntityMovementFlyComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementFlyComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.generic" - } - ], - "functions" : [], - "name" : "EntityMovementGenericComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementGenericComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.glide" - } - ], - "functions" : [], - "name" : "EntityMovementGlideComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "speedWhenTurning", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "startSpeed", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementGlideComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.hover" - } - ], - "functions" : [], - "name" : "EntityMovementHoverComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementHoverComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.jump" - } - ], - "functions" : [], - "name" : "EntityMovementJumpComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementJumpComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.skip" - } - ], - "functions" : [], - "name" : "EntityMovementSkipComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementSkipComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityBaseMovementComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.sway" - } - ], - "functions" : [], - "name" : "EntityMovementSwayComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "swayAmplitude", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "swayFrequency", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityMovementSwayComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.climb" - } - ], - "functions" : [], - "name" : "EntityNavigationClimbComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationClimbComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [], - "functions" : [], - "name" : "EntityNavigationComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "avoidDamageBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "avoidPortals", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "avoidSun", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "avoidWater", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canBreach", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canBreakDoors", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canFloat", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canJump", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canOpenDoors", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canOpenIronDoors", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canPassDoors", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canPathFromAir", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canPathOverLava", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canPathOverWater", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canSink", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canSwim", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canWalk", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "canWalkInLava", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isAmphibious", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.float" - } - ], - "functions" : [], - "name" : "EntityNavigationFloatComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationFloatComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.fly" - } - ], - "functions" : [], - "name" : "EntityNavigationFlyComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationFlyComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.generic" - } - ], - "functions" : [], - "name" : "EntityNavigationGenericComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationGenericComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.hover" - } - ], - "functions" : [], - "name" : "EntityNavigationHoverComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationHoverComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.walk" - } - ], - "functions" : [], - "name" : "EntityNavigationWalkComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNavigationWalkComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:npc" - } - ], - "functions" : [], - "name" : "EntityNpcComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "defaultScene", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : false, - "name" : "name", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : false, - "name" : "skinIndex", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityNpcComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:onfire" - } - ], - "functions" : [], - "name" : "EntityOnFireComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "onFireTicksRemaining", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityOnFireComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:projectile" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "velocity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileShootOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "shoot", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "EntityProjectileComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "airInertia", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "catchFireOnHurt", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "critParticlesOnProjectileHurt", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "destroyOnProjectileHurt", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "gravity", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "hitEntitySound", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "hitGroundSound", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "hitParticle", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "lightningStrikeOnHit", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "liquidInertia", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "onFireTime", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "owner", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : false, - "name" : "shouldBounceOnHit", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "stopOnHit", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityProjectileComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:push_through" - } - ], - "functions" : [], - "name" : "EntityPushThroughComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityPushThroughComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityRemoveAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "removedEntityId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityRemoveAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityRemoveBeforeEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "removedEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntityRemoveBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveBeforeEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:rideable" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "rider", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addRider", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "rider", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "ejectRider", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "ejectRiders", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getFamilyTypes", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getRiders", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getSeats", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Seat" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - } - ], - "name" : "EntityRideableComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "controllingSeat", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "crouchingSkipInteract", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "interactText", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "passengerMaxWidth", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "pullInEntities", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "riderCanInteract", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "seatCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRideableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:riding" - } - ], - "functions" : [], - "name" : "EntityRidingComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "entityRidingOn", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRidingComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:scale" - } - ], - "functions" : [], - "name" : "EntityScaleComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityScaleComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:skin_id" - } - ], - "functions" : [], - "name" : "EntitySkinIdComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "value", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySkinIdComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntitySpawnAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "cause", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityInitializationCause" - } - }, - { - "is_read_only" : false, - "name" : "entity", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySpawnAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySpawnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySpawnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySpawnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "EntitySpawnAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySpawnAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:strength" - } - ], - "functions" : [], - "name" : "EntityStrengthComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "max", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityStrengthComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:tameable" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "tame", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "name" : "EntityTameableComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "getTameItems", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "is_read_only" : true, - "name" : "isTamed", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "probability", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "tamedToPlayer", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - }, - { - "is_read_only" : true, - "name" : "tamedToPlayerId", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityTameableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:tamemount" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "showParticles", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "tame", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "showParticles", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "details" : null, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "tameToPlayer", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "name" : "EntityTameMountComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "isTamed", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isTamedToPlayer", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "tamedToPlayer", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - }, - { - "is_read_only" : true, - "name" : "tamedToPlayerId", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityTameMountComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "EntityType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityType" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:type_family" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTypeFamilies", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "typeFamily", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasTypeFamily", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - } - ], - "name" : "EntityTypeFamilyComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityTypeFamilyComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "iterator" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityType" - } - }, - "name" : "EntityTypeIterator", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityTypeIterator" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "EntityTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityTypes" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityAttributeComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:underwater_movement" - } - ], - "functions" : [], - "name" : "EntityUnderwaterMovementComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityUnderwaterMovementComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:variant" - } - ], - "functions" : [], - "name" : "EntityVariantComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityVariantComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:wants_jockey" - } - ], - "functions" : [], - "name" : "EntityWantsJockeyComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityWantsJockeyComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getImpactedBlocks", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "ExplosionAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ExplosionAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEvent" - } - ], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "blocks", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setImpactedBlocks", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ExplosionBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ExplosionBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getEffects", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "FeedItemEffect" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "FeedItem", - "properties" : [ - { - "is_read_only" : true, - "name" : "healAmount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "item", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "FeedItem" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "FeedItemEffect", - "properties" : [ - { - "is_read_only" : true, - "name" : "amplifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "chance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "duration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "FeedItemEffect" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "FilterGroup", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "FilterGroup" - } - }, - { - "base_types" : [], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "maxFillLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 6 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "minFillLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 0 - } - ], - "functions" : [], - "name" : "FluidContainer", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "FluidContainer" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "GameRuleChangeAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "rule", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRule" - } - }, - { - "is_read_only" : true, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - ] - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRuleChangeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRuleChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRuleChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRuleChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "GameRuleChangeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRuleChangeAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "GameRules", - "properties" : [ - { - "is_read_only" : false, - "name" : "commandBlockOutput", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "commandBlocksEnabled", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doDayLightCycle", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doEntityDrops", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doFireTick", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doImmediateRespawn", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doInsomnia", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doLimitedCrafting", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doMobLoot", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doMobSpawning", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doTileDrops", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "doWeatherCycle", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "drowningDamage", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "fallDamage", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "fireDamage", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "freezeDamage", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "functionCommandLimit", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "keepInventory", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "maxCommandChainLength", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "mobGriefing", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "naturalRegeneration", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "playersSleepingPercentage", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "projectilesCanBreakBlocks", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "pvp", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "randomTickSpeed", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "recipesUnlock", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "respawnBlocksExplode", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "sendCommandFeedback", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "showBorderEffect", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "showCoordinates", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "showDaysPlayed", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "showDeathMessages", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "showRecipeMessages", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "showTags", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "spawnRadius", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "tntExplodes", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "tntExplosionDropDecay", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRules" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemCompleteUseAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "useDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemCompleteUseAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemCompleteUseEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Component" - } - ], - "constants" : [], - "functions" : [], - "name" : "ItemComponent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemComponentBeforeDurabilityDamageEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "attackingEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : false, - "name" : "durabilityDamage", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "hitEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : false, - "name" : "itemStack", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentBeforeDurabilityDamageEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "ItemComponentCompleteUseEvent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentCompleteUseEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemComponentConsumeEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentConsumeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemComponentHitEntityEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "attackingEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "hadEffect", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "hitEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentHitEntityEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemComponentMineBlockEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "minedBlockPermutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentMineBlockEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "itemCustomComponent", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponent" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "registerCustomComponent", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentInvalidRegistryError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentNameError" - }, - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentAlreadyRegisteredError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentReloadNewComponentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentReloadNewEventError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentReloadVersionError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ItemComponentRegistry", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentRegistry" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemComponentUseEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentUseEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "ItemComponentUseOnEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "usedOnBlockPermutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentUseOnEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:cooldown" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getCooldownTicksRemaining", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "cooldownCategory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "isCooldownCategory", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "startCooldown", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ItemCooldownComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "cooldownCategory", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "cooldownTicks", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCooldownComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:durability" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : { - "default_value" : 0, - "max_value" : 3, - "min_value" : 0 - }, - "name" : "unbreakingEnchantmentLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getDamageChance", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDamageChanceRange", - "privilege" : "none", - "return_type" : { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : true, - "name" : "NumberRange" - } - } - ], - "name" : "ItemDurabilityComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "damage", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "maxDurability", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemDurabilityComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:enchantable" - } - ], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "enchantment", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Enchantment" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addEnchantment", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentLevelOutOfBoundsError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeNotCompatibleError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "enchantments", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Enchantment" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addEnchantments", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentLevelOutOfBoundsError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeNotCompatibleError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "enchantment", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Enchantment" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "canAddEnchantment", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentLevelOutOfBoundsError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "enchantmentType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEnchantment", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Enchantment" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getEnchantments", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Enchantment" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "enchantmentType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasEnchantment", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "removeAllEnchantments", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "enchantmentType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "removeEnchantment", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ItemEnchantableComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "slots", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentSlot" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemEnchantableComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:food" - } - ], - "functions" : [], - "name" : "ItemFoodComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "canAlwaysEat", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "nutrition", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "saturationModifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "usingConvertsTo", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemFoodComponent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:potion" - } - ], - "functions" : [], - "name" : "ItemPotionComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "potionEffectType", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "PotionEffectType" - } - }, - { - "is_read_only" : true, - "name" : "potionLiquidType", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "PotionLiquidType" - } - }, - { - "is_read_only" : true, - "name" : "potionModifierType", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "PotionModifierType" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemPotionComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemReleaseUseAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "useDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemReleaseUseAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemReleaseUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemReleaseUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemReleaseUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemReleaseUseAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemReleaseUseAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clearDynamicProperties", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clone", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "itemType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "default_value" : 1, - "max_value" : 255, - "min_value" : 1 - }, - "name" : "amount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ItemStack" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "options", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionOptions" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "createPotion", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ItemStack" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getCanDestroy", - "privilege" : "none", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getCanPlaceOn", - "privilege" : "none", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getComponent", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getComponents", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyIds", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyTotalByteCount", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getLore", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTags", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasComponent", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "tag", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasTag", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "isStackableWith", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "itemName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "states", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "key_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "name" : "map", - "value_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "matches", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "blockIdentifiers", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCanDestroy", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "blockIdentifiers", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setCanPlaceOn", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "loreList", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setLore", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ItemStack", - "properties" : [ - { - "is_read_only" : false, - "name" : "amount", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "isStackable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "keepOnDeath", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "lockMode", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemLockMode" - } - }, - { - "is_read_only" : true, - "name" : "maxAmount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "nameTag", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : true, - "name" : "type", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - } - }, - { - "is_read_only" : true, - "name" : "typeId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemStartUseAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "useDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemStartUseAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemStartUseOnAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "blockFace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseOnAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemStartUseOnAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseOnAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemStopUseAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "useDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemStopUseAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemStopUseOnAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseOnAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemStopUseOnAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseOnAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "itemId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "get", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : true, - "name" : "getAll", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemType" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "name" : "ItemTypes", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemTypes" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemUseAfterEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "itemStack", - "privilege" : "read_only", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemUseAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "ItemUseBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemUseBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemUseOnAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "blockFace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "isFirstEvent", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemUseOnAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "ItemUseOnBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ItemUseOnBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ItemUseOnEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "blockFace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnEvent" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "LeverActionAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "isPowered", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LeverActionAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LeverActionAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LeverActionAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LeverActionAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "LeverActionAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LeverActionAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeBase" - } - ], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "locations", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "add", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "locations", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ListBlockVolume" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "locations", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "remove", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ListBlockVolume", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ListBlockVolume" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "MessageReceiveAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MessageReceiveAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MolangVariableMap" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "variableName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "color", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGB" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setColorRGB", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "variableName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "color", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGBA" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setColorRGBA", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "variableName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "number", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setFloat", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "variableName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "max_value" : 3.402823466385289e+38, - "min_value" : -3.402823466385289e+38 - }, - "name" : "speed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "details" : null, - "name" : "direction", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setSpeedAndDirection", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "variableName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "vector", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setVector3", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "MolangVariableMap", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MolangVariableMap" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PistonActivateAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "isExpanding", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "piston", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPistonComponent" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PistonActivateAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PistonActivateAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PistonActivateAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PistonActivateAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PistonActivateAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PistonActivateAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - ], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : { - "max_value" : 16777216, - "min_value" : -16777216 - }, - "name" : "amount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addExperience", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 16777216, - "min_value" : -16777216 - }, - "name" : "amount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addLevels", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "itemStack", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "eatItem", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getGameMode", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "GameMode" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "cooldownCategory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getItemCooldown", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getSpawnPoint", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionLocation" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTotalXp", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isOp", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "trackId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "musicOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MusicOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "playMusic", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "soundId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "soundOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSoundOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "playSound", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "postClientMessage", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "trackId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "musicOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MusicOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "queueMusic", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "resetLevel", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "sendMessage", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "gameMode", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setGameMode", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "isOp", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setOp", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "spawnPoint", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionLocation" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setSpawnPoint", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "effectName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "molangVariables", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MolangVariableMap" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "spawnParticle", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "cooldownCategory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "max_value" : 32767, - "min_value" : 0 - }, - "name" : "tickDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "startItemCooldown", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "stopMusic", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "Player", - "properties" : [ - { - "is_read_only" : true, - "name" : "camera", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Camera" - } - }, - { - "is_read_only" : true, - "name" : "inputPermissions", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissions" - } - }, - { - "is_read_only" : true, - "name" : "isEmoting", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isFlying", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isGliding", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "isJumping", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "level", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "onScreenDisplay", - "type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ScreenDisplay" - } - }, - { - "is_read_only" : false, - "name" : "selectedSlotIndex", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "totalXpNeededForNextLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "xpEarnedAtCurrentLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PlayerBreakBlockAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "brokenBlockPermutation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "itemStackAfterBreak", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "itemStackBeforeBreak", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerBreakBlockAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PlayerBreakBlockBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "itemStack", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerBreakBlockBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockBeforeEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "componentId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:cursor_inventory" - } - ], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clear", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "PlayerCursorInventoryComponent", - "properties" : [ - { - "is_read_only" : true, - "name" : "item", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerCursorInventoryComponent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerDimensionChangeAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "fromDimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "fromLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "toDimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "toLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerDimensionChangeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerDimensionChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerDimensionChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerDimensionChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerDimensionChangeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerDimensionChangeAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerEmoteAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "personaPieceId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerEmoteAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerEmoteAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerEmoteAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerEmoteAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerEmoteAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerEmoteAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerGameModeChangeAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "fromGameMode", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "toGameMode", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerGameModeChangeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerGameModeChangeBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "fromGameMode", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : false, - "name" : "toGameMode", - "privilege" : "read_only", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerGameModeChangeBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerInputPermissionCategoryChangeAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "category", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InputPermissionCategory" - } - }, - { - "is_read_only" : true, - "name" : "enabled", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissionCategoryChangeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissionCategoryChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissionCategoryChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissionCategoryChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerInputPermissionCategoryChangeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissionCategoryChangeAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerInputPermissions", - "properties" : [ - { - "is_read_only" : false, - "name" : "cameraEnabled", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "movementEnabled", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissions" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerInteractWithBlockAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "beforeItemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "blockFace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "isFirstEvent", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerInteractWithBlockAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerInteractWithBlockBeforeEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : true, - "name" : "blockFace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "isFirstEvent", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerInteractWithBlockBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerInteractWithEntityAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "beforeItemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "target", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerInteractWithEntityAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerInteractWithEntityBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "itemStack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStack" - } - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - { - "is_read_only" : true, - "name" : "target", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerInteractWithEntityBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "iterator" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - }, - "name" : "PlayerIterator", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerIterator" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerJoinAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "playerId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "playerName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerJoinAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerJoinAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerJoinAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerJoinAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerJoinAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerJoinAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerLeaveAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "playerId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "playerName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerLeaveAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerLeaveBeforeEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerLeaveBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveBeforeEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PlayerPlaceBlockAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerPlaceBlockAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PlayerPlaceBlockBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "face", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : true, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "permutationBeingPlaced", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - }, - { - "is_read_only" : true, - "name" : "player", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEventOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerPlaceBlockBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PlayerSpawnAfterEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "initialSpawn", - "privilege" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "player", - "privilege" : "none", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSpawnAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSpawnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSpawnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSpawnAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PlayerSpawnAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSpawnAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PotionEffectType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionEffectType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PotionLiquidType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionLiquidType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "PotionModifierType", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionModifierType" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "potionEffectId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "getPotionEffectType", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionEffectType" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "potionLiquidId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "getPotionLiquidType", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionLiquidType" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "potionModifierId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : true, - "name" : "getPotionModifierType", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionModifierType" - } - } - } - ], - "name" : "Potions", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Potions" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PressurePlatePopAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "previousRedstonePower", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "redstonePower", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePopAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePopAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePopAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePopAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PressurePlatePopAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePopAfterEventSignal" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "PressurePlatePushAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "previousRedstonePower", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "redstonePower", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePushAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePushAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePushAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePushAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "PressurePlatePushAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePushAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockHit", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockHitInformation" - } - } - ], - "name" : "ProjectileHitBlockAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "hitVector", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "projectile", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitBlockAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitBlockAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ProjectileHitBlockAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitBlockAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntityHit", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitInformation" - } - } - ], - "name" : "ProjectileHitEntityAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : true, - "name" : "hitVector", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "projectile", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitEntityAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitEntityAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ProjectileHitEntityAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitEntityAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "objectiveId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "displayName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addObjective", - "privilege" : "none", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "ScoreboardObjective" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "displaySlotId", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DisplaySlotId" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "clearObjectiveAtDisplaySlot", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "objectiveId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getObjective", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "displaySlotId", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DisplaySlotId" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getObjectiveAtDisplaySlot", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjectiveDisplayOptions" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getObjectives", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getParticipants", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "objectiveId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "removeObjective", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "displaySlotId", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DisplaySlotId" - } - }, - { - "details" : null, - "name" : "objectiveDisplaySetting", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjectiveDisplayOptions" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setObjectiveAtDisplaySlot", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - } - } - } - ], - "name" : "Scoreboard", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Scoreboard" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntity", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - ], - "name" : "ScoreboardIdentity", - "properties" : [ - { - "is_read_only" : true, - "name" : "displayName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int64", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "type", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentityType" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "participant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "scoreToAdd", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "addScore", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getParticipants", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "participant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getScore", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getScores", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardScoreInfo" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "participant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hasParticipant", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "participant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "removeParticipant", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "participant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "score", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setScore", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ScoreboardObjective", - "properties" : [ - { - "is_read_only" : true, - "name" : "displayName", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ScoreboardScoreInfo", - "properties" : [ - { - "is_read_only" : true, - "name" : "participant", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardIdentity" - } - }, - { - "is_read_only" : true, - "name" : "score", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardScoreInfo" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getHiddenHudElements", - "privilege" : "none", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "hudElements", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "hideAllExcept", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "hudElement", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "isForcedHidden", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "resetHudElements", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "text", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setActionBar", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "visible", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudVisibility" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "hudElements", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setHudVisibility", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "title", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TitleDisplayOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setTitle", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "subtitle", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "updateSubtitle", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "ScreenDisplay", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScreenDisplay" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "ScriptEventCommandMessageAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "initiator", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : true, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "sourceBlock", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - } - }, - { - "is_read_only" : true, - "name" : "sourceEntity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : true, - "name" : "sourceType", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventSource" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventCommandMessageAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventCommandMessageAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventMessageFilterOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventCommandMessageAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventCommandMessageAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ScriptEventCommandMessageAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventCommandMessageAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "Seat", - "properties" : [ - { - "is_read_only" : true, - "name" : "lockRiderRotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "maxRiderCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "minRiderCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "position", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "seatRotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Seat" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MessageReceiveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MessageReceiveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MessageReceiveAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "ServerMessageAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ServerMessageAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getBlockPermutation", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getIsWaterlogged", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "isValid", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : 1 - }, - "name" : "saveMode", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureSaveMode" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "saveAs", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Structure" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "saveToWorld", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "blockPermutation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setBlockPermutation", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "Structure", - "properties" : [ - { - "is_read_only" : true, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "size", - "type" : { - "error_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Structure" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "size", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : 0 - }, - "name" : "saveMode", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureSaveMode" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "createEmpty", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - }, - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Structure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "details" : null, - "name" : "from", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : null, - "name" : "to", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureCreateOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "createFromWorld", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - } - ], - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Structure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "structure", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Structure" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "delete", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "boolean" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "get", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Structure" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getWorldStructureIds", - "privilege" : "none", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "structure", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Structure" - } - ] - } - }, - { - "details" : null, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "details" : null, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructurePlaceOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "place", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ArgumentOutOfBoundsError" - }, - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidArgumentError" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - } - ], - "name" : "StructureManager", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureManager" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : { - "max_value" : 4294967295, - "min_value" : 0 - }, - "name" : "jobId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "clearJob", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 4294967295, - "min_value" : 0 - }, - "name" : "runId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "clearRun", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "run", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "tickInterval", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runInterval", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "generator", - "type" : { - "generator_type" : { - "next_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - }, - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - }, - "yield_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "generator" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runJob", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "tickDelay", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "runTimeout", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 4294967295, - "min_value" : 1 - }, - "name" : "ticks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "waitTicks", - "privilege" : "read_only", - "return_type" : { - "error_types" : [ - { - "from_module" : { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - }, - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EngineError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "promise", - "promise_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - } - ], - "name" : "System", - "properties" : [ - { - "is_read_only" : true, - "name" : "afterEvents", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SystemAfterEvents" - } - }, - { - "is_read_only" : true, - "name" : "beforeEvents", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SystemBeforeEvents" - } - }, - { - "is_read_only" : true, - "name" : "currentTick", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "uint32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "System" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "SystemAfterEvents", - "properties" : [ - { - "is_read_only" : true, - "name" : "scriptEventReceive", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventCommandMessageAfterEventSignal" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SystemAfterEvents" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "SystemBeforeEvents", - "properties" : [ - { - "is_read_only" : true, - "name" : "watchdogTerminate", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateBeforeEventSignal" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SystemBeforeEvents" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "TargetBlockHitAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "hitVector", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : true, - "name" : "previousRedstonePower", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "redstonePower", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : true, - "name" : "source", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TargetBlockHitAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TargetBlockHitAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TargetBlockHitAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TargetBlockHitAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "TargetBlockHitAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TargetBlockHitAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "eventName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : true, - "name" : "constructor", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Trigger" - } - } - ], - "name" : "Trigger", - "properties" : [ - { - "is_read_only" : false, - "name" : "eventName", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Trigger" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEvent" - } - ], - "constants" : [], - "functions" : [], - "name" : "TripWireTripAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "isPowered", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "sources", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TripWireTripAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TripWireTripAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TripWireTripAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TripWireTripAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "TripWireTripAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TripWireTripAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WatchdogTerminateBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "terminateReason", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateReason" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "WatchdogTerminateBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WatchdogTerminateBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WeatherChangeAfterEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "dimension", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : true, - "name" : "newWeather", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherType" - } - }, - { - "is_read_only" : true, - "name" : "previousWeather", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherType" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "WeatherChangeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WeatherChangeBeforeEvent", - "properties" : [ - { - "is_read_only" : false, - "name" : "cancel", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : false, - "name" : "duration", - "privilege" : "read_only", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "newWeather", - "privilege" : "read_only", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherType" - } - }, - { - "is_read_only" : true, - "name" : "previousWeather", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherType" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "WeatherChangeBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeBeforeEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : null, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "broadcastClientMessage", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "clearDynamicProperties", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getAbsoluteTime", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getAllPlayers", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDay", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDefaultSpawnLocation", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "dimensionId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getDimension", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : true, - "name" : "Dimension" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyIds", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getDynamicPropertyTotalByteCount", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "id", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getEntity", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getMoonPhase", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - } - }, - { - "arguments" : [ - { - "details" : { - "default_value" : "null" - }, - "name" : "options", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "getPlayers", - "privilege" : "read_only", - "return_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Player" - }, - "is_bind_type" : false, - "is_errorable" : true, - "name" : "array" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "getTimeOfDay", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "trackId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "musicOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MusicOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "playMusic", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "trackId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "musicOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MusicOptions" - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "queueMusic", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "message", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "sendMessage", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : { - "max_value" : 2147483647, - "min_value" : -2147483648 - }, - "name" : "absoluteTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setAbsoluteTime", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "spawnLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setDefaultSpawnLocation", - "privilege" : "none", - "return_type" : { - "error_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "Error" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - ], - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "identifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "details" : { - "default_value" : "null" - }, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "double", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - ] - } - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setDynamicProperty", - "privilege" : "read_only", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "timeOfDay", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - } - ] - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "setTimeOfDay", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - { - "arguments" : [], - "is_constructor" : false, - "is_static" : false, - "name" : "stopMusic", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "World", - "properties" : [ - { - "is_read_only" : true, - "name" : "afterEvents", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldAfterEvents" - } - }, - { - "is_read_only" : true, - "name" : "beforeEvents", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldBeforeEvents" - } - }, - { - "is_read_only" : true, - "name" : "gameRules", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRules" - } - }, - { - "is_read_only" : true, - "name" : "isHardcore", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - }, - { - "is_read_only" : true, - "name" : "scoreboard", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Scoreboard" - } - }, - { - "is_read_only" : true, - "name" : "structureManager", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureManager" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "World" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WorldAfterEvents", - "properties" : [ - { - "is_read_only" : true, - "name" : "blockExplode", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockExplodeAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "buttonPush", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ButtonPushAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "chatSend", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "dataDrivenEntityTrigger", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DataDrivenEntityTriggerAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "effectAdd", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityDie", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDieAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityHealthChanged", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHealthChangedAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityHitBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitBlockAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityHitEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitEntityAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityHurt", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHurtAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityLoad", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityLoadAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityRemove", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entitySpawn", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntitySpawnAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "explosion", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "gameRuleChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameRuleChangeAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemCompleteUse", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCompleteUseAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemReleaseUse", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemReleaseUseAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemStartUse", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemStartUseOn", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStartUseOnAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemStopUse", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemStopUseOn", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemStopUseOnAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemUse", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemUseOn", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "leverAction", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LeverActionAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "messageReceive", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ServerMessageAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "pistonActivate", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PistonActivateAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerBreakBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerDimensionChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerDimensionChangeAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerEmote", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerEmoteAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerGameModeChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerInputPermissionCategoryChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInputPermissionCategoryChangeAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerInteractWithBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerInteractWithEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerJoin", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerJoinAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerLeave", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerPlaceBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerSpawn", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSpawnAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "pressurePlatePop", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePopAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "pressurePlatePush", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PressurePlatePushAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "projectileHitBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitBlockAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "projectileHitEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileHitEntityAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "targetBlockHit", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TargetBlockHitAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "tripWireTrip", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TripWireTripAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "weatherChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeAfterEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "worldInitialize", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeAfterEventSignal" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldAfterEvents" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WorldBeforeEvents", - "properties" : [ - { - "is_read_only" : true, - "name" : "chatSend", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ChatSendBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "effectAdd", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EffectAddBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "entityRemove", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRemoveBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "explosion", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemUse", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "itemUseOn", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemUseOnBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerBreakBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerBreakBlockBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerGameModeChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerGameModeChangeBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerInteractWithBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithBlockBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerInteractWithEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerInteractWithEntityBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerLeave", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerLeaveBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "playerPlaceBlock", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerPlaceBlockBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "weatherChange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WeatherChangeBeforeEventSignal" - } - }, - { - "is_read_only" : true, - "name" : "worldInitialize", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeBeforeEventSignal" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldBeforeEvents" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WorldInitializeAfterEvent", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeAfterEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeAfterEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "WorldInitializeAfterEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeAfterEventSignal" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [], - "name" : "WorldInitializeBeforeEvent", - "properties" : [ - { - "is_read_only" : true, - "name" : "blockComponentRegistry", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentRegistry" - } - }, - { - "is_read_only" : true, - "name" : "itemComponentRegistry", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentRegistry" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeBeforeEvent" - } - }, - { - "base_types" : [], - "constants" : [], - "functions" : [ - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "subscribe", - "privilege" : "none", - "return_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - }, - { - "arguments" : [ - { - "details" : null, - "name" : "callback", - "type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - ], - "is_constructor" : false, - "is_static" : false, - "name" : "unsubscribe", - "privilege" : "none", - "return_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "undefined" - } - } - ], - "name" : "WorldInitializeBeforeEventSignal", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldInitializeBeforeEventSignal" - } - } - ], - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "HudElementsCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 13 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "HudVisibilityCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 2 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "isAlpha", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - "value" : true - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "isInternal", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - "value" : true - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MoonPhaseCount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 8 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TicksPerDay", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 24000 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TicksPerSecond", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - "value" : 20 - } - ], - "dependencies" : [ - { - "name" : "@minecraft/common", - "uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5", - "version" : "1.1.0" - } - ], - "enums" : [ - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Inventory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:inventory" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "LavaContainer", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:lavaContainer" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Piston", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:piston" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "PotionContainer", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:potionContainer" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "RecordPlayer", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:record_player" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Sign", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:sign" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "SnowContainer", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:snowContainer" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "WaterContainer", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:waterContainer" - } - ], - "name" : "BlockComponentTypes" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Expanded", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Expanded" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Expanding", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Expanding" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Retracted", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Retracted" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Retracting", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Retracting" - } - ], - "name" : "BlockPistonState" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Contains", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeIntersection" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Disjoint", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeIntersection" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Intersects", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolumeIntersection" - }, - "value" : 2 - } - ], - "name" : "BlockVolumeIntersection" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Add", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeAction" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Subtract", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeAction" - }, - "value" : 1 - } - ], - "name" : "CompoundBlockVolumeAction" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Absolute", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumePositionRelativity" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Relative", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumePositionRelativity" - }, - "value" : 0 - } - ], - "name" : "CompoundBlockVolumePositionRelativity" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "DisallowedNamespace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentNameErrorReason" - }, - "value" : 2 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NoNamespace", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentNameErrorReason" - }, - "value" : 1 - } - ], - "name" : "CustomComponentNameErrorReason" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Easy", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Difficulty" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Hard", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Difficulty" - }, - "value" : 3 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Normal", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Difficulty" - }, - "value" : 2 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Peaceful", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Difficulty" - }, - "value" : 0 - } - ], - "name" : "Difficulty" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Down", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Down" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "East", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "East" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "North", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "North" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "South", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "South" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Up", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Up" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "West", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "West" - } - ], - "name" : "Direction" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "BelowName", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "BelowName" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "List", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "List" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Sidebar", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Sidebar" - } - ], - "name" : "DisplaySlotId" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Black", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Black" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Blue", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Blue" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Brown", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Brown" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Cyan", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Cyan" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Gray", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Gray" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Green", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Green" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "LightBlue", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "LightBlue" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Lime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Lime" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Magenta", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Magenta" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Orange", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Orange" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Pink", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Pink" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Purple", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Purple" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Red", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Red" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Silver", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Silver" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "White", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "White" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Yellow", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Yellow" - } - ], - "name" : "DyeColor" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "InBack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InBack" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InBounce", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InBounce" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InCirc", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InCirc" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InCubic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InCubic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InElastic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InElastic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InExpo", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InExpo" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutBack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutBack" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutBounce", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutBounce" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutCirc", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutCirc" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutCubic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutCubic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutElastic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutElastic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutExpo", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutExpo" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutQuad", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutQuad" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutQuart", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutQuart" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutQuint", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutQuint" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InOutSine", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InOutSine" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InQuad", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InQuad" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InQuart", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InQuart" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InQuint", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InQuint" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "InSine", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "InSine" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Linear", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Linear" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutBack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutBack" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutBounce", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutBounce" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutCirc", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutCirc" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutCubic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutCubic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutElastic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutElastic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutExpo", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutExpo" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutQuad", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutQuad" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutQuart", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutQuart" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutQuint", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutQuint" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OutSine", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "OutSine" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Spring", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Spring" - } - ], - "name" : "EasingType" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "ArmorFeet", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "ArmorFeet" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ArmorHead", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "ArmorHead" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ArmorLegs", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "ArmorLegs" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ArmorTorso", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "ArmorTorso" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Axe", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Axe" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Bow", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Bow" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CarrotStick", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "CarrotStick" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CosmeticHead", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "CosmeticHead" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Crossbow", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Crossbow" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Elytra", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Elytra" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FishingRod", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "FishingRod" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Flintsteel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Flintsteel" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Hoe", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Hoe" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Pickaxe", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Pickaxe" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Shears", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Shears" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Shield", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Shield" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Shovel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Shovel" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Spear", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Spear" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Sword", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Sword" - } - ], - "name" : "EnchantmentSlot" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "AddRider", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:addrider" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Ageable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:ageable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Breathable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:breathable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CanClimb", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:can_climb" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CanFly", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:can_fly" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CanPowerJump", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:can_power_jump" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Color", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:color" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Color2", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:color2" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CursorInventory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:cursor_inventory" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Equippable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:equippable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FireImmune", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:fire_immune" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FloatsInLiquid", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:floats_in_liquid" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FlyingSpeed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:flying_speed" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FrictionModifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:friction_modifier" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "GroundOffset", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:ground_offset" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Healable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:healable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Health", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:health" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Inventory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:inventory" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsBaby", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_baby" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsCharged", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_charged" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsChested", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_chested" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsDyeable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_dyeable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsHiddenWhenInvisible", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_hidden_when_invisible" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsIgnited", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_ignited" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsIllagerCaptain", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_illager_captain" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsSaddled", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_saddled" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsShaking", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_shaking" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsSheared", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_sheared" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsStackable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_stackable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsStunned", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_stunned" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "IsTamed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:is_tamed" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Item", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:item" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "LavaMovement", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:lava_movement" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Leashable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:leashable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MarkVariant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:mark_variant" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Movement", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementAmphibious", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.amphibious" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementBasic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.basic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementFly", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.fly" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementGeneric", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.generic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementGlide", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.glide" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementHover", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.hover" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementJump", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.jump" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementSkip", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.skip" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MovementSway", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:movement.sway" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NavigationClimb", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.climb" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NavigationFloat", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.float" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NavigationFly", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.fly" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NavigationGeneric", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.generic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NavigationHover", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.hover" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NavigationWalk", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:navigation.walk" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Npc", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:npc" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "OnFire", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:onfire" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Projectile", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:projectile" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "PushThrough", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:push_through" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Rideable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:rideable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Riding", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:riding" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Scale", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:scale" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "SkinId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:skin_id" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Strength", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:strength" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Tameable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:tameable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TameMount", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:tamemount" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TypeFamily", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:type_family" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "UnderwaterMovement", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:underwater_movement" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Variant", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:variant" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "WantsJockey", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:wants_jockey" - } - ], - "name" : "EntityComponentTypes" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "anvil", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "anvil" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "blockExplosion", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "blockExplosion" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "campfire", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "campfire" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "charging", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "charging" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "contact", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "contact" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "drowning", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "drowning" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "entityAttack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "entityAttack" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "entityExplosion", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "entityExplosion" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "fall", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fall" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "fallingBlock", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fallingBlock" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "fire", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fire" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "fireTick", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fireTick" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "fireworks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fireworks" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "flyIntoWall", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "flyIntoWall" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "freezing", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "freezing" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "lava", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "lava" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "lightning", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "lightning" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "maceSmash", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "maceSmash" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "magic", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "magic" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "magma", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "magma" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "none" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "override", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "override" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "piston", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "piston" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "projectile", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "projectile" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ramAttack", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "ramAttack" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "selfDestruct", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "selfDestruct" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "sonicBoom", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "sonicBoom" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "soulCampfire", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "soulCampfire" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "stalactite", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "stalactite" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "stalagmite", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "stalagmite" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "starve", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "starve" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "suffocation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "suffocation" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "temperature", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "temperature" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "thorns", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "thorns" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "void", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "void" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "wither", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "wither" - } - ], - "name" : "EntityDamageCause" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Born", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Born" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Event", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Event" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Loaded", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Loaded" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Spawned", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Spawned" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Transformed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Transformed" - } - ], - "name" : "EntityInitializationCause" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Body", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Body" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Chest", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Chest" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Feet", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Feet" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Head", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Head" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Legs", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Legs" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Mainhand", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Mainhand" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Offhand", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Offhand" - } - ], - "name" : "EquipmentSlot" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Lava", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Lava" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Potion", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Potion" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "PowderSnow", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "PowderSnow" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Water", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Water" - } - ], - "name" : "FluidType" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "adventure", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "adventure" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "creative", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "creative" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "spectator", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "spectator" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "survival", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "survival" - } - ], - "name" : "GameMode" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "CommandBlockOutput", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "commandBlockOutput" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "CommandBlocksEnabled", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "commandBlocksEnabled" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoDayLightCycle", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doDayLightCycle" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoEntityDrops", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doEntityDrops" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoFireTick", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doFireTick" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoImmediateRespawn", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doImmediateRespawn" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoInsomnia", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doInsomnia" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoLimitedCrafting", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doLimitedCrafting" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoMobLoot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doMobLoot" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoMobSpawning", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doMobSpawning" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoTileDrops", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doTileDrops" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DoWeatherCycle", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "doWeatherCycle" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "DrowningDamage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "drowningDamage" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FallDamage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fallDamage" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FireDamage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "fireDamage" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FreezeDamage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "freezeDamage" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FunctionCommandLimit", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "functionCommandLimit" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "KeepInventory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "keepInventory" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MaxCommandChainLength", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "maxCommandChainLength" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "MobGriefing", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "mobGriefing" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NaturalRegeneration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "naturalRegeneration" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "PlayersSleepingPercentage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "playersSleepingPercentage" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ProjectilesCanBreakBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "projectilesCanBreakBlocks" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Pvp", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "pvp" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "RandomTickSpeed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "randomTickSpeed" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "RecipesUnlock", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "recipesUnlock" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "RespawnBlocksExplode", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "respawnBlocksExplode" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "SendCommandFeedback", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "sendCommandFeedback" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ShowBorderEffect", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "showBorderEffect" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ShowCoordinates", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "showCoordinates" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ShowDaysPlayed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "showDaysPlayed" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ShowDeathMessages", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "showDeathMessages" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ShowRecipeMessages", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "showRecipeMessages" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ShowTags", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "showTags" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "SpawnRadius", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "spawnRadius" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TntExplodes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "tntExplodes" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TntExplosionDropDecay", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "tntExplosionDropDecay" - } - ], - "name" : "GameRule" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "AirBubbles", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 9 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Armor", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Crosshair", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 4 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Health", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 6 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "HorseHealth", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 10 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Hotbar", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 5 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Hunger", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 8 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ItemText", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 12 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "PaperDoll", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ProgressBar", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 7 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "StatusEffects", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 11 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "ToolTips", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 2 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "TouchControls", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudElement" - }, - "value" : 3 - } - ], - "name" : "HudElement" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Hide", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudVisibility" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Reset", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "HudVisibility" - }, - "value" : 1 - } - ], - "name" : "HudVisibility" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Camera", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InputPermissionCategory" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Movement", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InputPermissionCategory" - }, - "value" : 2 - } - ], - "name" : "InputPermissionCategory" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Cooldown", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:cooldown" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Durability", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:durability" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Enchantable", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:enchantable" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Food", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:food" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Potion", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "minecraft:potion" - } - ], - "name" : "ItemComponentTypes" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "inventory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "inventory" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "none", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "none" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "slot", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "slot" - } - ], - "name" : "ItemLockMode" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "FirstQuarter", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 2 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FullMoon", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "LastQuarter", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 6 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NewMoon", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 4 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "WaningCrescent", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 3 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "WaningGibbous", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "WaxingCrescent", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 5 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "WaxingGibbous", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MoonPhase" - }, - "value" : 7 - } - ], - "name" : "MoonPhase" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Ascending", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ObjectiveSortOrder" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Descending", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ObjectiveSortOrder" - }, - "value" : 1 - } - ], - "name" : "ObjectiveSortOrder" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Black", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 15 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Blue", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 11 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Brown", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 12 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Cyan", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 9 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Gray", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 7 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Green", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 13 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "LightBlue", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 3 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Lime", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 5 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Magenta", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 2 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Orange", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 1 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Pink", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 6 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Purple", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 10 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Red", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 14 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Silver", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 8 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "White", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 0 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Yellow", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PaletteColor" - }, - "value" : 4 - } - ], - "name" : "PaletteColor" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Entity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Entity" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "FakePlayer", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "FakePlayer" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Player", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Player" - } - ], - "name" : "ScoreboardIdentityType" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Block", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Block" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Entity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Entity" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "NPCDialogue", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "NPCDialogue" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Server", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Server" - } - ], - "name" : "ScriptEventSource" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Back", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Back" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Front", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Front" - } - ], - "name" : "SignSide" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Blocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Blocks" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Layers", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Layers" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "None", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "None" - } - ], - "name" : "StructureAnimationMode" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "None", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "None" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "X", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "X" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "XZ", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "XZ" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Z", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Z" - } - ], - "name" : "StructureMirrorAxis" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "None", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "None" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Rotate180", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Rotate180" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Rotate270", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Rotate270" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Rotate90", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Rotate90" - } - ], - "name" : "StructureRotation" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Memory", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Memory" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "World", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "World" - } - ], - "name" : "StructureSaveMode" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Day", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - }, - "value" : 1000 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Midnight", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - }, - "value" : 18000 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Night", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - }, - "value" : 13000 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Noon", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - }, - "value" : 6000 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Sunrise", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - }, - "value" : 23000 - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Sunset", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TimeOfDay" - }, - "value" : 12000 - } - ], - "name" : "TimeOfDay" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Hang", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Hang" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "StackOverflow", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "StackOverflow" - } - ], - "name" : "WatchdogTerminateReason" - }, - { - "constants" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "Clear", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Clear" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Rain", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Rain" - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "Thunder", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "value" : "Thunder" - } - ], - "name" : "WeatherType" - } - ], - "errors" : [ - { - "name" : "BlockCustomComponentAlreadyRegisteredError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentAlreadyRegisteredError" - } - }, - { - "name" : "BlockCustomComponentReloadNewComponentError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentReloadNewComponentError" - } - }, - { - "name" : "BlockCustomComponentReloadNewEventError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentReloadNewEventError" - } - }, - { - "name" : "BlockCustomComponentReloadVersionError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponentReloadVersionError" - } - }, - { - "name" : "CommandError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CommandError" - } - }, - { - "name" : "CustomComponentInvalidRegistryError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentInvalidRegistryError" - } - }, - { - "name" : "CustomComponentNameError", - "properties" : [ - { - "is_read_only" : true, - "name" : "reason", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentNameErrorReason" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CustomComponentNameError" - } - }, - { - "name" : "EnchantmentLevelOutOfBoundsError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentLevelOutOfBoundsError" - } - }, - { - "name" : "EnchantmentTypeNotCompatibleError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeNotCompatibleError" - } - }, - { - "name" : "EnchantmentTypeUnknownIdError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentTypeUnknownIdError" - } - }, - { - "name" : "InvalidContainerSlotError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidContainerSlotError" - } - }, - { - "name" : "InvalidIteratorError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidIteratorError" - } - }, - { - "name" : "InvalidStructureError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "InvalidStructureError" - } - }, - { - "name" : "ItemCustomComponentAlreadyRegisteredError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentAlreadyRegisteredError" - } - }, - { - "name" : "ItemCustomComponentReloadNewComponentError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentReloadNewComponentError" - } - }, - { - "name" : "ItemCustomComponentReloadNewEventError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentReloadNewEventError" - } - }, - { - "name" : "ItemCustomComponentReloadVersionError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponentReloadVersionError" - } - }, - { - "name" : "LocationInUnloadedChunkError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationInUnloadedChunkError" - } - }, - { - "name" : "LocationOutOfWorldBoundariesError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LocationOutOfWorldBoundariesError" - } - }, - { - "name" : "UnloadedChunksError", - "properties" : [], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "UnloadedChunksError" - } - } - ], - "functions" : [], - "interfaces" : [ - { - "base_types" : [], - "name" : "BiomeSearchOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "boundingSize", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BiomeSearchOptions" - } - }, - { - "base_types" : [], - "name" : "BlockCustomComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "beforeOnPlayerPlace", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentPlayerPlaceBeforeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onEntityFallOn", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentEntityFallOnEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onPlace", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentOnPlaceEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onPlayerDestroy", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentPlayerDestroyEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onPlayerInteract", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentPlayerInteractEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onRandomTick", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentRandomTickEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onStepOff", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentStepOffEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onStepOn", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentStepOnEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onTick", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponentTickEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockCustomComponent" - } - }, - { - "base_types" : [], - "name" : "BlockEventOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "blockTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "permutations", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockEventOptions" - } - }, - { - "base_types" : [], - "name" : "BlockFillOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "blockFilter", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFilter" - } - } - }, - { - "is_read_only" : false, - "name" : "ignoreChunkBoundErrors", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFillOptions" - } - }, - { - "base_types" : [], - "name" : "BlockFilter", - "properties" : [ - { - "is_read_only" : false, - "name" : "excludePermutations", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "excludeTags", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "excludeTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "includePermutations", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockPermutation" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "includeTags", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "includeTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFilter" - } - }, - { - "base_types" : [], - "name" : "BlockHitInformation", - "properties" : [ - { - "is_read_only" : false, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : false, - "name" : "face", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : false, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockHitInformation" - } - }, - { - "base_types" : [], - "name" : "BlockRaycastHit", - "properties" : [ - { - "is_read_only" : false, - "name" : "block", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Block" - } - }, - { - "is_read_only" : false, - "name" : "face", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Direction" - } - }, - { - "is_read_only" : false, - "name" : "faceLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastHit" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockFilter" - } - ], - "name" : "BlockRaycastOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "includeLiquidBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "includePassableBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "maxDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockRaycastOptions" - } - }, - { - "base_types" : [], - "name" : "BoundingBox", - "properties" : [ - { - "is_read_only" : false, - "name" : "max", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : false, - "name" : "min", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BoundingBox" - } - }, - { - "base_types" : [], - "name" : "CameraDefaultOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "easeOptions", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraEaseOptions" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraDefaultOptions" - } - }, - { - "base_types" : [], - "name" : "CameraEaseOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "easeTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "easeType", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EasingType" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraEaseOptions" - } - }, - { - "base_types" : [], - "name" : "CameraFadeOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "fadeColor", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGB" - } - } - }, - { - "is_read_only" : false, - "name" : "fadeTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraFadeTimeOptions" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraFadeOptions" - } - }, - { - "base_types" : [], - "name" : "CameraFadeTimeOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "fadeInTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "fadeOutTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "holdTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraFadeTimeOptions" - } - }, - { - "base_types" : [], - "name" : "CameraFixedBoomOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "viewOffset", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector2" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraFixedBoomOptions" - } - }, - { - "base_types" : [], - "name" : "CameraSetFacingOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "easeOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraEaseOptions" - } - } - }, - { - "is_read_only" : false, - "name" : "facingEntity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - }, - { - "is_read_only" : false, - "name" : "location", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetFacingOptions" - } - }, - { - "base_types" : [], - "name" : "CameraSetLocationOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "easeOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraEaseOptions" - } - } - }, - { - "is_read_only" : false, - "name" : "location", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetLocationOptions" - } - }, - { - "base_types" : [], - "name" : "CameraSetPosOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "easeOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraEaseOptions" - } - } - }, - { - "is_read_only" : false, - "name" : "facingLocation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "is_read_only" : false, - "name" : "location", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetPosOptions" - } - }, - { - "base_types" : [], - "name" : "CameraSetRotOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "easeOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraEaseOptions" - } - } - }, - { - "is_read_only" : false, - "name" : "location", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - }, - { - "is_read_only" : false, - "name" : "rotation", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector2" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CameraSetRotOptions" - } - }, - { - "base_types" : [], - "name" : "CompoundBlockVolumeItem", - "properties" : [ - { - "is_read_only" : false, - "name" : "action", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeAction" - } - } - }, - { - "is_read_only" : false, - "name" : "locationRelativity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumePositionRelativity" - } - } - }, - { - "is_read_only" : false, - "name" : "volume", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockVolume" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "CompoundBlockVolumeItem" - } - }, - { - "base_types" : [], - "name" : "DefinitionModifier", - "properties" : [ - { - "is_read_only" : false, - "name" : "addedComponentGroups", - "type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "is_read_only" : false, - "name" : "removedComponentGroups", - "type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - }, - { - "is_read_only" : false, - "name" : "triggers", - "type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Trigger" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DefinitionModifier" - } - }, - { - "base_types" : [], - "name" : "DimensionLocation", - "properties" : [ - { - "is_read_only" : false, - "name" : "dimension", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - }, - { - "is_read_only" : false, - "name" : "x", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "y", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "z", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "DimensionLocation" - } - }, - { - "base_types" : [], - "name" : "Enchantment", - "properties" : [ - { - "is_read_only" : false, - "name" : "level", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "type", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EnchantmentType" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Enchantment" - } - }, - { - "base_types" : [], - "name" : "EntityApplyDamageByProjectileOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "damagingEntity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : false, - "name" : "damagingProjectile", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityApplyDamageByProjectileOptions" - } - }, - { - "base_types" : [], - "name" : "EntityApplyDamageOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "cause", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDamageCause" - } - }, - { - "is_read_only" : false, - "name" : "damagingEntity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityApplyDamageOptions" - } - }, - { - "base_types" : [], - "name" : "EntityDamageSource", - "properties" : [ - { - "is_read_only" : false, - "name" : "cause", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDamageCause" - } - }, - { - "is_read_only" : false, - "name" : "damagingEntity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - }, - { - "is_read_only" : false, - "name" : "damagingProjectile", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDamageSource" - } - }, - { - "base_types" : [], - "name" : "EntityDataDrivenTriggerEventOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "entities", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "entityTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "eventTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityDataDrivenTriggerEventOptions" - } - }, - { - "base_types" : [], - "name" : "EntityEffectOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "amplifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "showParticles", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEffectOptions" - } - }, - { - "base_types" : [], - "name" : "EntityEventOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "entities", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "entityTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityEventOptions" - } - }, - { - "base_types" : [], - "name" : "EntityFilter", - "properties" : [ - { - "is_read_only" : false, - "name" : "excludeFamilies", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "excludeGameModes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "excludeNames", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "excludeTags", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "excludeTypes", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "families", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "gameMode", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GameMode" - } - } - }, - { - "is_read_only" : false, - "name" : "maxHorizontalRotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "maxLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "maxVerticalRotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "minHorizontalRotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "minLevel", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "minVerticalRotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "propertyOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryPropertyOptions" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "scoreOptions", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryScoreOptions" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "tags", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "type", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFilter" - } - }, - { - "base_types" : [], - "name" : "EntityHitInformation", - "properties" : [ - { - "is_read_only" : false, - "name" : "entity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityHitInformation" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFilter" - } - ], - "name" : "EntityQueryOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "closest", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "farthest", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "location", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - }, - { - "is_read_only" : false, - "name" : "maxDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "minDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "volume", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryOptions" - } - }, - { - "base_types" : [], - "name" : "EntityQueryPropertyOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "exclude", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "propertyId", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - }, - { - "is_read_only" : false, - "name" : "value", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EqualsComparison" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GreaterThanComparison" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GreaterThanOrEqualsComparison" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LessThanComparison" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LessThanOrEqualsComparison" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "NotEqualsComparison" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RangeComparison" - } - ] - } - ] - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryPropertyOptions" - } - }, - { - "base_types" : [], - "name" : "EntityQueryScoreOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "exclude", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "maxScore", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "minScore", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "objective", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityQueryScoreOptions" - } - }, - { - "base_types" : [], - "name" : "EntityRaycastHit", - "properties" : [ - { - "is_read_only" : false, - "name" : "distance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "entity", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRaycastHit" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityFilter" - } - ], - "name" : "EntityRaycastOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "ignoreBlockCollision", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "includeLiquidBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "includePassableBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "maxDistance", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityRaycastOptions" - } - }, - { - "base_types" : [], - "name" : "EqualsComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "equals", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EqualsComparison" - } - }, - { - "base_types" : [], - "name" : "ExplosionOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "allowUnderwater", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "breaksBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "causesFire", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "source", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Entity" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ExplosionOptions" - } - }, - { - "base_types" : [], - "name" : "GreaterThanComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "greaterThan", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GreaterThanComparison" - } - }, - { - "base_types" : [], - "name" : "GreaterThanOrEqualsComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "greaterThanOrEquals", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "GreaterThanOrEqualsComparison" - } - }, - { - "base_types" : [], - "name" : "ItemCustomComponent", - "properties" : [ - { - "is_read_only" : false, - "name" : "onBeforeDurabilityDamage", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentBeforeDurabilityDamageEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onCompleteUse", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentCompleteUseEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onConsume", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentConsumeEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onHitEntity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentHitEntityEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onMineBlock", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentMineBlockEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onUse", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentUseEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - }, - { - "is_read_only" : false, - "name" : "onUseOn", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "closure_type" : { - "argument_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponentUseOnEvent" - } - ], - "return_type" : { - "is_bind_type" : false, - "is_errorable" : true, - "name" : "undefined" - } - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "closure" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemCustomComponent" - } - }, - { - "base_types" : [], - "name" : "LessThanComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "lessThan", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LessThanComparison" - } - }, - { - "base_types" : [], - "name" : "LessThanOrEqualsComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "lessThanOrEquals", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "LessThanOrEqualsComparison" - } - }, - { - "base_types" : [], - "name" : "MusicOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "fade", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "loop", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "volume", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "MusicOptions" - } - }, - { - "base_types" : [], - "name" : "NotEqualsComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "notEquals", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "NotEqualsComparison" - } - }, - { - "base_types" : [], - "name" : "PlayAnimationOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "blendOutTime", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "controller", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "nextState", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "players", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "stopExpression", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayAnimationOptions" - } - }, - { - "base_types" : [], - "name" : "PlayerSoundOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "location", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - }, - { - "is_read_only" : false, - "name" : "pitch", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "volume", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PlayerSoundOptions" - } - }, - { - "base_types" : [], - "name" : "PotionOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "effect", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionEffectType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - }, - { - "is_read_only" : false, - "name" : "liquid", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionLiquidType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - }, - { - "is_read_only" : false, - "name" : "modifier", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionModifierType" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "PotionOptions" - } - }, - { - "base_types" : [], - "name" : "ProjectileShootOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "uncertainty", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ProjectileShootOptions" - } - }, - { - "base_types" : [], - "name" : "RangeComparison", - "properties" : [ - { - "is_read_only" : false, - "name" : "lowerBound", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "upperBound", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RangeComparison" - } - }, - { - "base_types" : [], - "name" : "RawMessage", - "properties" : [ - { - "is_read_only" : false, - "name" : "rawtext", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - }, - { - "is_read_only" : false, - "name" : "score", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessageScore" - } - } - }, - { - "is_read_only" : false, - "name" : "text", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "translate", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "with", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - } - ] - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - } - }, - { - "base_types" : [], - "name" : "RawMessageScore", - "properties" : [ - { - "is_read_only" : false, - "name" : "name", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "objective", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessageScore" - } - }, - { - "base_types" : [], - "name" : "RawText", - "properties" : [ - { - "is_read_only" : false, - "name" : "rawtext", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "element_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawText" - } - }, - { - "base_types" : [], - "name" : "RGB", - "properties" : [ - { - "is_read_only" : false, - "name" : "blue", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "green", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "red", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGB" - } - }, - { - "base_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGB" - } - ], - "name" : "RGBA", - "properties" : [ - { - "is_read_only" : false, - "name" : "alpha", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RGBA" - } - }, - { - "base_types" : [], - "name" : "ScoreboardObjectiveDisplayOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "objective", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjective" - } - }, - { - "is_read_only" : false, - "name" : "sortOrder", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ObjectiveSortOrder" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScoreboardObjectiveDisplayOptions" - } - }, - { - "base_types" : [], - "name" : "ScriptEventMessageFilterOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "namespaces", - "type" : { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ScriptEventMessageFilterOptions" - } - }, - { - "base_types" : [], - "name" : "SpawnEntityOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "initialPersistence", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "SpawnEntityOptions" - } - }, - { - "base_types" : [], - "name" : "StructureCreateOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "includeBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "includeEntities", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "saveMode", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureSaveMode" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureCreateOptions" - } - }, - { - "base_types" : [], - "name" : "StructurePlaceOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "animationMode", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureAnimationMode" - } - } - }, - { - "is_read_only" : false, - "name" : "animationSeconds", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "includeBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "includeEntities", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "integrity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "integritySeed", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - } - }, - { - "is_read_only" : false, - "name" : "mirror", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureMirrorAxis" - } - } - }, - { - "is_read_only" : false, - "name" : "rotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructureRotation" - } - } - }, - { - "is_read_only" : false, - "name" : "waterlogged", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "StructurePlaceOptions" - } - }, - { - "base_types" : [], - "name" : "TeleportOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "checkForBlocks", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "dimension", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Dimension" - } - } - }, - { - "is_read_only" : false, - "name" : "facingLocation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - } - }, - { - "is_read_only" : false, - "name" : "keepVelocity", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "boolean" - } - } - }, - { - "is_read_only" : false, - "name" : "rotation", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector2" - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TeleportOptions" - } - }, - { - "base_types" : [], - "name" : "TitleDisplayOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "fadeInDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "fadeOutDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "stayDuration", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "int32", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "subtitle", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "element_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "variant", - "variant_types" : [ - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - }, - "is_bind_type" : false, - "is_errorable" : false, - "name" : "array" - }, - { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "RawMessage" - }, - { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "string" - } - ] - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "TitleDisplayOptions" - } - }, - { - "base_types" : [], - "name" : "Vector2", - "properties" : [ - { - "is_read_only" : false, - "name" : "x", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "y", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector2" - } - }, - { - "base_types" : [], - "name" : "Vector3", - "properties" : [ - { - "is_read_only" : false, - "name" : "x", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "y", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "z", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "Vector3" - } - }, - { - "base_types" : [], - "name" : "VectorXZ", - "properties" : [ - { - "is_read_only" : false, - "name" : "x", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - }, - { - "is_read_only" : false, - "name" : "z", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "VectorXZ" - } - }, - { - "base_types" : [], - "name" : "WorldSoundOptions", - "properties" : [ - { - "is_read_only" : false, - "name" : "pitch", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - }, - { - "is_read_only" : false, - "name" : "volume", - "type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "optional", - "optional_type" : { - "is_bind_type" : false, - "is_errorable" : false, - "name" : "float", - "valid_range" : { - "max" : 2147483647, - "min" : -2147483648 - } - } - } - } - ], - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "WorldSoundOptions" - } - } - ], - "minecraft_version" : "1.21.31", - "module_type" : "script", - "name" : "@minecraft/server", - "objects" : [ - { - "is_read_only" : true, - "is_static" : true, - "name" : "system", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "System" - } - }, - { - "is_read_only" : true, - "is_static" : true, - "name" : "world", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "World" - } - } - ], - "type_aliases" : [ - { - "alias_type" : "type_map", - "mappings" : [ - { - "name" : "minecraft:inventory", - "value" : "BlockInventoryComponent" - }, - { - "name" : "minecraft:piston", - "value" : "BlockPistonComponent" - }, - { - "name" : "minecraft:sign", - "value" : "BlockSignComponent" - }, - { - "name" : "minecraft:lavaContainer", - "value" : "BlockLavaContainerComponent" - }, - { - "name" : "minecraft:potionContainer", - "value" : "BlockPotionContainerComponent" - }, - { - "name" : "minecraft:snowContainer", - "value" : "BlockSnowContainerComponent" - }, - { - "name" : "minecraft:waterContainer", - "value" : "BlockWaterContainerComponent" - }, - { - "name" : "minecraft:record_player", - "value" : "BlockRecordPlayerComponent" - } - ], - "name" : "BlockComponentTypeMap", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "BlockComponent" - } - }, - { - "alias_type" : "type_map", - "mappings" : [ - { - "name" : "minecraft:addrider", - "value" : "EntityAddRiderComponent" - }, - { - "name" : "minecraft:ageable", - "value" : "EntityAgeableComponent" - }, - { - "name" : "minecraft:breathable", - "value" : "EntityBreathableComponent" - }, - { - "name" : "minecraft:cursor_inventory", - "value" : "PlayerCursorInventoryComponent" - }, - { - "name" : "minecraft:equippable", - "value" : "EntityEquippableComponent" - }, - { - "name" : "minecraft:healable", - "value" : "EntityHealableComponent" - }, - { - "name" : "minecraft:inventory", - "value" : "EntityInventoryComponent" - }, - { - "name" : "minecraft:item", - "value" : "EntityItemComponent" - }, - { - "name" : "minecraft:leashable", - "value" : "EntityLeashableComponent" - }, - { - "name" : "minecraft:tamemount", - "value" : "EntityTameMountComponent" - }, - { - "name" : "minecraft:npc", - "value" : "EntityNpcComponent" - }, - { - "name" : "minecraft:onfire", - "value" : "EntityOnFireComponent" - }, - { - "name" : "minecraft:projectile", - "value" : "EntityProjectileComponent" - }, - { - "name" : "minecraft:rideable", - "value" : "EntityRideableComponent" - }, - { - "name" : "minecraft:riding", - "value" : "EntityRidingComponent" - }, - { - "name" : "minecraft:strength", - "value" : "EntityStrengthComponent" - }, - { - "name" : "minecraft:tameable", - "value" : "EntityTameableComponent" - }, - { - "name" : "minecraft:type_family", - "value" : "EntityTypeFamilyComponent" - }, - { - "name" : "minecraft:can_climb", - "value" : "EntityCanClimbComponent" - }, - { - "name" : "minecraft:can_fly", - "value" : "EntityCanFlyComponent" - }, - { - "name" : "minecraft:can_power_jump", - "value" : "EntityCanPowerJumpComponent" - }, - { - "name" : "minecraft:fire_immune", - "value" : "EntityFireImmuneComponent" - }, - { - "name" : "minecraft:floats_in_liquid", - "value" : "EntityFloatsInLiquidComponent" - }, - { - "name" : "minecraft:is_baby", - "value" : "EntityIsBabyComponent" - }, - { - "name" : "minecraft:is_charged", - "value" : "EntityIsChargedComponent" - }, - { - "name" : "minecraft:is_chested", - "value" : "EntityIsChestedComponent" - }, - { - "name" : "minecraft:is_dyeable", - "value" : "EntityIsDyeableComponent" - }, - { - "name" : "minecraft:is_hidden_when_invisible", - "value" : "EntityIsHiddenWhenInvisibleComponent" - }, - { - "name" : "minecraft:is_ignited", - "value" : "EntityIsIgnitedComponent" - }, - { - "name" : "minecraft:is_illager_captain", - "value" : "EntityIsIllagerCaptainComponent" - }, - { - "name" : "minecraft:is_saddled", - "value" : "EntityIsSaddledComponent" - }, - { - "name" : "minecraft:is_shaking", - "value" : "EntityIsShakingComponent" - }, - { - "name" : "minecraft:is_sheared", - "value" : "EntityIsShearedComponent" - }, - { - "name" : "minecraft:is_stackable", - "value" : "EntityIsStackableComponent" - }, - { - "name" : "minecraft:is_stunned", - "value" : "EntityIsStunnedComponent" - }, - { - "name" : "minecraft:is_tamed", - "value" : "EntityIsTamedComponent" - }, - { - "name" : "minecraft:wants_jockey", - "value" : "EntityWantsJockeyComponent" - }, - { - "name" : "minecraft:color", - "value" : "EntityColorComponent" - }, - { - "name" : "minecraft:color2", - "value" : "EntityColor2Component" - }, - { - "name" : "minecraft:flying_speed", - "value" : "EntityFlyingSpeedComponent" - }, - { - "name" : "minecraft:friction_modifier", - "value" : "EntityFrictionModifierComponent" - }, - { - "name" : "minecraft:ground_offset", - "value" : "EntityGroundOffsetComponent" - }, - { - "name" : "minecraft:mark_variant", - "value" : "EntityMarkVariantComponent" - }, - { - "name" : "minecraft:push_through", - "value" : "EntityPushThroughComponent" - }, - { - "name" : "minecraft:scale", - "value" : "EntityScaleComponent" - }, - { - "name" : "minecraft:skin_id", - "value" : "EntitySkinIdComponent" - }, - { - "name" : "minecraft:variant", - "value" : "EntityVariantComponent" - }, - { - "name" : "minecraft:health", - "value" : "EntityHealthComponent" - }, - { - "name" : "minecraft:lava_movement", - "value" : "EntityLavaMovementComponent" - }, - { - "name" : "minecraft:movement.amphibious", - "value" : "EntityMovementAmphibiousComponent" - }, - { - "name" : "minecraft:movement.basic", - "value" : "EntityMovementBasicComponent" - }, - { - "name" : "minecraft:movement", - "value" : "EntityMovementComponent" - }, - { - "name" : "minecraft:movement.fly", - "value" : "EntityMovementFlyComponent" - }, - { - "name" : "minecraft:movement.generic", - "value" : "EntityMovementGenericComponent" - }, - { - "name" : "minecraft:movement.glide", - "value" : "EntityMovementGlideComponent" - }, - { - "name" : "minecraft:movement.hover", - "value" : "EntityMovementHoverComponent" - }, - { - "name" : "minecraft:movement.jump", - "value" : "EntityMovementJumpComponent" - }, - { - "name" : "minecraft:movement.skip", - "value" : "EntityMovementSkipComponent" - }, - { - "name" : "minecraft:movement.sway", - "value" : "EntityMovementSwayComponent" - }, - { - "name" : "minecraft:navigation.climb", - "value" : "EntityNavigationClimbComponent" - }, - { - "name" : "minecraft:navigation.float", - "value" : "EntityNavigationFloatComponent" - }, - { - "name" : "minecraft:navigation.fly", - "value" : "EntityNavigationFlyComponent" - }, - { - "name" : "minecraft:navigation.generic", - "value" : "EntityNavigationGenericComponent" - }, - { - "name" : "minecraft:navigation.hover", - "value" : "EntityNavigationHoverComponent" - }, - { - "name" : "minecraft:navigation.walk", - "value" : "EntityNavigationWalkComponent" - }, - { - "name" : "minecraft:underwater_movement", - "value" : "EntityUnderwaterMovementComponent" - } - ], - "name" : "EntityComponentTypeMap", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "EntityComponent" - } - }, - { - "alias_type" : "type_map", - "mappings" : [ - { - "name" : "minecraft:food", - "value" : "ItemFoodComponent" - }, - { - "name" : "minecraft:enchantable", - "value" : "ItemEnchantableComponent" - }, - { - "name" : "minecraft:durability", - "value" : "ItemDurabilityComponent" - }, - { - "name" : "minecraft:cooldown", - "value" : "ItemCooldownComponent" - }, - { - "name" : "minecraft:potion", - "value" : "ItemPotionComponent" - } - ], - "name" : "ItemComponentTypeMap", - "type" : { - "is_bind_type" : true, - "is_errorable" : false, - "name" : "ItemComponent" - } - } - ], - "uuid" : "b26a4d4c-afdf-4690-88f8-931846312678", - "version" : "2.0.0-alpha" -} diff --git a/src/flags/ts-declarations/ScriptModule.d.ts b/src/flags/ts-declarations/ScriptModule.d.ts new file mode 100644 index 0000000..9462eec --- /dev/null +++ b/src/flags/ts-declarations/ScriptModule.d.ts @@ -0,0 +1,98 @@ +//@ts-check +export interface MetadataDefinition { name: string; } +export interface MetadataTypedDefinition { type: MetadataType; } +export interface MetadataMemberDefinition extends MetadataDefinition { is_static: boolean; is_read_only: boolean } + +export type Range = {max: A, min: I}; +export type MetadataTypeName = ( + 'int8' | 'uint8' | 'int16' | 'uint16' |'int32' | 'uint32' | 'int64' | 'uint64' | 'float' | 'double' | + 'variant' | 'optional' | 'array' | 'closure' | 'promise' | 'generator' | 'map' | 'boolean' | 'string' | 'undefined' | 'this' | 'iterator' +); +export type MetadataTypeErrorable = {error_types: MetadataType[];}; +export type MetadataTypeBindable = {from_module: MetadataModuleBaseDefinition;}; +export type MetadataTypeNumber = {valid_range: Range}; +export type MetadataTypeVariant = {variant_types: MetadataType[]}; +export type MetadataTypeOptional = {optional_type: MetadataType}; +export type MetadataTypeArray = {element_type: MetadataType}; +export type MetadataTypeClosure = {closure_type: {argument_types: MetadataType[], return_type: MetadataType}}; +export type MetadataTypePromise = {promise_type: MetadataType}; +export type MetadataTypeIteratorResult = {iterator_result: MetadataType}; +export type MetadataTypeGenerator = {generator_type: {next_type: MetadataType, return_type: MetadataType, yield_type: MetadataType}}; +export type MetadataTypeMap = {key_type: MetadataType, value_type: MetadataType}; +export type BaseMetadataType = + MetadataTypeErrorable & + MetadataTypeBindable & + MetadataTypeNumber & + MetadataTypeVariant & + MetadataTypeOptional & + MetadataTypeArray & + MetadataTypeClosure & + MetadataTypePromise & + MetadataTypeGenerator & + MetadataTypeMap & + MetadataTypeIteratorResult; + +export type MetadataType = {is_bind_type: boolean, is_errorable: boolean, name: MetadataTypeName} & BaseMetadataType; +export type MetadataFunctionArgumentDetialsDefinition = null | ({default_value: unknow} | (Range & {default_value: unknow})) + + +export interface MetadataModuleBaseDefinition extends MetadataDefinition{ + version: string; + uuid: string; +} +export interface MetadataModuleDefinition extends MetadataModuleBaseDefinition{ + module_type: "script"; + dependencies: MetadataModuleBaseDefinition[]; + objects: MetadataObjectDefinition[]; + constants: MetadataConstantDefinition[]; + enums: MetadataEnumDefinition[] | null; + functions: MetadataFunctionDefinition[]; + classes: MetadataClassDefinition[]; + errors: MetadataErrorClassDefinition[]; + interfaces: MetadataInterfaceDefinition[]; + type_aliases: MetadataAliasDefinition[]; +} +export interface MetadataObjectDefinition extends MetadataMemberDefinition, MetadataTypedDefinition { } +export interface MetadataConstantDefinition extends MetadataObjectDefinition { value: unknown; } +export interface MetadataEnumDefinition extends MetadataDefinition {constants: MetadataConstantDefinition[]; } +export interface MetadataPropertyMemberDefinition extends MetadataMemberDefinition, MetadataTypedDefinition { + privilege: "read_only" | "none"; +} + +export interface MetadataFunctionArgumentDefinition extends MetadataDefinition, MetadataTypedDefinition{ + details: MetadataFunctionArgumentDetialsDefinition; +} +export interface MetadataFunctionDefinition extends Omit { + arguments: MetadataFunctionArgumentDefinition[]; + is_constructor: boolean; + privilege: "read_only" | "none"; + return_type: MetadataType; +} + +export interface MetadataClassDefinition extends MetadataDefinition, MetadataTypedDefinition{ + base_types: MetadataType[]; + constants: MetadataConstantDefinition[]; + functions: MetadataFunctionDefinition[]; + properties: MetadataPropertyMemberDefinition[]; + iterator?: MetadataType; +} +export interface MetadataErrorClassDefinition extends MetadataDefinition, MetadataTypedDefinition{ + properties: MetadataPropertyMemberDefinition[]; +} +export interface MetadataInterfaceDefinition extends MetadataDefinition, MetadataTypedDefinition{ + base_types: MetadataType[]; + properties: MetadataPropertyMemberDefinition[]; +} + +export type MetadataAliasMapEntry = {name: string, value: string}; +export interface MetadataAliasDefinition extends MetadataDefinition, MetadataTypedDefinition{ + alias_type: "type_map"; + mappings: MetadataAliasMapEntry[]; + s: IteratorConstructor +} + +declare global{ + interface IteratorObject{ + offset(next: T, onLast: (l: T)=>T): Generator; + } +} \ No newline at end of file diff --git a/src/flags/ts-declarations/collection.js b/src/flags/ts-declarations/collection.js deleted file mode 100644 index f592284..0000000 --- a/src/flags/ts-declarations/collection.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * @template {import("./general").ScriptMetadataKind} T - * @extends {Map} - */ -export class ScriptMetadataKindCollection extends Map { - /** - * - * @param {string | import("./general").ScriptMetadataKind} key - */ - has(key){ - return typeof key === "object"?super.has(key.name):super.has(key); - } - /** - * - * @param {T} value - */ - add(value){ - return super.set(value.name, value); - } -} \ No newline at end of file diff --git a/src/flags/ts-declarations/consts-objects.js b/src/flags/ts-declarations/consts-objects.js deleted file mode 100644 index 5ba2f49..0000000 --- a/src/flags/ts-declarations/consts-objects.js +++ /dev/null @@ -1,34 +0,0 @@ -import { TypedScriptMeradataKind } from "./general"; -import { ScriptMetadataType } from "./script-types"; - -export class ObjectScriptMetadataKind extends TypedScriptMeradataKind{ - /** - * - * @param {string} name - * @param {ScriptMetadataType} type - * @param {boolean} [isReadOnly] - * @param {boolean} [isStatic] - */ - constructor(name, type, isReadOnly = true, isStatic = true){ - super(name, type); - this.isReadOnly = isReadOnly; - this.isStatic = isStatic; - } -} -export class ConstantScriptMetadataKind extends ObjectScriptMetadataKind{ - /** - * @protected - * @param {string} name - * @param {ScriptMetadataType} type - * @param {boolean} [isReadOnly] - * @param {boolean} [isStatic] - * @param {unknown} value - */ - constructor(name, type, value, isReadOnly = true, isStatic = true){ - super(name, type, isReadOnly, isStatic); - this.value = value; - } -} -export class ConstantEntryScriptMeradataKind extends ConstantScriptMetadataKind{ - -} \ No newline at end of file diff --git a/src/flags/ts-declarations/general.js b/src/flags/ts-declarations/general.js deleted file mode 100644 index 4d26a7c..0000000 --- a/src/flags/ts-declarations/general.js +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @typedef {import("./script-types.js").ScriptMetadataType} ScriptMetadataType - */ - -export class ScriptMetadataKind { - /** - * @param {string} name - */ - constructor(name){ - this.name = name - } -} -export class TypedScriptMeradataKind extends ScriptMetadataKind { - /** - * @param {string} name - * @param {ScriptMetadataType} type - */ - constructor(name, type){ - super(name); - this.type = type; - } -} \ No newline at end of file diff --git a/src/flags/ts-declarations/loader.js b/src/flags/ts-declarations/loader.js deleted file mode 100644 index 48078c7..0000000 --- a/src/flags/ts-declarations/loader.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ModuleDependencyScriptMetadataKind, ModuleScriptMetadataKind } from "./script-module"; -/** - * @typedef {import("../server_2.0.0-alpha.json")} RawJsonModule - */ - -/** - * @param {RawJsonModule} rModule - * @returns {ModuleScriptMetadataKind} - */ -export function ScriptModuleLoader(rModule){ - const m = new ModuleScriptMetadataKind(rModule.name, rModule.uuid, rModule.version); - - // Load Dependencies - rModule.dependencies.forEach(e=>m.dependencies.add(ScriptModuleDependencyLoader(e))); - - return m; -} - -/** - * @param {RawJsonModule["dependencies"][number]} dependency - * @returns {ModuleDependencyScriptMetadataKind} - */ -export function ScriptModuleDependencyLoader(dependency){ - return new ModuleDependencyScriptMetadataKind(dependency.name, dependency.uuid, dependency.version); -} \ No newline at end of file diff --git a/src/flags/ts-declarations/printers.js b/src/flags/ts-declarations/printers.js new file mode 100644 index 0000000..e097835 --- /dev/null +++ b/src/flags/ts-declarations/printers.js @@ -0,0 +1,334 @@ +/** + * @import * as MD from "./ScriptModule.d.ts"; + * @typedef {IterableIterator} PrintableIterator + */ + +export class BaseContext{ + /** + * @type {{[key: string]: string}} + */ + dependencies = {}; + index = 0; + recursionLevel = 0; + space = " "; + +/** + * + * @param {MD.MetadataModuleBaseDefinition} dependency + */ + getModuleName(dependency){ + return this.dependencies[dependency.name]??(this.dependencies[dependency.name] = "_" + (((++this.index)<<4) | ((this.index ^ (this.index*31))&0xf)).toString(16)); + } + /** + * + * @param {IteratorObject} formatable + */ + formater(formatable){ + return formatable.map(data=>this.space + data); + } +} + +/** + * @param {MD.MetadataModuleDefinition} data + * @returns {Generator} + */ +export function * Printer(data){ + for(const p of PrintModule(data)){ + if(typeof p === "string") yield p; + else yield * Printable(p); + yield "\n"; + } +} + +/** + * @param {IterableIterator} iterator + * @returns {Generator} + */ +function * Printable(iterator){ + for(const p of iterator){ + if(typeof p === "string") yield p; + else yield * Printable(p); + } +} +/** + * @param {MD.MetadataModuleDefinition} data + * @returns {Generator | string>} + */ +function * PrintModule(data){ + const context = new BaseContext(); + yield * data.dependencies.map(e=>PrintDependency(e, context)); + + yield "\n// Enums - " + (data.enums?.length??0); + yield * data.enums?.map(e=>PrintEnum(e, context))??[]; + yield "\n// Interfaces - " + (data.interfaces?.length??0); + yield * data.interfaces.map(e=>PrintInterface(e, context)); + yield "\n// Classes - " + (data.classes?.length??0); + yield * data.classes.map(e=>PrintClass(e, context)); + yield "\n// Constants & Objects - " + (data.constants.length + data.objects.length); + yield * data.constants.map(e=>PrintConst(e, context)); + // Just basic line space + yield ""; + yield * data.objects.map(e=>PrintObject(e, context)); + yield "\n// Functions - " + data.functions.length; + yield * data.functions.map(e=>PrintFunction(e, context)); + yield "\n// Errors - " + data.errors.length; + yield * data.errors.map(e=>PrintError(e, context)); +} + +/** + * @param {string} property + */ +function propertName(property){ + try { + eval(`class S { ${property}(){} }`); + return property; + } catch (error) { + console.log("Keyword fix for: " + property); + return `'${property}'`; + } +} +/** + * @param {MD.MetadataModuleBaseDefinition} data + * @param {BaseContext} context + */ +function * PrintDependency(data, context){ + yield `import * as ${context.getModuleName(data)} from '${data.name}';`; +} + +/** + * + * @param {MD.MetadataObjectDefinition} data + * @param {BaseContext} context + */ +function * PrintObject(data, context){ + yield `export ${data.is_read_only?"const":"let"} ${data.name}: ${TypePrinter(data.type, context)};`; +} + +/** + * + * @param {MD.MetadataConstantDefinition} data + * @param {BaseContext} context + */ +function * PrintConst(data, context){ + yield`export ${data.is_read_only?"const":"let"} ${data.name} = ${ToLiteral(data.value)};`; +} + +/** + * + * @param {MD.MetadataInterfaceDefinition} data + * @param {BaseContext} context + */ +function * PrintInterface(data, context){ + yield `export interface ${data.name} ${(data.base_types?.length??0) > 0?`extends ${data.base_types.map(t=>TypePrinter(t, context, false, false)).join(", ")}`:""}{ ${data.properties.map(p=>InterfaceProperty(p, context)).join("; ")}};`; +} +/** + * @param {MD.MetadataPropertyMemberDefinition} data + * @param {BaseContext} context + */ +function InterfaceProperty(data, context){ + if(data.type.name === "optional"){ + return `${data.is_read_only?"readonly ":""}${propertName(data.name)}?: ${TypePrinter(data.type.optional_type, context, true, false)}`; + }else{ + return `${data.is_read_only?"readonly ":""}${propertName(data.name)}: ${TypePrinter(data.type, context, true, false)}`; + } +} + +/** + * + * @param {Partial> & Pick} object + * @returns {MD.MetadataType} + */ +function createType(object){ + //@ts-ignore + return object; +} +/** + * + * @param {MD.MetadataErrorClassDefinition} data + * @param {BaseContext} context + */ +function * PrintError(data, context){ + let hadConstructor = false; + const content = [ + ...data.properties.map(p=>ClassProperty(p, context)), + ...(hadConstructor?[]:["private constructor()"]) + ]; + yield `export class ${data.name} extends Error{ ${ + content.join("; ") + (content.length > 0 ? ";":"") + }};`; +} +/** + * + * @param {MD.MetadataClassDefinition} data + * @param {BaseContext} context + */ +function * PrintClass(data, context){ + let hadConstructor = false; + if(data.iterator){ + data.functions.push({ + arguments:[], + is_constructor: false, + is_static: false, + name: "next", + privilege: "read_only", + return_type: createType({ + is_bind_type: false, + is_errorable: data.iterator.is_errorable, + name: "iterator", + iterator_result: data.iterator.optional_type?data.iterator.optional_type:data.iterator + }) + }); + data.functions.push({ + arguments:[], + is_constructor: false, + is_static: false, + name: "[Symbol.iterator]", + privilege: "read_only", + return_type: createType({ + is_bind_type: false, + is_errorable: false, + name: "this" + }) + }); + } + const content = [ + ...data.constants.map(p=>ClassConstant(p, context)), + ...data.properties.map(p=>ClassProperty(p, context)), + ...data.functions.map(p=>{ + if(p.is_constructor) hadConstructor = true; + return ClassMethod(p, context); + }), + ...(hadConstructor?[]:["private constructor()"]) + ]; + if((data.base_types.length??0)>0) yield "//@ts-ignore extending for classes with private constructor is possible with native API\n" + yield `export class ${data.name} ${(data.base_types?.length??0) > 0?`extends ${data.base_types.map(t=>TypePrinter(t, context, false, false)).join(", ")}`:""}{ ${ + content.join("; ") + (content.length > 0 ? ";":"") + }};`; +} +/** + * @param {MD.MetadataFunctionDefinition} data + * @param {BaseContext} context + */ +function ClassMethod(data, context){ + let text = "public "; + if(data.is_static) text += "static "; + text += `${propertName(data.name)}(${data.arguments.map(e=>PrintArgument(e, context)).join(", ")})`; + + if(!data.is_constructor) text += ": "+ TypePrinter(data.return_type, context, false, true); + return text; +} +/** + * @param {MD.MetadataPropertyMemberDefinition} data + * @param {BaseContext} context + */ +function ClassProperty(data, context){ + let text = "public "; + if(data.is_static) text += "static "; + if(data.is_read_only) text += "readonly " + text += propertName(data.name); + if(data.type.optional_type) text += "?"; + text += ": "+ TypePrinter(data.type.optional_type??data.type, context, true, false); + return text; +} +/** + * @param {MD.MetadataConstantDefinition} data + * @param {BaseContext} context + */ +function ClassConstant(data, context){ + let text = "public "; + if(data.is_static) text += "static "; + if(data.is_read_only) text += "readonly " + text += `${propertName(data.name)} = ${ToLiteral(data.value)}`; + return text; +} +/** + * + * @param {MD.MetadataEnumDefinition} data + * @param {BaseContext} context + */ +function * PrintEnum(data, context){ + const test = `export enum ${data.name} { ${data.constants.map(e=>`${propertName(e.name)} = ${ToLiteral(e.value)}`).join(", ")}};`; + yield test; +} +/** + * @param {MD.MetadataFunctionDefinition} data + * @param {BaseContext} context + */ +function * PrintFunction(data, context){ + const test = `export function ${data.name}(${data.arguments.map(a=>PrintArgument(a, context)).join(", ")}): ${TypePrinter(data.return_type, context, false, true)}`; + yield test; +} +/** + * @param {MD.MetadataFunctionArgumentDefinition} data + * @param {BaseContext} context + */ +function PrintArgument(data, context){ + return `${data.name}${"default_value" in (data.details??{})?"?":""}: ${TypePrinter(data.type.name === "optional"?data.type.optional_type:data.type, context, true, false)}`; +} + +/** + * + * @param {MD.MetadataType} data + * @param {BaseContext} context + * @returns {string} + */ +function TypePrinter(data, context, safeContext = true, isReturnType = false){ + if(data.is_bind_type){ + return `${data.from_module?context.getModuleName(data.from_module) + ".":""}${data.name}`; + } + + switch (data.name) { + case "array": return `${data.element_type.name == "undefined"?"never":TypePrinter(data.element_type, context, false, false)}[]`; + case "boolean": return data.name; + case "string": return data.name; + case "this": return data.name; + case "undefined": return isReturnType?"void":"undefined"; + case "generator": + return `Generator<${ + TypePrinter(data.generator_type.next_type, context)}${ + (data.generator_type.return_type.name != "undefined" || data.generator_type.yield_type.name != "undefined" )?", " + TypePrinter(data.generator_type.return_type, context, true, true):""}${ + (data.generator_type.yield_type.name != "undefined")?", " + TypePrinter(data.generator_type.yield_type, context, true, false):"" + }>`; + case "optional": return safeContext?`${TypePrinter(data.optional_type, context, true, isReturnType)} | undefined`:`(${TypePrinter(data.optional_type, context, true, isReturnType)} | undefined)`; + case "promise": return `Promise<${TypePrinter(data.promise_type, context, true, isReturnType)}>`; + case "iterator": return `IteratorResult<${TypePrinter(data.iterator_result, context, true, false)}>`; + case "variant": return safeContext?`${data.variant_types.map(s=>TypePrinter(s, context, true, isReturnType)).join(" | ")}`:`(${data.variant_types.map(s=>TypePrinter(s, context, true, isReturnType)).join(" | ")})` + case "map": return `Record<${TypePrinter(data.key_type, context, true, false)},${TypePrinter(data.value_type, context, true, false)}>`; + case "closure": return `(${data.closure_type.argument_types.map((s, i)=>`arg${i}${s.optional_type?`?: ${TypePrinter(s.optional_type, context, true, false)}`:`: ${TypePrinter(s, context, true, false)}`}`).join(", ")})=>${TypePrinter(data.closure_type.return_type, context, false, true)}`; + case "uint8": + case "uint16": + case "uint32": + case "uint64": + case "int8": + case "int16": + case "int32": + case "int64": + case "double": + case "float": + return 'number'; + default: + return "unknown"; + } +} +/** + * + * @param {any} data + * @returns + */ +function ToLiteral(data){ + return typeof data === "string"?`${JSON.stringify(data)}`:data; +} +/** + * + * @param {string} next + * @param {IterableIterator} iterator + * @param {(p: string)=>string} onLast + * @param {BaseContext} context + */ +function * PrinterHelper(iterator, next, onLast, context){ + for(const v of iterator) { + yield next; + next = v; + } + yield onLast(next); +} diff --git a/src/flags/ts-declarations/script-module.js b/src/flags/ts-declarations/script-module.js deleted file mode 100644 index ecffee2..0000000 --- a/src/flags/ts-declarations/script-module.js +++ /dev/null @@ -1,87 +0,0 @@ -import { ScriptMetadataKindCollection } from "./collection"; -import { ScriptMetadataKind } from "./general"; -import ts, {factory} from "typescript"; - -export class Context { - constructor(){ - this.idnex = 0; - /** - * @type {{[key: string]: string}} - */ - this.aliases = {}; - } - newAlias(){ - const ali = (this.idnex++).toString(16); - return ali.length>1?ali:"0"+ali; - } - /** - * - * @param {ModuleDependencyScriptMetadataKind} m - */ - getModuleAlias(m){ - return this.aliases[m.name] = this.aliases[m.name]??this.newAlias(); - } -} - -export class ModuleDependencyScriptMetadataKind extends ScriptMetadataKind { - /** - * @param {string} name - * @param {string} uuid - * @param {string} version - */ - constructor(name, uuid, version){ - super(name); - this.uuid = uuid; - this.version = version; - } - /** - * - * @param {Context} context - */ - factoryBuild(context){ - factory.createImportDeclaration( - undefined, - factory.createImportClause( - false, - undefined, - factory.createNamespaceImport(factory.createIdentifier(context.getModuleAlias(this))) - ), - factory.createStringLiteral(this.name), - undefined - ) - } -} - -export class ModuleScriptMetadataKind extends ModuleDependencyScriptMetadataKind{ - /** - * @param {string} name - * @param {string} uuid - * @param {string} version - */ - constructor(name, uuid, version){ - super(name, uuid, version); - } - - /** - * @type {ScriptMetadataKindCollection} - */ - dependencies = new ScriptMetadataKindCollection(); - /** - * @type {ScriptMetadataKindCollection} - */ - objects = new ScriptMetadataKindCollection(); - /** - * @type {ScriptMetadataKindCollection} - */ - constants = new ScriptMetadataKindCollection(); - - /** - * - * @param {Context} context - */ - factoryBuild(context){ - return [ - [...this.dependencies.values()].map(e=>e.factoryBuild(context)) - ]; - } -} \ No newline at end of file diff --git a/src/flags/ts-declarations/script-types.js b/src/flags/ts-declarations/script-types.js deleted file mode 100644 index 154199d..0000000 --- a/src/flags/ts-declarations/script-types.js +++ /dev/null @@ -1,26 +0,0 @@ -import { ScriptMetadataKind } from "./general"; - -export class ScriptMetadataType extends ScriptMetadataKind{ - /** - * - * @param {string} name - * @param {ScriptMetadataType[]} [errorTypes] - */ - constructor(name, errorTypes = []){ - super(name); - this.errorTypes = errorTypes; - } - get isErrorable(){return this.errorTypes.length > 0;} -} -export class BindableScriptMetadataType extends ScriptMetadataType{ - /** - * - * @param {string} name - * @param {import("./script-module.js").ModuleDependencyScriptMetadataKind} scriptModule - * @param {ScriptMetadataType[]} [errorTypes] - */ - constructor(name, scriptModule, errorTypes = []){ - super(name, errorTypes); - this.scriptModele = scriptModule; - } -} \ No newline at end of file diff --git a/src/flags/ts-declarations/test.js b/src/flags/ts-declarations/test.js index 1b15e3e..144a49c 100644 --- a/src/flags/ts-declarations/test.js +++ b/src/flags/ts-declarations/test.js @@ -1,3 +1,39 @@ -export function MainEntry(){ - console.log("Should test the metadata loading"); +import { createWriteStream, readFileSync } from "node:fs"; +import { basename, resolve, } from "node:path"; +import { Printer } from "./printers.js"; + +export async function MainEntry(){ + + const path = `D:/Resources/Programming/Github/bds-docs/bin/bds/docs/script_modules/@minecraft/server-gametest_2.0.0-alpha.json`; + const data = Printer(JSON.parse(readFileSync(resolve(import.meta.dirname, path)).toString())); + + const stream = createWriteStream("./" + basename(path, ".json") + ".d.ts", {autoClose: true}); + + for(const chunk of data) { + process.stdout.write(chunk); + await new Promise((res,rej)=>stream.write(chunk,(s)=>s?rej(s):res(s))); + } + console.log(); + stream.end(); + + +/* + const p = createPrinter({ removeComments: true}); + + const m = ScriptModuleLoader(); + const src =createSourceFile("output.d.ts", "", ScriptTarget.ES2022); + + + const nodes = m.factoryBuild(new Context(m)); + + + //console.log(p.printNode(EmitHint.Unspecified, new EnumScriptMetadataKind("Test").factoryBuild(new Context(m)), src)); + + let test = ""; + + for(const node of nodes){ + test += p.printNode(EmitHint.Unspecified, node, src).replaceAll(/\n(\s+|)/g,"") + "\r\n"; + } + + writeFileSync("./test.d.ts", test);*/ } \ No newline at end of file diff --git a/src/main.js b/src/main.js index 90578f1..afa7e25 100644 --- a/src/main.js +++ b/src/main.js @@ -5,6 +5,7 @@ import { writeFile } from "node:fs/promises"; import { SaveWorkspaceContent } from "./content_saver.js"; import { resolve } from "node:path"; import { GENERATOR_FLAGS } from "./flags/index.js"; +import { MainEntry } from "./flags/ts-declarations/test.js"; let performanceTime = Date.now(); // Calling Main EntryPont Main() @@ -23,6 +24,8 @@ Main() */ async function Main(){ + await MainEntry(); + return 0; // Fetch Current BDS Versions const versions = await FetchBDSVersions().catch(console.error); if(!versions) { diff --git a/src/old_reference/d.tsGenerator.js b/src/old_reference/d.tsGenerator.js new file mode 100644 index 0000000..986fde2 --- /dev/null +++ b/src/old_reference/d.tsGenerator.js @@ -0,0 +1,309 @@ +//@ts-nocheck +const randomAliaes = []; +for(let i = 0, id = "00"; i <255; i++, id = i.toString(16)) randomAliaes.push("_" + (id.length<2?id + "0":id)); +class ScriptModule{ + constructor(base){ + const { + classes=[], + constants=[], + dependencies=[], + enums=[], + errors=[], + functions=[], + interfaces=[], + minecraft_version, + module_type, + name, + objects=[], + uuid, + version + } = base; + this.name = name; + this.uuid = uuid; + this.version = version; + this.type = module_type; + this.engine = minecraft_version; + this.constants = constants?.map(e=>new ModuleConstant(e))??[]; + this.objects = objects?.map(e=>new ModuleObject(e))??[]; + this.enums = enums?.map(e=>new ModuleEnum(e))??[]; + this.interfaces = interfaces?.map(e=>new ModuleInterface(e))??[]; + this.errors = errors?.map(e=>new ModuleError(e))??[]; + this.functions = functions?.map(e=>new ModuleFunction(e))??[]; + this.classes = classes?.map(e=>new ModuleClass(e))??[]; + this.dependencies = {}; + this.dependenciesNames = []; + dependencies.forEach((e,i)=>{e.AKA = randomAliaes[i];this.dependencies[e.name] = e; this.dependenciesNames.push(e.name)}); + } + /**@type {ModuleConstant[]} */ + constants; + toString(){ + const array = []; + this.dependenciesNames.forEach(e=>array.push(`import * as ${this.dependencies[e].AKA} from '${e}';`)); + this.enums.forEach(e=>{array.push(e.exportFrom(this));}); + this.classes.forEach(e=>{array.push(e.exportFrom(this));}); + this.functions.forEach(e=>{array.push(e.exportFrom(this));}); + this.interfaces.forEach(e=>{array.push(e.exportFrom(this));}); + this.errors.forEach(e=>{array.push(e.exportFrom(this));}); + this.constants.forEach(e=>{array.push(e.exportFrom(this));}); + this.objects.forEach(e=>{array.push(e.exportFrom(this));}); + this.functions.forEach(e=>{array.push(e.exportFrom(this));}); + return array.join("\n"); + } + getModuleReference(name){ + return this.dependencies[name].AKA; + throw new Error("No implementation error lol"); + } +} +module.exports = { + ScriptModule +} + + + + +//////////////////////////////////////////////////////////////////// +////////////////////////////////////////////////////// Types +//////////////////////////////////////////////////////////////////// +class Type{ + constructor(type){ + const { + is_bind_type, + is_errorable, + name + } = type; + this.name = name; + this.isBindType = is_bind_type; + this.isErrorable = is_errorable; + if(this.isErrorable){ + this.errorTypes = type?.error_types?.map(e=>TypeResolver(e))??[]; + } + } + toString(m){console.warn("never type!",this.name); return "never";} + fromValue(m,v){return this.toString(m)} +} +class StringType extends Type{toString(m){return "string";}; fromValue(m,v){return `"${v}"`;}} +class NumberType extends Type{toString(m){return "number";}; fromValue(m,v){return `${v}`;}} +class BooleanType extends Type{toString(m){return "boolean";}; fromValue(m,v){return `${v}`;}} + +class AnyType extends Type{toString(m){return "any"}} +class UndefinedType extends Type{toString(m){return this.isReturnType?"void":"undefined"}} +class ComplexType extends Type{ + constructor(type,complexProperty){ + super(type); + this.type = TypeResolver(type[complexProperty]); + } +} +class RecordType extends Type{ + constructor(data){ + super(data); + this.keyType = TypeResolver(data.key_type); + this.valueType = TypeResolver(data.value_type); + } + toString(m){return `Record<${this.keyType.toString(m)},${this.valueType.toString(m)}>`;} +} +class PromiseType extends ComplexType{ + constructor(type){ + super(type,"promise_type"); + } + toString(m){return `Promise<${this.type.toString(m)}>`} +} +class GeneratorType extends Type{ + constructor(type){ + super(type); + this.nextType = TypeResolver(type.generator_type.next_type); + this.returnType = TypeResolver(type.generator_type.return_type); + this.yieldType = TypeResolver(type.generator_type.yield_type); + } + toString(m){return `Generator<${this.nextType.toString(m)},${this.returnType.toString(m)},${this.yieldType.toString(m)}>`} +} +class ClosureType extends Type{ + constructor(data){ + super(data); + data = data.closure_type; + this.argumentTypes = data.argument_types.map(a=>TypeResolver(a)); + this.returnType = TypeResolver(data.return_type); + } + toString(m){return `(${this.argumentTypes.map((a,i)=>`arg${i}${a instanceof OptionalType?"?":""}: ${a.toString(m)}`)})=>${this.returnType.toString(m)}`} +} +class OptionalType extends ComplexType{ + constructor(type){ + super(type,"optional_type"); + } + toString(m){return this.type.toString(m);} +} +class BindType extends Type{ + constructor(type){ + super(type); + this.isFromModule = "from_module" in type; + this.fromModule = type.from_module; + } + toString(m){ + if(this.fromModule) return `${m.getModuleReference(this.fromModule.name)}.${this.name}`; + return this.name; + } +} +class VariantType extends Type{ + constructor(type){ + super(type); + this.types = type.variant_types.map(e=>TypeResolver(e)); + } + toString(m){return "(" + this.types.map(e=>e.toString(m)).join(" | ") + ")";} +} +class ArrayType extends ComplexType{ + constructor(type){ + super(type,"element_type"); + } + toString(m){return this.type.toString(m) + "[]";} +} +function TypeResolver(type){ + const { + is_bind_type, + name + } = type; + if(is_bind_type) return new BindType(type); + if(name in KnownTypeContructors) return new KnownTypeContructors[name](type); + return new Type(type); +} +const KnownTypeContructors = { + 'string':StringType, + 'int8':NumberType, + 'int16':NumberType, + 'int32':NumberType, + 'int64':NumberType, + 'uint8':NumberType, + 'uint16':NumberType, + 'uint32':NumberType, + 'uint64':NumberType, + 'float':NumberType, + 'double':NumberType, + 'boolean':BooleanType, + 'number':NumberType, + 'optional':OptionalType, + 'array':ArrayType, + 'variant':VariantType, + 'closure':ClosureType, + 'undefined':UndefinedType, + 'promise':PromiseType, + 'generator':GeneratorType, + 'map':RecordType, + 'any':AnyType, +} + + +function safePropertyName(n){ + if(n === 'type') return `'type'`; + if(n.includes(".")) return `'${n}'`; + return n; +} +//////////////////////////////////////////////////////////////////// +////////////////////////////////////////////// Module Member +//////////////////////////////////////////////////////////////////// +class ModuleMember { + constructor(data){ + this.name = data.name; + } +} +class ModuleMemberHasProperties extends ModuleMember { + constructor(data){ + super(data); + this.properties = data.properties.map(e=>new ModuleProperty(e)); + } +} +class ModuleEnum extends ModuleMember{ + constructor(data){ + super(data); + this.constants = data.constants.map(e=>new ModuleConstant(e)); + } + exportFrom(m){ + return `export enum ${this.name} {${this.constants.length?`${this.constants.map(e=>`${safePropertyName(e.name)} = ${e.toString(m)}`).join(", ")}`:" "}}`; + } +} +class ModuleInterface extends ModuleMemberHasProperties{ + exportFrom(m){return `export interface ${this.name} {${this.properties.length?`${this.properties.map(e=>`${e.isStatic?"static ":""}${e.isReadOnly?"readonly ":""}${safePropertyName(e.name)}${e.type instanceof OptionalType?"?":""}: ${e.type.toString(m)}`).join("; ")};`:" "}}`;} +} +class ModuleError extends ModuleMemberHasProperties{ + exportFrom(m){return `export class ${this.name} extends Error { private constructor()${this.properties.length?`, ${this.properties.map(e=>`${e.isStatic?"static ":""}${e.isReadOnly?"readonly ":""}${safePropertyName(e.name)}${e.type instanceof OptionalType?"?":""}: ${e.type.toString(m)}`).join(", ")}`:" "}}`} +} +class ModuleValue extends ModuleMember{ + constructor(data){ + super(data); + this.isStatic = data.is_static; + this.isReadOnly = data.is_read_only??false; + } +} +class ModuleObject extends ModuleValue{ + constructor(data){ + super(data); + this.type = TypeResolver(data.type); + } + exportFrom(m){return `export ${this.isReadOnly?"const":"var"} ${this.name}: ${this.type.toString(m)};`} +}; +class ModuleConstant extends ModuleValue{ + constructor(data){ + super(data); + this.value = data.value; + this.type = TypeResolver(data.type); + } + toString(m){ return KnownTypeContructors[typeof this.value].prototype.fromValue(m,this.value)} + exportFrom(m){return `export ${this.isReadOnly?"const":"var"} ${this.name} = ${this.toString(m)};`} +}; +class ModuleProperty extends ModuleValue{ + constructor(data){ + super(data); + this.type = TypeResolver(data.type); + } +} +class ModuleFunction extends ModuleValue{ + constructor(data){ + super(data); + this.isConstructor = data.is_constructor; + this.privilege = data.privilege; + this.arguments = data.arguments.map(a=>new ModuleFunctionParams(a)); + this.returnType = TypeResolver(data.return_type); + this.returnType.isReturnType = true; + } + exportFrom(m){return `export function ${this.name}(${this.buildParams(m)}): ${this.returnType.toString(m)}`} + buildParams(m){ + let hasOptional = false; + return `${this.arguments.map(a=>{ + hasOptional = hasOptional | a.isOptional; + return `${a.name}${hasOptional?"?":""}: ${a.type.toString(m)}`; + }).join(", ")}`; + } +} +class ModuleFunctionParams extends ModuleMember{ + constructor(data){ + super(data); + this.isOptional = !!data?.details?.default_value; + this.type = TypeResolver(data.type); + if(this.type instanceof OptionalType) this.type = this.type.type; + } +} +class ModuleClass extends ModuleMember{ + constructor(data){ + super(data); + this.properties = data.properties.map(e=>new ModuleProperty(e)); + this.constants = data.constants.map(e=>new ModuleConstant(e)); + this.functions = data.functions.map(e=>new ModuleFunction(e)); + this.baseTypes = data.base_types.map(e=>TypeResolver(e)); + } + exportFrom(m){ + const staticProperties = this.properties.filter(p=>p.isStatic); + const otherProperties = this.properties.filter(p=>!p.isStatic); + const staticConstants = this.constants.filter(p=>p.isStatic); + const otherConstants = this.constants.filter(p=>!p.isStatic); + const staticFunctions = this.functions.filter(p=>p.isStatic & !p.isConstructor); + const otherFunctions = this.functions.filter(p=>!p.isStatic & !p.isConstructor); + const constructor = this.functions.find(f=>f.isConstructor); + const members = [ + constructor?` constructor(${constructor.buildParams(m)})`:" private constructor()", + ...staticConstants.map(e=>`static ${e.isReadOnly?"readonly ":""}${safePropertyName(e.name)}${e.type instanceof OptionalType?"?":""}: ${e.toString(m)}`), + ...staticProperties.map(e=>`static ${e.isReadOnly?"readonly ":""}${safePropertyName(e.name)}${e.type instanceof OptionalType?"?":""}: ${e.type.toString(m)}`), + ...staticFunctions.map(e=>`static ${safePropertyName(e.name)}(${e.buildParams(m)}): ${e.returnType.toString(m)}`), + ...otherConstants.map(e=>`${e.isReadOnly?"readonly ":""}${safePropertyName(e.name)}${e.type instanceof OptionalType?"?":""}: ${e.toString(m)}`), + ...otherProperties.map(e=>`${e.isReadOnly?"readonly ":""}${safePropertyName(e.name)}${e.type instanceof OptionalType?"?":""}: ${e.type.toString(m)}`), + ...otherFunctions.map(e=>`${safePropertyName(e.name)}(${e.buildParams(m)}): ${e.returnType.toString(m)}`) + ]; + return (this.baseTypes.length?"//@ts-ignore allow class inheritance for native classes\n":"") + `export class ${this.name} ${this.baseTypes.length?`extends ${this.baseTypes[0].toString(m)}`:""}{${members.join("; ")}${members.length?";":""}}`; + } +} diff --git a/src/old_reference/main.js b/src/old_reference/main.js new file mode 100644 index 0000000..787a559 --- /dev/null +++ b/src/old_reference/main.js @@ -0,0 +1,523 @@ +//@ts-nocheck +const { exit } = require("process"); +const {deflateRawSync} = require("zlib"); +const {exec} = require("node:child_process"); +const { Download, SafeDownloadContent}= require("./download.js"); +const os = require("os"); +const { promises, existsSync, readdirSync } = require("fs"); +const path = require("path"); +const { ScriptModule } = require("./d.tsGenerator.js"); +const { writeFile } = require("fs/promises"); + + +const bds_versions_link = "https://raw.githubusercontent.com/Bedrock-OSS/BDS-Versions/main/versions.json"; +const exist_link = (branch) => `https://raw.githubusercontent.com/Bedrock-APIs/bds-docs/${branch}/exist.json`; +const github_notfound = "404: Not Found"; +const bin = "./bin"; +const test_config = "test_config.json"; +const DEBUG = false; +const test_config_data = JSON.stringify({ + generate_documentation: true +}); +const docs_generated = [bin,"docs"].join("/"); +const docs_cleaned = "./docs"; +const declarations = "./script_types"; +const version_registred = { + "build-version":"1.0.0.0", + "version":"1.0.0.0", + "flags":[ + "generated_types", + "script_module_list", + "module_mapping", + "block_data2" + ], + "script_modules":[], + "script_modules_mapping":{}, +}; +const git_ignore = ` +bin/ +bds/ +node_modules/ +private/ +test/ +`; +const OSSYSTEM = os.platform() === "win32"?"win":"linux"; + + +CompareLatestVersions(); +//runDocs("preview","1.21.30.23"); + +async function Preload(v){ + if(DEBUG) return; + console.log("Loggin as 'Meta Generator Bot'"); + await System('git config --global user.name "Meta Generator Bot"'); + await System('git config --global user.email "meta_generator@lmao.com"'); + console.log("Logged as 'Meta Generator Bot'"); + await System(`git fetch`); + await System(`git checkout ${v} -f`); + await writeFile(".gitignore", git_ignore); + console.log("GIT INGORE WRITTEN!"); +} + +async function Finish(v,version){ + console.log("Versions registred"); + await promises.writeFile("exist.json",JSON.stringify(version_registred,null," ")); + if(DEBUG) return; + console.log("Loggin as 'Documentation Manager Bot'") + await System('git config --global user.name "Documentation Manager Bot"'); + await System('git config --global user.email "conmaster2112@gmail.com"'); + await System(`git checkout ${v}`); + console.log("Commit"); + await System("git add ."); + await System(`git commit -m \"New ${v} v${v==="stable"?GetEngine(version):version}\"`); + console.log("Push"); + await System("git push --force origin " + v); + if(v==="stable") { + console.log("New Branch stable-" + GetEngine(version)); + await System("git checkout -b stable-" + GetEngine(version)); + await System("git push -u origin stable-" + GetEngine(version)); + } + console.log("Done..."); +} +async function Generate(v,version){ + if(!DEBUG){ + globalThis.console.log("Moving from main branch to " + v); + await System(`git checkout ${v} || git checkout -b ${v}`); + } + const console = Logger("[BDS Downloader]"); + console.log("Downloading started. . ."); + await Download("bin",version,OSSYSTEM,v.toLowerCase() === "preview").catch(er=>{ + console.error(er.message); + console.error("Fails to download bds: " + version); + exit(1); + }); + console.log("Successfully Downloaded: " + OSSYSTEM); + await runDocs(v,version).catch(er=>{globalThis.console.error(er.message); exit(1);}); +} +async function runDocs(v,version){ + const console = Logger("[Docs Generator]"); + console.log("Writing test_config.json"); + await promises.writeFile([bin,test_config].join("/"),test_config_data); + console.log("Executing BDS in " + OSSYSTEM); + globalThis.console.log("///////////////////////// Bedrock Dedicated Server ///////////////////////////"); + const time = Date.now(); + if(OSSYSTEM === "win"){ + await System("call bedrock_server.exe",bin,60_000," ").catch(er=>{ + console.error(er.message); + exit(1); + }); + }else{ + await System("chmod +x ./bin/bedrock_server",".",5_000).catch().catch(er=>{ + console.error(er.message); + exit(1); + }); + await System("LD_LIBRARY_PATH=. ./bedrock_server",bin,60_000," ").catch(er=>{ + console.error(er.message); + exit(1); + }); + } + globalThis.console.log("///////////////////////// Bedrock Dedicated Server ///////////////////////////"); + if(existsSync(docs_generated)) { + console.log("Successfully Generated in " + (Date.now() - time) + "ms"); + await CopyFiles(v,version).catch(er=>{ + global.console.error(er.message); + exit(1); + }); + await DoFiles(docs_generated + "/script_modules",declarations, (file, data)=>{ + const Json = JSON.parse(data.toString()); + const script_module = new ScriptModule(Json); + const {name, uuid, version} = script_module; + const ddd = version_registred.script_modules_mapping[name] = version_registred.script_modules_mapping[name]??{versions:[]}; + ddd.uuid = uuid; + ddd.versions.push(version); + version_registred.script_modules.push(file); + return [file.replace(".json",".d.ts"),script_module.toString()]; + }).catch(er=>{ + global.console.error(er.message); + exit(1); + }); + await DoFiles(docs_generated + "/vanilladata_modules", "data", (file, data, createFile)=>{ + switch(file){ + case "mojang-blocks.json": + const source = JSON.parse(data.toString()); + const result = {states:{}, blocks:{}}; + source.block_properties.forEach(e => { + e.values = e.values.map(e=>e.value) + result.states[e.name] = e; + }); + const stream = new Stream(Buffer.allocUnsafe(255),0); + source.data_items.forEach((e)=>{ + const { name, raw_id, serialization_id, properties } = e; + const data = result.blocks[e.name] = Object.assign({ name, serialization_id, raw_id}, e); + data.properties = properties.map(e=>e.name); + const permutations = data.permutations = []; + if(!data.properties.length){ + stream.writeCompoudTag({name, states:{}}, ""); + const buffer = stream.getWritenBytes(); + data.key = buffer.toString("base64"); + data.hash = HashPermutation(buffer); + stream.offset = 0; + } + else{ + for(const s of RecursivePermutations(...(data.properties.map(e=>result.states[e].values.map(s=>({value:s, name:e})))).reverse())){ + const states = MapToObject(s,(n,o)=>o[n.name]=n.value); + stream.writeCompoudTag({name, states:states},""); + const buffer = stream.getWritenBytes(); + const key = buffer.toString("base64"); + const hash = HashPermutation(buffer); + permutations.push({states, key, hash}); + stream.offset = 0; + } + data.key = permutations[0].key; + data.hash = permutations[0].hash; + } + }) + const rawData = JSON.stringify(result,null," "); + createFile(file + ".raw_deflate", deflateRawSync(Buffer.from(rawData,"utf-8"))); + return [file, rawData]; + } + }).catch(er=>{ + global.console.error(er.message); + exit(1); + }); + await Finish(v,version); + }else{ + console.error("Generating Docs doesn't success, folder not found './bin/docs'"); + exit(1); + } + //console.log((await promises.readFile(".\\bin\\docs\\script_modules\\@minecraft\\server-ui_1.0.0.json")).toString()); +} +async function CopyFiles(v, version){ + const console = Logger("[Moving Files]"); + try { + for(let file of FileTree(docs_cleaned)){ + console.log("REMOVED", docs_cleaned + "/" + file); + await promises.rm( docs_cleaned + "/" + file); + } + } catch (error) { + + } + for (let file of FileTree(docs_generated)) { + console.log(file); + const data = await promises.readFile([docs_generated,file].join("/")); + const makedir = await promises.mkdir(path.dirname([docs_cleaned,file].join("/")),{recursive:true}); + await promises.writeFile([docs_cleaned,file].join("/"),data); + } +} +async function DoFiles(fr,to,changeMethod){ + const tasks = []; + const write = (file,data)=>{ + tasks.push((async ()=>{ + await promises.writeFile([to,file].join("/"),data); + })().catch(console.error)); + }; + const console = Logger("[Generating Docs Files]"); + for (let file of FileTree(fr)) { + const data = await promises.readFile([fr,file].join("/")); + const makedir = await promises.mkdir(path.dirname([to,file].join("/")),{recursive:true}); + const changed = changeMethod(file,data,write); + if(!changed) continue; + //const makedir = await promises.mkdir(path.dirname([to,file].join("/")),{recursive:true}); + const [newF,newData] = changed; + console.log("Generated -> " + newF); + await promises.writeFile([to,newF].join("/"),newData); + } + await Promise.all(tasks); +} +async function CompareLatestVersions(){ + const console = Logger("[Checking Versions]"); + console.log("Checking for Updates . . ."); + + //---------------------------------------------------------------------------------- + + console.log("Getting versions"); + let response = (await SafeDownload(bds_versions_link,console)).toString(); + if(response == github_notfound) { + console.error("File not found: " + bds_versions_link); + process.exit(1); + } + const {linux:{stable,preview}} = SafeParse(response); + const engine = GetEngine(stable); + console.log("Stable Version: " + engine); + console.log("Preview Version: " + preview); + + //---------------------------------------------------------------------------------- + if(!await CheckForExist("stable",engine,console)) { + Object.assign(version_registred, { + "build-version":stable, + "version":engine + }) + _preview = false; + console.log("New Stable Version Found: " + engine); + await Preload("stable"); + Generate("stable",stable); + return; + } + if(DEBUG || !await CheckForExist("preview",preview,console)) { + Object.assign(version_registred, { + "build-version":preview, + "version":preview + }) + _preview = true; + console.log("New Preview Version Found: " + preview); + await Preload("preview"); + Generate("preview",preview); + return; + } + console.log("Docs are up to date"); +} +async function System(cmd,cwd = ".",timeout=undefined,prefix=""){ + return new Promise((resolve, reject) => { + const child = exec(cmd, {cwd, windowsHide: true,timeout}, function(){}); + process.stdout.write(prefix); + child.stdout.on('data', (data) => { + process.stdout.write(data.replaceAll("\n","\n" + prefix)); + }); + + child.stderr.on('data', (data) => { + process.stderr.write(data.replaceAll("\n","\n" + prefix)); + }); + + child.on('error', (error) => { + console.error(`exec error: ${error.message}`); + reject(error); + }); + + child.on('exit', (code, signal) => { + if (code !== 0) { + reject(new Error(`Command "${cmd}" exited with code ${code} and signal ${signal}`)); + } else { + resolve(); + } + }); + }).then(()=>process.stdout.write("\n")); +} +async function CheckForExist(v,version,console){ + try { + console.log("Checking for " + v); + let versionLink = exist_link(v); + let response = (await SafeDownload(versionLink,console)).toString(); + if(response === github_notfound) { + console.error(`Can't target to ${v} -> exist.json`); + return false; + } + const {"build-version":bv,"version":vv} = JSON.parse(response,console); + console.log(`Version compare: ${vv} === ${version}`); + return version==vv; + } catch (error) { + return false; + } +} +function GetEngine(v){ + const [major,minor,base] = v.split("."); + return [major,minor,StableVersion(base)].join("."); +} +function SafeParse(data,console = globalThis.console){ + try { + return JSON.parse(data); + } catch (error) { + console.error(error.message); + } +} +async function SafeDownload(link,console = globalThis.console){ + const {error,data} = await SafeDownloadContent(link); + if(error){ + console.error(error.message); + exit(1); + } + return data; +} +function StableVersion(num){ + if(num.length === 1) return "0"; + else { + return num[0] + "0".repeat(num.length - 1); + } +} +function Logger(text,console=globalThis.console){ + const {log,error,warn} = console; + return Object.assign({},{ + log:log.bind(console,text), + error:error.bind(console,text), + warn:warn.bind(console,text), + }); +} +function *FileTree(base,paths = []){ + for (const entry of readdirSync([base,...paths].join("/"),{withFileTypes:true})) { + if(entry.isFile()) yield [...paths,entry.name].join("/"); + else if(entry.isDirectory()) yield*FileTree(base,[...paths,entry.name]); + } +} + +function *RecursivePermutations(...loop){ + if(loop.length <= 1) return yield * loop[0].map(e=>[e]); + for(const l of loop[0]){ + for(const s of RecursivePermutations(...loop.slice(1))) yield [l, ...s]; + } +} +const NBTTag = { + "EndOfCompoud" : 0, + "Byte" : 1, + "Int16" : 2, + "Int32" : 3, + "Int64" : 4, + "Float" : 5, + "Double" : 6, + "ByteArray" : 7, + "String" : 8, + "TypedList" : 9, + "Compoud" : 10 +} +class Stream{ + offset; + buffer; + constructor(buffer, offset){ + this.buffer = buffer; + this.offset = offset??0; + } + readByte(){return this.buffer.readUInt8(this.offset++);} + readInt16LE(){ + const value = this.buffer.readInt16LE(this.offset); + this.offset += 2; + return value; + } + readInt32LE(){ + const value = this.buffer.readInt32LE(this.offset); + this.offset += 4; + return value; + } + readInt64LE(){ + const value = this.buffer.readBigInt64LE(this.offset); + this.offset += 8; + return value; + } + readUInt16LE(){ + const value = this.buffer.readUInt16LE(this.offset); + this.offset += 2; + return value; + } + readUInt32LE(){ + const value = this.buffer.readUInt32LE(this.offset); + this.offset += 4; + return value; + } + readUInt64LE(){ + const value = this.buffer.readBigUInt64LE(this.offset); + this.offset += 8; + return value; + } + readFloatLE(){ + const value = this.buffer.readFloatLE(this.offset); + this.offset += 4; + return value; + } + readDoubleLE(){ + const value = this.buffer.readDoubleLE(this.offset); + this.offset += 8; + return value; + } + writeByte(value){ this.buffer.writeUInt8(value,this.offset++);} + writeInt16LE(value){ + const length = this.buffer.writeInt16LE(value,this.offset); + this.offset += 2; + return length; + } + writeInt32LE(value){ + const length = this.buffer.writeInt32LE(value,this.offset); + this.offset += 4; + return length; + } + writeInt64LE(value){ + const length = this.buffer.writeBigInt64LE(value,this.offset); + this.offset += 8; + return length; + } + writeUInt16LE(value){ + const length = this.buffer.writeUInt16LE(value,this.offset); + this.offset += 2; + return length; + } + writeUInt32LE(value){ + const length = this.buffer.writeUInt32LE(value,this.offset); + this.offset += 4; + return length; + } + writeUInt64LE(value){ + const length = this.buffer.writeBigUInt64LE(value,this.offset); + this.offset += 8; + return length; + } + writeFloatLE(value){ + const length = this.buffer.writeFloatLE(value,this.offset); + this.offset += 4; + return length; + } + writeDoubleLE(value){ + const length = this.buffer.writeDoubleLE(value,this.offset); + this.offset += 8; + return length; + } + writeString(value){ + const length = this.buffer.write(value,this.offset + 2,"utf8"); + this.writeInt16LE(length); + this.offset += length; + } + writeCompoudTag(compoud, root){ + this.writeByte(NBTTag.Compoud); + if(typeof root === "string") this.writeString(root); + this.writeCompoud(compoud); + } + writeCompoud(compoud){ + for (const [key,v] of Object.entries(compoud)) { + const type = typeof v; + switch(type){ + case "string": + this.writeByte(NBTTag.String); + this.writeString(key); + this.writeString(v); + break; + case "boolean": + this.writeByte(NBTTag.Byte); + this.writeString(key); + this.writeByte(v?1:0); + break; + case "number": + this.writeByte(NBTTag.Int32); + this.writeString(key); + this.writeInt32LE(v); + break; + case "object": + this.writeByte(NBTTag.Compoud); + this.writeString(key); + this.writeCompoud(v); + break; + } + } + this.writeByte(NBTTag.EndOfCompoud); + } + /**@returns {Buffer} */ + getWritenBytes(){ + return this.buffer.slice(0, this.offset); + } +} +function MapToObject(arr, mapper){ + const obj = {}; + arr.forEach(e=>mapper(e, obj)); + return obj; +} + +const HASH_OFFSET = 0x81_1c_9d_c5; +function HashPermutation(buffer){ + let hash = HASH_OFFSET; + for (const element of buffer) { + // Set the hash to the XOR of the hash and the element. + hash ^= element & 0xff; + + // Apply the hash algorithm. + hash += + (hash << 1) + (hash << 4) + (hash << 7) + (hash << 8) + (hash << 24); + + // Convert the hash to a signed 32-bit integer. + hash = hash | 0; + } + return hash; +} \ No newline at end of file