Files
minecraft-bedrock-json-schemas/source/behavior/items/format/minecraft.item.json

96 lines
4.4 KiB
JSON
Raw Normal View History

2022-06-07 20:49:57 +02:00
{
"$id": "blockception.minecraft.behavior.items",
"additionalProperties": false,
"required": ["description"],
"type": "object",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2022-06-07 20:49:57 +02:00
"$comment": "UNDOCUMENTED",
"title": "Item",
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"title": "Description",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2022-06-07 20:49:57 +02:00
"$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"
2024-01-14 16:31:31 +01:00
},
"menu_category": {
"type": "object",
"title": "Menu Category",
"description": "The Creative Category that includes the specified item.",
"additionalProperties": false,
"properties": {
"group": {
"type": "string",
"title": "Group",
"maxLength": 256,
"description": "The Creative Group that that includes the specified item. The group name is limited to 256 characters.",
"examples": ["itemGroup.name.blaze"]
},
"category": {
"type": "string",
"title": "Category",
"description": "The Creative Category that includes the specified item.",
"examples": ["equipment"]
},
"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"
}
}
2022-06-07 20:49:57 +02:00
}
}
},
"components": {
"additionalProperties": { "type": "object" },
"type": "object",
2022-07-22 19:41:04 +02:00
"description": "The components of this item.",
2022-06-07 20:49:57 +02:00
"properties": {
"minecraft:allow_off_hand": {"$ref": "./components/allow_off_hand.json"},
2022-06-07 20:49:57 +02:00
"minecraft:block_placer": { "$ref": "./components/block_placer.json" },
"minecraft:can_destroy_in_creative": {"$ref": "./components/can_destroy_in_creative.json"},
2022-06-07 20:49:57 +02:00
"minecraft:cooldown": { "$ref": "./components/cooldown.json" },
"minecraft:damage": {"$ref": "./components/damage.json"},
2022-06-07 20:49:57 +02:00
"minecraft:digger": { "$ref": "./components/digger.json" },
"minecraft:display_name": { "$ref": "./components/display_name.json" },
"minecraft:durability": { "$ref": "./components/durability.json" },
"minecraft:enchantable": { "$ref": "./components/enchantable.json" },
2022-06-07 20:49:57 +02:00
"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" },
2022-06-07 20:49:57 +02:00
"minecraft:hand_equipped": { "$ref": "./components/hand_equipped.json" },
"minecraft:icon": { "$ref": "./components/icon.json" },
"minecraft:liquid_clipped": { "$ref": "./components/liquid_clipped.json" },
2022-06-07 20:49:57 +02:00
"minecraft:max_stack_size": { "$ref": "./components/max_stack_size.json" },
"minecraft:projectile": { "$ref": "./components/projectile.json" },
"minecraft:record": { "$ref": "./components/record.json" },
2022-06-07 20:49:57 +02:00
"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:tags": { "$ref": "./components/tags.json" },
2022-06-07 20:49:57 +02:00
"minecraft:throwable": { "$ref": "./components/throwable.json" },
"minecraft:use_animation": { "$ref": "./components/use_animation.json" },
"minecraft:use_modifiers": { "$ref": "./components/use_modifiers.json" },
2022-06-07 20:49:57 +02:00
"minecraft:wearable": { "$ref": "./components/wearable.json" }
}
},
"events": { "$ref": "./events.json" }
}
}