Adding item components
This commit is contained in:
@@ -25,9 +25,21 @@
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"type": "string",
|
||||
"description": "TODO",
|
||||
"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": {
|
||||
|
||||
22
behaviour/items/1.16.100/components/minecraft.armor.json
Normal file
22
behaviour/items/1.16.100/components/minecraft.armor.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:armor",
|
||||
"title": "Armor",
|
||||
"description": "The armor item componenent determines the amount of protection you have in your armor item.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["protection", "texture_type"],
|
||||
"properties": {
|
||||
"protection": {
|
||||
"type": "number",
|
||||
"description": "How much protection does the armor item have.",
|
||||
"title": "protection"
|
||||
},
|
||||
"texture_type": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.",
|
||||
"title": "texture type"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:block_placer",
|
||||
"title": "Block placer",
|
||||
"description": "Planter item component. planter items are items that can be planted.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["block"],
|
||||
"definitions": {
|
||||
"use_on_item": {
|
||||
"type": "object",
|
||||
"title": "Allowed block",
|
||||
"description": "A block descriptor that allows to be placed",
|
||||
"properties": {
|
||||
"tags": {
|
||||
"title": "Tags",
|
||||
"description": "Tags",
|
||||
"$ref": "../../../../general/molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"block": {
|
||||
"type": "string",
|
||||
"description": "Set the placement block name for the planter item.",
|
||||
"title": "protection"
|
||||
},
|
||||
"use_on": {
|
||||
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
|
||||
"title": "Use on",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/use_on_item"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
behaviour/items/1.16.100/components/minecraft.cooldown.json
Normal file
21
behaviour/items/1.16.100/components/minecraft.cooldown.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:cooldown",
|
||||
"title": "Cooldown",
|
||||
"description": "Cool down time for a component. After you use an item it becomes unusable for the duration specified by the 'cool down time' setting in this component.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["category", "duration"],
|
||||
"properties": {
|
||||
"category": {
|
||||
"type": "string",
|
||||
"description": "The type of cool down for this item.",
|
||||
"title": "Category"
|
||||
},
|
||||
"duration": {
|
||||
"description": "The duration of time this item will spend cooling down before becoming usable again.",
|
||||
"title": "Duration",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
65
behaviour/items/1.16.100/components/minecraft.digger.json
Normal file
65
behaviour/items/1.16.100/components/minecraft.digger.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:digger",
|
||||
"title": "Digger",
|
||||
"description": "Digger item. Component put on items that dig.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["destroy_speeds"],
|
||||
"properties": {
|
||||
"use_efficiency": {
|
||||
"title": "Use efficiency",
|
||||
"type": "boolean",
|
||||
"description": "Use efficiency? Default is set to false.",
|
||||
"default": "false"
|
||||
},
|
||||
"destroy_speeds": {
|
||||
"type": "array",
|
||||
"title": "Destroy speeds",
|
||||
"description": "Destroy speed per block.",
|
||||
"items": {
|
||||
"title": "Destroy speed",
|
||||
"description": "Destroy speed per block.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"speed": {
|
||||
"title": "Speed",
|
||||
"description": "Speed",
|
||||
"type": "number"
|
||||
},
|
||||
"on_dig": {
|
||||
"type": "string",
|
||||
"title": "On dig",
|
||||
"description": "Trigger for when you dig a block that isn't listed in destroy_speeds"
|
||||
},
|
||||
"block": {
|
||||
"title": "Block",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The block identifier"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "Block descriptor",
|
||||
"properties": {
|
||||
"any_tag": {
|
||||
"type": "array",
|
||||
"title": "Any block tag",
|
||||
"description": "The block tag",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Block tag"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:display_name",
|
||||
"title": "display_name",
|
||||
"description": "Display Name item component. Display Names display the name of an item.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"title": "Value",
|
||||
"description": "Set the display name for an item."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:durability",
|
||||
"title": "Durability",
|
||||
"description": "Durability item component: how much damage can this item take before breaking.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["damage_chance"],
|
||||
"properties": {
|
||||
"damage_chance": {
|
||||
"type": "object",
|
||||
"title": "Damange chance",
|
||||
"description": "Damange chance",
|
||||
"additionalProperties": false,
|
||||
"required": ["min", "max"],
|
||||
"properties": {
|
||||
"min": {
|
||||
"title": "Min",
|
||||
"type": "integer",
|
||||
"description": "The minimum"
|
||||
},
|
||||
"max": {
|
||||
"title": "Max",
|
||||
"type": "integer",
|
||||
"description": "The minimum"
|
||||
}
|
||||
}
|
||||
},
|
||||
"max_durability": {
|
||||
"title": "Max durability",
|
||||
"description": "Max durability is the amount of damage that this item can take before breaking.",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:dye_powder",
|
||||
"title": "Dye powder",
|
||||
"description": "Dye powder, there are 16 kinds of dye.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["color"],
|
||||
"properties": {
|
||||
"color": {
|
||||
"type": "string",
|
||||
"title": "Color",
|
||||
"description": "Defines what color the dye is.",
|
||||
"enum": [
|
||||
"brown",
|
||||
"white",
|
||||
"black",
|
||||
"blue",
|
||||
"cyan",
|
||||
"gray",
|
||||
"green",
|
||||
"lightblue",
|
||||
"silver",
|
||||
"lime",
|
||||
"magenta",
|
||||
"pink",
|
||||
"purple",
|
||||
"red",
|
||||
"yellow"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.food.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.food.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.fuel.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.fuel.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.icon.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.icon.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.on_use.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.on_use.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.on_use_on.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.on_use_on.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.shooter.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.shooter.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.throwable.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.throwable.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
11
behaviour/items/1.16.100/components/minecraft.weapon.json
Normal file
11
behaviour/items/1.16.100/components/minecraft.weapon.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
|
||||
"title": "",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [""],
|
||||
"properties": {
|
||||
}
|
||||
}
|
||||
76
behaviour/items/1.16.100/items.json
Normal file
76
behaviour/items/1.16.100/items.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.items",
|
||||
"description": "Minecraft items 1.16.100",
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"minecraft:item": {
|
||||
"additionalProperties": false,
|
||||
"required": ["description"],
|
||||
"type": "object",
|
||||
"description": "TODO",
|
||||
"title": "Minecraft item",
|
||||
"properties": {
|
||||
"description": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Description",
|
||||
"description": "TODO",
|
||||
"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:armor": { "$ref": "./components/minecraft.armor.json" },
|
||||
"minecraft:block_placer": { "$ref": "./components/minecraft.block_placer.json" },
|
||||
"minecraft:cooldown": { "$ref": "./components/minecraft.cooldown.json" },
|
||||
"minecraft:digger": { "$ref": "./components/minecraft.digger.json" },
|
||||
"minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" },
|
||||
"minecraft:durability": { "$ref": "./components/minecraft.durability.json" },
|
||||
"minecraft:dye_powder": { "$ref": "./components/minecraft.dye_powder.json" },
|
||||
"minecraft:entity_placer": { "$ref": "./components/minecraft.entity_placer.json" },
|
||||
"minecraft:food": { "$ref": "./components/minecraft.food.json" },
|
||||
"minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" },
|
||||
"minecraft:icon": { "$ref": "./components/minecraft.icon.json" },
|
||||
"minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" },
|
||||
"minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" },
|
||||
"minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" },
|
||||
"minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" },
|
||||
"minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" },
|
||||
"minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" },
|
||||
"minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" },
|
||||
"minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" },
|
||||
"minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user