1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-24 13:56:16 +00:00
bedrock-samples/metadata/json_schemas/Shooter v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

82 lines
2.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "3781185164",
"definitions": {
"1531870811": {
"title": "struct SharedTypes::Legacy::ItemDescriptor",
"oneOf": [
{
"type": "string"
},
{
"title": "associative container",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
],
"$metaProperties": {
"CEREAL_JSON_SCHEMA": "Item Descriptor"
}
},
"2681068491": {
"title": "struct SharedTypes::v1_20_50::ShooterItemComponent::Ammunition",
"type": "object",
"properties": {
"item": {
"description": "Ammunition item description identifier.",
"$ref": "#/definitions/1531870811"
},
"search_inventory": {
"description": "Can search inventory? Default is set to false.",
"type": "boolean"
},
"use_in_creative": {
"description": "Can use in creative mode? Default is set to false.",
"type": "boolean"
},
"use_offhand": {
"description": "Can use off-hand? Default is set to false.",
"type": "boolean"
}
},
"required": [
"item"
],
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "Ammunition v1.20.50"
}
}
},
"title": "minecraft:shooter v1.20.50",
"description": "Shooter Item Component.",
"type": "object",
"properties": {
"ammunition": {
"title": "sequence container",
"description": "Ammunition.",
"type": "array",
"items": {
"$ref": "#/definitions/2681068491"
}
},
"charge_on_draw": {
"description": "Charge on draw? Default is set to false.",
"type": "boolean"
},
"max_draw_duration": {
"description": "Draw Duration. Default is set to 0.",
"type": "number"
},
"scale_power_by_draw_duration": {
"description": "Scale power by draw duration? Default is set to false.",
"type": "boolean"
}
},
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "Shooter v1.20.50"
}
}