Files
minecraft-bedrock-json-schemas/source/behavior/items/1.14.0/items.json
2021-07-01 16:37:41 +02:00

140 lines
6.7 KiB
JSON

{
"$id": "blockception.minecraft.behavior.1.14.0.items",
"description": "Minecraft items 1.14.0",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"type": "object",
"properties": {
"format_version": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" },
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"title": "Description",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"identifier": {
"title": "Identifier",
"type": "string",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../../../general/item/identifier.json"
}
}
},
"components": {
"additionalProperties": false,
"type": "object",
"description": "The components of this item",
"properties": {
"minecraft:camera": {
"type": "object",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED",
"properties": {
"black_bars_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"black_bars_screen_ratio": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"shutter_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"picture_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"slide_away_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
},
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." },
"minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "UNDOCUMANTED" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "UNDOCUMANTED" },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "UNDOCUMANTED" },
"minecraft:max_stack_size": { "type": "integer", "description": "Max stack size.", "title": "UNDOCUMANTED", "minimum": 0 },
"minecraft:use_duration": {
"type": "integer",
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
"additionalProperties": false,
"properties": {
"nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "UNDOCUMANTED" },
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"],
"title": "UNDOCUMANTED"
},
"using_converts_to": {
"type": "string",
"description": "After using, item converts it to this item.",
"title": "UNDOCUMANTED",
"$ref": "../../../general/item/identifier.json"
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport` or `none`.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json", "title": "UNDOCUMANTED" },
"cooldown_type": {
"type": "string",
"description": "'chorusfruit` or `none`.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "UNDOCUMANTED" },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "UNDOCUMANTED" },
"effects": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"name": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"chance": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"duration": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"amplifier": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
}
},
"remove_effects": {
"type": "array",
"description": "Can always eat this item? true or false.",
"title": "Remove Effects",
"items": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
}
},
"minecraft:seed": {
"additionalProperties": false,
"type": "object",
"properties": {
"crop_result": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [
{ "type": "string", "$ref": "../../../general/blocks_item.json" },
{ "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } }
]
}
}
}
}
}
},
"title": "TODO Title"
}
}
}