Files
minecraft-bedrock-json-schemas/source/behavior/items/format/minecraft.item.json
BrodBlox09 4e6f730320 Fill in some undocumented entries (#356)
* Add permutations description

* Adjust grammar

* Update description of "num_mip_levels"

* Update "atlas_tile" and "blend_frames" property

Some properties had completely incorrect titles as well, those were fixed in this commit too.

* Update JSON UI schema

* Update item schema

* Update terrain_texture schema

* Update animations schema

* Update go_home.json

* Update textures schemas
2025-06-25 20:35:53 +02:00

101 lines
5.0 KiB
JSON

{
"$id": "blockception.minecraft.behavior.items",
"additionalProperties": false,
"required": ["description"],
"type": "object",
"description": "An item definition.",
"$comment": "UNDOCUMENTED",
"title": "Item",
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"title": "Description",
"description": "The description for this item.",
"$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"
},
"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"
},
"menu_category": {
"type": "object",
"title": "Menu Category",
"description": "The Creative Category that includes the specified item.",
"additionalProperties": false,
"properties": {
"group": {
"title": "Group",
"description": "A translation string of an existing group in minecraft to group this block/item under",
"type": "string",
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
},
"category": {
"$ref": "../../../general/vanilla/creative_category.json"
},
"is_hidden_in_commands": {
"type": "boolean",
"default": false,
"title": "Is Hidden In Commands",
"description": "Determines whether or not this item can be used with commands. Commands can use items by default"
}
}
}
}
},
"components": {
"type": "object",
"description": "The components of this item.",
"additionalProperties": true,
"properties": {
"minecraft:allow_off_hand": { "$ref": "./components/allow_off_hand.json" },
"minecraft:block_placer": { "$ref": "./components/block_placer.json" },
"minecraft:bundle_interaction": { "$ref": "./components/bundle_interaction.json" },
"minecraft:can_destroy_in_creative": { "$ref": "./components/can_destroy_in_creative.json" },
"minecraft:compostable": { "$ref": "./components/compostable.json" },
"minecraft:cooldown": { "$ref": "./components/cooldown.json" },
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
"minecraft:damage": { "$ref": "./components/damage.json" },
"minecraft:damage_absorption": { "$ref": "./components/damage_absorption.json" },
"minecraft:digger": { "$ref": "./components/digger.json" },
"minecraft:display_name": { "$ref": "./components/display_name.json" },
"minecraft:durability_sensor": { "$ref": "./components/durability_sensor.json" },
"minecraft:durability": { "$ref": "./components/durability.json" },
"minecraft:dyeable": { "$ref": "./components/dyeable.json" },
"minecraft:enchantable": { "$ref": "./components/enchantable.json" },
"minecraft:entity_placer": { "$ref": "./components/entity_placer.json" },
"minecraft:food": { "$ref": "./components/food.json" },
"minecraft:fuel": { "$ref": "./components/fuel.json" },
"minecraft:glint": { "$ref": "./components/glint.json" },
"minecraft:hand_equipped": { "$ref": "./components/hand_equipped.json" },
"minecraft:icon": { "$ref": "./components/icon.json" },
"minecraft:liquid_clipped": { "$ref": "./components/liquid_clipped.json" },
"minecraft:max_stack_size": { "$ref": "./components/max_stack_size.json" },
"minecraft:projectile": { "$ref": "./components/projectile.json" },
"minecraft:record": { "$ref": "./components/record.json" },
"minecraft:rarity": { "$ref": "./components/rarity.json" },
"minecraft:repairable": { "$ref": "./components/repairable.json" },
"minecraft:shooter": { "$ref": "./components/shooter.json" },
"minecraft:should_despawn": { "$ref": "./components/should_despawn.json" },
"minecraft:stacked_by_data": { "$ref": "./components/stacked_by_data.json" },
"minecraft:storage_item": { "$ref": "./components/storage_item.json" },
"minecraft:storage_weight_limit": { "$ref": "./components/storage_weight_limit.json" },
"minecraft:storage_weight_modifier": { "$ref": "./components/storage_weight_modifier.json" },
"minecraft:tags": { "$ref": "./components/tags.json" },
"minecraft:throwable": { "$ref": "./components/throwable.json" },
"minecraft:use_animation": { "$ref": "./components/use_animation.json" },
"minecraft:use_modifiers": { "$ref": "./components/use_modifiers.json" },
"minecraft:wearable": { "$ref": "./components/wearable.json" }
}
}
}
}