1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-14 10:27:14 +00:00
bedrock-samples/metadata/script_modules/@minecraft/server_1.1.0.json
Mike Ammerlaan 6e0daa70a8 v1.21.40.3
2024-10-22 09:25:09 -07:00

1979 lines
63 KiB
JSON

{
"classes" : [
{
"base_types" : [],
"constants" : [],
"functions" : [
{
"arguments" : [
{
"details" : null,
"name" : "permutation",
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "BlockPermutation"
}
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "setPermutation",
"privilege" : [
{
"name" : "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" : "Block",
"properties" : [
{
"is_read_only" : true,
"name" : "dimension",
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "Dimension"
}
},
{
"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" : "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" : [],
"constants" : [],
"functions" : [
{
"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" : [
{
"name" : "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" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : true,
"is_errorable" : true,
"name" : "BlockPermutation"
}
}
],
"name" : "BlockPermutation",
"properties" : [],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "BlockPermutation"
}
},
{
"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" : [
{
"details" : null,
"name" : "location",
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "Vector3"
}
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "getBlock",
"privilege" : [
{
"name" : "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" : "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" : [
{
"name" : "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" : [
{
"name" : "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" : {
"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" : [
{
"name" : "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" : "commandString",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "runCommandAsync",
"privilege" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : false,
"is_errorable" : true,
"name" : "promise",
"promise_type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "CommandResult"
}
}
}
],
"name" : "Dimension",
"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" : "Dimension"
}
},
{
"base_types" : [],
"constants" : [],
"functions" : [
{
"arguments" : [],
"is_constructor" : false,
"is_static" : false,
"name" : "getHeadLocation",
"privilege" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : true,
"is_errorable" : true,
"name" : "Vector3"
}
},
{
"arguments" : [],
"is_constructor" : false,
"is_static" : false,
"name" : "getVelocity",
"privilege" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : true,
"is_errorable" : true,
"name" : "Vector3"
}
},
{
"arguments" : [],
"is_constructor" : false,
"is_static" : false,
"name" : "getViewDirection",
"privilege" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : true,
"is_errorable" : true,
"name" : "Vector3"
}
},
{
"arguments" : [
{
"details" : null,
"name" : "commandString",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "runCommandAsync",
"privilege" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : false,
"is_errorable" : true,
"name" : "promise",
"promise_type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "CommandResult"
}
}
}
],
"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" : "location",
"type" : {
"is_bind_type" : true,
"is_errorable" : true,
"name" : "Vector3"
}
},
{
"is_read_only" : false,
"name" : "nameTag",
"privilege" : [
{
"name" : "none"
}
],
"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" : "Entity"
}
},
{
"base_types" : [],
"constants" : [
{
"is_read_only" : true,
"is_static" : true,
"name" : "nether",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "minecraft:nether"
},
{
"is_read_only" : true,
"is_static" : true,
"name" : "overworld",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "minecraft:overworld"
},
{
"is_read_only" : true,
"is_static" : true,
"name" : "theEnd",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
},
"value" : "minecraft:the_end"
}
],
"functions" : [],
"name" : "MinecraftDimensionTypes",
"properties" : [],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "MinecraftDimensionTypes"
}
},
{
"base_types" : [
{
"is_bind_type" : true,
"is_errorable" : false,
"name" : "Entity"
}
],
"constants" : [],
"functions" : [
{
"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" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : false,
"is_errorable" : true,
"name" : "undefined"
}
}
],
"name" : "Player",
"properties" : [
{
"is_read_only" : true,
"name" : "name",
"type" : {
"is_bind_type" : false,
"is_errorable" : true,
"name" : "string"
}
}
],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "Player"
}
},
{
"base_types" : [],
"constants" : [],
"functions" : [
{
"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" : [
{
"name" : "read_only"
},
{
"name" : "early_execution"
}
],
"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" : [
{
"name" : "read_only"
},
{
"name" : "early_execution"
}
],
"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" : [
{
"name" : "read_only"
},
{
"name" : "early_execution"
}
],
"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" : [
{
"name" : "read_only"
},
{
"name" : "early_execution"
}
],
"return_type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "uint32",
"valid_range" : {
"max" : 2147483647,
"min" : -2147483648
}
}
}
],
"name" : "System",
"properties" : [
{
"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" : [
{
"arguments" : [],
"is_constructor" : false,
"is_static" : false,
"name" : "getAllPlayers",
"privilege" : [
{
"name" : "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" : "dimensionId",
"type" : {
"is_bind_type" : false,
"is_errorable" : false,
"name" : "string"
}
}
],
"is_constructor" : false,
"is_static" : false,
"name" : "getDimension",
"privilege" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : true,
"is_errorable" : true,
"name" : "Dimension"
}
},
{
"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" : [
{
"name" : "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" : "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" : [
{
"name" : "read_only"
}
],
"return_type" : {
"is_bind_type" : false,
"is_errorable" : true,
"name" : "undefined"
}
}
],
"name" : "World",
"properties" : [],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "World"
}
}
],
"constants" : [],
"dependencies" : [
{
"name" : "@minecraft/common",
"uuid" : "77ec12b4-1b2b-4c98-8d34-d1cd63f849d5",
"version" : "1.0.0"
}
],
"enums" : [
{
"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"
}
],
"errors" : [
{
"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"
}
}
],
"functions" : [],
"interfaces" : [
{
"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" : "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" : [
{
"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
}
}
}
}
],
"type" : {
"is_bind_type" : true,
"is_errorable" : false,
"name" : "EntityQueryOptions"
}
},
{
"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" : "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" : "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"
}
}
],
"minecraft_version" : "1.21.40-beta.3",
"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" : [],
"uuid" : "b26a4d4c-afdf-4690-88f8-931846312678",
"version" : "1.1.0"
}