95 lines
4.3 KiB
JSON
95 lines
4.3 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:armor": { "$ref": "./components/armor.json" },
|
|
"minecraft:block_placer": { "$ref": "./components/block_placer.json" },
|
|
"minecraft:cooldown": { "$ref": "./components/cooldown.json" },
|
|
"minecraft:digger": { "$ref": "./components/digger.json" },
|
|
"minecraft:display_name": { "$ref": "./components/display_name.json" },
|
|
"minecraft:durability": { "$ref": "./components/durability.json" },
|
|
"minecraft:dye_powder": { "$ref": "./components/dye_powder.json" },
|
|
"minecraft:entity_placer": { "$ref": "./components/entity_placer.json" },
|
|
"minecraft:foil": { "$ref": "./components/foil.json" },
|
|
"minecraft:food": { "$ref": "./components/food.json" },
|
|
"minecraft:fuel": { "$ref": "./components/fuel.json" },
|
|
"minecraft:hand_equipped": { "$ref": "./components/hand_equipped.json" },
|
|
"minecraft:icon": { "$ref": "./components/icon.json" },
|
|
"minecraft:knockback_resistance": { "$ref": "./components/knockback_resistance.json" },
|
|
"minecraft:max_damage": { "$ref": "./components/max_damage.json" },
|
|
"minecraft:max_stack_size": { "$ref": "./components/max_stack_size.json" },
|
|
"minecraft:on_use_on": { "$ref": "./components/on_use_on.json" },
|
|
"minecraft:on_use": { "$ref": "./components/on_use.json" },
|
|
"minecraft:projectile": { "$ref": "./components/projectile.json" },
|
|
"minecraft:render_offsets": { "$ref": "./components/render_offsets.json" },
|
|
"minecraft:repairable": { "$ref": "./components/repairable.json" },
|
|
"minecraft:shooter": { "$ref": "./components/shooter.json" },
|
|
"minecraft:stacked_by_data": { "$ref": "./components/knockback_resistance.json" },
|
|
"minecraft:throwable": { "$ref": "./components/throwable.json" },
|
|
"minecraft:use_duration": { "$ref": "./components/use_duration.json" },
|
|
"minecraft:weapon": { "$ref": "./components/weapon.json" },
|
|
"minecraft:wearable": { "$ref": "./components/wearable.json" }
|
|
}
|
|
},
|
|
"events": { "$ref": "./events.json" }
|
|
}
|
|
}
|