Files
minecraft-bedrock-json-schemas/source/behavior/items/1.10.0/items.json

129 lines
6.2 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
"$id": "blockception.minecraft.behavior.1.10.0.items",
"description": "Minecraft items 1.10.0",
"required": ["format_version", "minecraft:item"],
"title": "Item",
2021-06-24 14:34:35 +02:00
"type": "object",
2021-06-06 10:07:19 +00:00
"properties": {
2021-07-01 17:42:32 +02:00
"format_version": {
"title": "1.10.0 Format Version",
"type": "string",
"pattern": "^1.10.0$",
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
},
2021-06-06 10:07:19 +00:00
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
"type": "object",
2021-07-01 17:42:32 +02:00
"title": "Item",
2021-06-16 16:19:12 +02:00
"description": "UNDOCUMENTED",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"properties": {
2021-06-09 09:41:09 +02:00
"identifier": {
"title": "Identifier",
"type": "string",
2021-06-16 16:19:12 +02:00
"description": "UNDOCUMENTED",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-09 09:41:09 +02:00
"$ref": "../../../general/item/identifier.json"
}
2021-06-06 10:07:19 +00:00
}
},
"components": {
"additionalProperties": false,
"type": "object",
"description": "The components of this item",
"properties": {
"minecraft:camera": {
"type": "object",
2021-07-01 17:42:32 +02:00
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Minecraft Camera",
2021-06-06 10:07:19 +00:00
"properties": {
2021-07-01 17:42:32 +02:00
"black_bars_duration": {
"type": "number",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Black Bars Duration"
},
"black_bars_screen_ratio": {
"type": "number",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Black Bars Screen Ratio"
},
"shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" },
"picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" },
"slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" }
2021-06-06 10:07:19 +00:00
}
},
2021-07-01 16:42:21 +02:00
"minecraft:max_damage": { "type": "integer", "description": "Maximum damage item has, this is used like item Maximum health." },
2021-06-06 10:07:19 +00:00
"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?" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint." },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block." },
2021-07-01 16:42:21 +02:00
"minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "minimum": 0 },
2021-06-06 10:07:19 +00:00
"minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used." },
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
"properties": {
"nutrition": { "type": "integer", "description": "Nutrition amount." },
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"]
},
"using_converts_to": {
"type": "string",
"description": "After using, item converts it to this item.",
"$ref": "../../../general/item/identifier.json"
},
"on_use_action": {
"type": "string",
2021-06-08 17:06:03 +02:00
"description": "'chorus_teleport` or `none`.",
2021-06-06 10:07:19 +00:00
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
2021-11-05 11:17:08 +01:00
"on_use_range": { "$ref": "../../../general/vectors/number3.json" },
2021-06-08 17:06:03 +02:00
"cooldown_type": { "type": "string", "description": "'chorusfruit` or `none`.", "enum": ["chorusfruit", "none"] },
2021-06-06 10:07:19 +00:00
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false." },
"effects": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
2021-07-01 17:42:32 +02:00
"name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" },
"chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" },
"duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" },
"amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" }
2021-06-06 10:07:19 +00:00
}
}
}
}
},
"minecraft:seed": {
"additionalProperties": false,
"type": "object",
"properties": {
"crop_result": { "type": "string" },
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"oneOf": [
{ "type": "string", "$ref": "../../../general/blocks_item.json" },
{ "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } }
]
}
}
}
}
}
2021-07-01 17:42:32 +02:00
}
2021-06-06 10:07:19 +00:00
}
}
}