175 lines
8.3 KiB
JSON
175 lines
8.3 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.1.16.0.items",
|
|
"description": "Minecraft items 1.16.0",
|
|
"required": ["format_version", "minecraft:item"],
|
|
"title": "Item",
|
|
"type": "object",
|
|
"properties": {
|
|
"format_version": {
|
|
"title": "Format Version",
|
|
"type": "string",
|
|
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
|
},
|
|
"minecraft:item": {
|
|
"additionalProperties": false,
|
|
"required": ["description"],
|
|
"type": "object",
|
|
"title": "Item",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"properties": {
|
|
"description": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Description",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"properties": {
|
|
"identifier": {
|
|
"title": "Identifier",
|
|
"type": "string",
|
|
"description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.",
|
|
"$ref": "../../../general/item/identifier.json"
|
|
},
|
|
"category": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.",
|
|
"title": "Category"
|
|
},
|
|
"is_experimental": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
|
|
"title": "Is Experimental"
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"description": "The components of this item",
|
|
"properties": {
|
|
"minecraft:camera": {
|
|
"type": "object",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"title": "Minecraft Camera",
|
|
"properties": {
|
|
"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" }
|
|
}
|
|
},
|
|
"minecraft:max_damage": {
|
|
"type": "integer",
|
|
"description": "Maximum damage item has, this is used like item Maximum health.",
|
|
"title": "Maximum Damage"
|
|
},
|
|
"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": "Stacked By Data" },
|
|
"minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "Foil" },
|
|
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "Block" },
|
|
"minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "title": "Maximum Stack Size", "minimum": 0 },
|
|
"minecraft:use_duration": {
|
|
"type": "integer",
|
|
"description": "How long to use before item is done being used.",
|
|
"title": "Use Duration"
|
|
},
|
|
"minecraft:food": {
|
|
"type": "object",
|
|
"description": "Food settings of the item",
|
|
"properties": {
|
|
"nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "Nutrition" },
|
|
"saturation_modifier": {
|
|
"type": "string",
|
|
"description": "Choose: poor, low, normal, good, max, supernatural.",
|
|
"title": "Saturation Modifier",
|
|
"enum": ["poor", "low", "normal", "good", "max", "supernatural"]
|
|
},
|
|
"using_converts_to": {
|
|
"type": "string",
|
|
"description": "After using, item converts it to this item.",
|
|
"title": "Using Converts To",
|
|
"$ref": "../../../general/item/identifier.json"
|
|
},
|
|
"on_use_action": {
|
|
"type": "string",
|
|
"description": "'chorus_teleport` or `none`.",
|
|
"title": "On Use Action",
|
|
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
|
},
|
|
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
|
|
"cooldown_type": {
|
|
"type": "string",
|
|
"description": "'chorusfruit` or `none`.",
|
|
"title": "CoolDown Type",
|
|
"enum": ["chorusfruit", "none"]
|
|
},
|
|
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "Cooldown Time" },
|
|
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "Can Alway East" },
|
|
"effects": {
|
|
"type": "array",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"title": "Effects",
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"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" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"minecraft:seed": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"properties": {
|
|
"crop_result": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Crop Result" },
|
|
"plant_at": {
|
|
"description": "Valid blocks you can plant this item at.",
|
|
"title": "Plant At",
|
|
"oneOf": [
|
|
{ "type": "string", "$ref": "../../../general/blocks_item.json" },
|
|
{ "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } }
|
|
]
|
|
},
|
|
"plant_at_any_solid_surface": {
|
|
"title": "Plant At Any Solid Surface",
|
|
"type": "boolean",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED"
|
|
},
|
|
"plant_at_face": {
|
|
"title": "Plnat At Face",
|
|
"type": "string",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"enum": ["DOWN", "UP"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|