@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
99 lines • 3.58 kB
JSON
{
"fields": [
{
"id": "origin",
"title": "Origin",
"description": "Minimal position of the bounds of the selection box. \"origin\" is specified as [x, y, z] and must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.",
"defaultValue": [
-8,
0,
-8
],
"dataType": 11
},
{
"id": "size",
"title": "Size",
"description": "Size of each side of the selection box. Size is specified as [x, y, z]. \"origin\" + \"size\" must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.",
"defaultValue": [
16,
16,
16
],
"dataType": 11
}
],
"scalarField": {
"id": "boolean",
"title": "Object enabled",
"tags": [
"presence"
],
"dataType": 1
},
"description": "Defines the area of the block that is selected by the player's cursor. If set to true, default values are used. If set to false, this block is not selectable by the player's cursor. If this component is omitted, default values are used.",
"title": "Selection Box",
"samples": {
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/blocks/fabricator.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/blocks/gray_ore.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/custom_features/basic_orange_ore/behavior_packs/basic_orange_ore/blocks/orange_ore.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/custom_features/example_feature_set/behavior_packs/example_feature_set/blocks/apple_block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/frond_top.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave_corner.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave_tip.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_tree_top.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_trunk.block.json": [
{
"path": "/minecraft:block/components/minecraft:selection_box/",
"content": true
}
]
},
"id": "minecraft:selection_box"
}