1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-21 20:46:28 +00:00
bedrock-samples/metadata/json_schemas/Ammunition v1.20.50.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

51 lines
1.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2681068491",
"definitions": {
"1531870811": {
"title": "struct SharedTypes::Legacy::ItemDescriptor",
"oneOf": [
{
"type": "string"
},
{
"title": "associative container",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
],
"$metaProperties": {
"CEREAL_JSON_SCHEMA": "Item Descriptor"
}
}
},
"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"
}
}