Files
minecraft-bedrock-json-schemas/source/behavior/items/format/minecraft.item.json
Xterionix c56338d900 Update blocks and items to newest format (#215)
* Add emit_vibration
* Add min and max bounds to collision_box
* Remove experimental label from crafting_table
* Fix flammable definition
* Add geometry.cross
* Add culling property to block_culling_rules
* Add max length to loot
* Remove part visibility
* Remove experimental label from placement filter
* Add min max bounds to selection box
* Remove unit cube as deprecated
* Remove armor component
* Add protection to wearable
* Remove render offsets
* Remove on_dig
* Remove dye powder
* Remove knockback resistance
* Update durability
* Remove foil
* Add glint
* Update hand_equipped
* Update food
* Remove frame from :icon
* Remove max damage
* Remove on_use
* Remove on_use_on
* Update max stack size
* Update repairable
* Updated :shooter
* Update stacked by data
* Add use modifiers
* Remove use_duration
* Remove weapon
* Add allow_off_hand
* Add can_destroy_in_creative
* Add damage
* Fix max_stack_size
* Add enchantable
* Add hover text color
* Add liquid clipped
* Add record
* Add should_despawn
* Tags component
* Add use_animation
* Update item components
* Update block components
* Update source/behavior/entities/format/events.json
---------
Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
2024-02-11 12:05:56 +01:00

96 lines
4.4 KiB
JSON

{
"$id": "blockception.minecraft.behavior.items",
"additionalProperties": false,
"required": ["description"],
"type": "object",
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"title": "Item",
"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"
},
"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": {
"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"
}
}
}
}
},
"components": {
"additionalProperties": { "type": "object" },
"type": "object",
"description": "The components of this item.",
"properties": {
"minecraft:allow_off_hand": {"$ref": "./components/allow_off_hand.json"},
"minecraft:block_placer": { "$ref": "./components/block_placer.json" },
"minecraft:can_destroy_in_creative": {"$ref": "./components/can_destroy_in_creative.json"},
"minecraft:cooldown": { "$ref": "./components/cooldown.json" },
"minecraft:damage": {"$ref": "./components/damage.json"},
"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" },
"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: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" },
"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" }
}
},
"events": { "$ref": "./events.json" }
}
}