Adding item components
This commit is contained in:
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": {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user