This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -5,11 +5,7 @@
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"format_version": { "type": "string", "description": "TODO description", "title": "TODO Title" },
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
@@ -19,14 +15,7 @@
"description": {
"additionalProperties": false,
"type": "object",
"properties": {
"identifier": {
"title": "Identifier",
"type": "string",
"description": "TODO",
"$ref": "../../../general/item/identifier.json"
}
}
"properties": { "identifier": { "title": "Identifier", "type": "string", "description": "TODO", "$ref": "../../../general/item/identifier.json" } }
},
"components": {
"additionalProperties": false,
@@ -38,128 +27,46 @@
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED",
"properties": {
"black_bars_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"black_bars_screen_ratio": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"shutter_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"picture_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"slide_away_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"black_bars_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"black_bars_screen_ratio": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"shutter_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"picture_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"slide_away_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
},
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health."
},
"minecraft:hand_equipped": {
"type": "boolean",
"title": "Hand equipped",
"description": "Is this a hand equipped item."
},
"minecraft:stacked_by_data": {
"type": "boolean",
"description": "Stacked by data aux value or not?"
},
"minecraft:foil": {
"type": "boolean",
"description": "Foil or glint."
},
"minecraft:block": {
"type": "string",
"description": "Block name, leave blank for no block."
},
"minecraft:max_stack_size": {
"type": "integer",
"description": "Max stack size.",
"minimum": 0
},
"minecraft:use_duration": {
"type": "integer",
"description": "How long to use before item is done being used."
},
"minecraft:max_damage": { "type": "integer", "description": "Max damage item has, this is used like item max health." },
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." },
"minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint." },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block." },
"minecraft:max_stack_size": { "type": "integer", "description": "Max stack size.", "minimum": 0 },
"minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used." },
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
"properties": {
"nutrition": {
"type": "integer",
"description": "Nutrition amount."
},
"nutrition": { "type": "integer", "description": "Nutrition amount." },
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"]
},
"using_converts_to": {
"type": "string",
"description": "After using, item converts it to this item.",
"$ref": "../../../general/item/identifier.json"
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport' or 'none'.",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": {
"$ref": "../../../general/array_3_number.json"
},
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": {
"type": "integer",
"description": "Cooldown time in ticks."
},
"can_always_eat": {
"type": "boolean",
"description": "Can always eat this item? true or false."
},
"using_converts_to": { "type": "string", "description": "After using, item converts it to this item.", "$ref": "../../../general/item/identifier.json" },
"on_use_action": { "type": "string", "description": "'chorus_teleport' or 'none'.", "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] },
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
"cooldown_type": { "type": "string", "description": "'chorusfruit' or 'none'.", "enum": ["chorusfruit", "none"] },
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false." },
"effects": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"chance": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"duration": {
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"amplifier": {
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"name": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"chance": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"duration": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"amplifier": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
}
}
@@ -169,23 +76,12 @@
"additionalProperties": false,
"type": "object",
"properties": {
"crop_result": {
"type": "string"
},
"crop_result": { "type": "string" },
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"oneOf": [
{
"type": "string",
"$ref": "../../../general/blocks_item.json"
},
{
"type": "array",
"items": {
"type": "string",
"$ref": "../../../general/blocks_item.json"
}
}
{ "type": "string", "$ref": "../../../general/blocks_item.json" },
{ "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } }
]
}
}
@@ -193,7 +89,7 @@
}
}
},
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -5,11 +5,7 @@
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"format_version": { "type": "string", "description": "TODO description", "title": "TODO Title" },
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
@@ -21,14 +17,7 @@
"type": "object",
"title": "Description",
"description": "TODO",
"properties": {
"identifier": {
"title": "Identifier",
"type": "string",
"description": "TODO",
"$ref": "../../../general/item/identifier.json"
}
}
"properties": { "identifier": { "title": "Identifier", "type": "string", "description": "TODO", "$ref": "../../../general/item/identifier.json" } }
},
"components": {
"additionalProperties": false,
@@ -40,79 +29,26 @@
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED",
"properties": {
"black_bars_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"black_bars_screen_ratio": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"shutter_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"picture_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"slide_away_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"black_bars_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"black_bars_screen_ratio": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"shutter_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"picture_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"slide_away_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
},
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": {
"type": "boolean",
"title": "Hand equipped",
"description": "Is this a hand equipped item."
},
"minecraft:stacked_by_data": {
"type": "boolean",
"description": "Stacked by data aux value or not?",
"title": "UNDOCUMANTED"
},
"minecraft:foil": {
"type": "boolean",
"description": "Foil or glint.",
"title": "UNDOCUMANTED"
},
"minecraft:block": {
"type": "string",
"description": "Block name, leave blank for no block.",
"title": "UNDOCUMANTED"
},
"minecraft:max_stack_size": {
"type": "integer",
"description": "Max stack size.",
"title": "UNDOCUMANTED",
"minimum": 0
},
"minecraft:use_duration": {
"type": "integer",
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:max_damage": { "type": "integer", "description": "Max damage item has, this is used like item max health.", "title": "UNDOCUMANTED" },
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." },
"minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "UNDOCUMANTED" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "UNDOCUMANTED" },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "UNDOCUMANTED" },
"minecraft:max_stack_size": { "type": "integer", "description": "Max stack size.", "title": "UNDOCUMANTED", "minimum": 0 },
"minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used.", "title": "UNDOCUMANTED" },
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
"additionalProperties": false,
"properties": {
"nutrition": {
"type": "integer",
"description": "Nutrition amount.",
"title": "UNDOCUMANTED"
},
"nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "UNDOCUMANTED" },
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
@@ -131,64 +67,28 @@
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": {
"$ref": "../../../general/array_3_number.json",
"title": "UNDOCUMANTED"
},
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": {
"type": "integer",
"description": "Cooldown time in ticks.",
"title": "UNDOCUMANTED"
},
"can_always_eat": {
"type": "boolean",
"description": "Can always eat this item? true or false.",
"title": "UNDOCUMANTED"
},
"on_use_range": { "$ref": "../../../general/array_3_number.json", "title": "UNDOCUMANTED" },
"cooldown_type": { "type": "string", "description": "'chorusfruit' or 'none'.", "title": "UNDOCUMANTED", "enum": ["chorusfruit", "none"] },
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "UNDOCUMANTED" },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "UNDOCUMANTED" },
"effects": {
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"chance": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"duration": {
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"amplifier": {
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"name": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"chance": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"duration": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"amplifier": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
}
},
"remove_effects": {
"type": "array",
"description": "Can always eat this item? true or false.",
"title": "Remove effects",
"items": {
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"title": "Remove Effects",
"items": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
}
},
@@ -196,26 +96,13 @@
"additionalProperties": false,
"type": "object",
"properties": {
"crop_result": {
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"crop_result": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [
{
"type": "string",
"$ref": "../../../general/blocks_item.json"
},
{
"type": "array",
"items": {
"type": "string",
"$ref": "../../../general/blocks_item.json"
}
}
{ "type": "string", "$ref": "../../../general/blocks_item.json" },
{ "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } }
]
}
}
@@ -223,7 +110,7 @@
}
}
},
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -5,11 +5,7 @@
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"format_version": { "type": "string", "description": "TODO description", "title": "TODO Title" },
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
@@ -38,7 +34,7 @@
"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"
"title": "Is Experimental"
}
}
},
@@ -52,78 +48,25 @@
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED",
"properties": {
"black_bars_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"black_bars_screen_ratio": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"shutter_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"picture_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"slide_away_duration": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"black_bars_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"black_bars_screen_ratio": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"shutter_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"picture_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"slide_away_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
},
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": {
"type": "boolean",
"title": "Hand equipped",
"description": "Is this a hand equipped item."
},
"minecraft:stacked_by_data": {
"type": "boolean",
"description": "Stacked by data aux value or not?",
"title": "UNDOCUMANTED"
},
"minecraft:foil": {
"type": "boolean",
"description": "Foil or glint.",
"title": "UNDOCUMANTED"
},
"minecraft:block": {
"type": "string",
"description": "Block name, leave blank for no block.",
"title": "UNDOCUMANTED"
},
"minecraft:max_stack_size": {
"type": "integer",
"description": "Max stack size.",
"title": "UNDOCUMANTED",
"minimum": 0
},
"minecraft:use_duration": {
"type": "integer",
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:max_damage": { "type": "integer", "description": "Max damage item has, this is used like item max health.", "title": "UNDOCUMANTED" },
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." },
"minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "UNDOCUMANTED" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "UNDOCUMANTED" },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "UNDOCUMANTED" },
"minecraft:max_stack_size": { "type": "integer", "description": "Max stack size.", "title": "UNDOCUMANTED", "minimum": 0 },
"minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used.", "title": "UNDOCUMANTED" },
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
"properties": {
"nutrition": {
"type": "integer",
"description": "Nutrition amount.",
"title": "UNDOCUMANTED"
},
"nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "UNDOCUMANTED" },
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
@@ -142,25 +85,10 @@
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": {
"$ref": "../../../general/array_3_number.json"
},
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": {
"type": "integer",
"description": "Cooldown time in ticks.",
"title": "UNDOCUMANTED"
},
"can_always_eat": {
"type": "boolean",
"description": "Can always eat this item? true or false.",
"title": "UNDOCUMANTED"
},
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
"cooldown_type": { "type": "string", "description": "'chorusfruit' or 'none'.", "title": "UNDOCUMANTED", "enum": ["chorusfruit", "none"] },
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "UNDOCUMANTED" },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "UNDOCUMANTED" },
"effects": {
"type": "array",
"description": "UNDOCUMANTED",
@@ -169,26 +97,10 @@
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"chance": {
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"duration": {
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"amplifier": {
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
"name": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"chance": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"duration": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"amplifier": { "type": "integer", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
}
}
@@ -198,26 +110,13 @@
"additionalProperties": false,
"type": "object",
"properties": {
"crop_result": {
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"crop_result": { "type": "string", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" },
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [
{
"type": "string",
"$ref": "../../../general/blocks_item.json"
},
{
"type": "array",
"items": {
"type": "string",
"$ref": "../../../general/blocks_item.json"
}
}
{ "type": "string", "$ref": "../../../general/blocks_item.json" },
{ "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } }
]
}
}
@@ -225,7 +124,7 @@
}
}
},
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -7,16 +7,12 @@
"additionalProperties": false,
"required": ["protection", "texture_type"],
"properties": {
"protection": {
"type": "number",
"description": "How much protection does the armor item have.",
"title": "Protection"
},
"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"
"title": "Texture Type"
}
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:block_placer",
"title": "Block placer",
"title": "Block Placer",
"description": "Planter item component. planter items are items that can be planted.",
"type": "object",
"additionalProperties": false,
@@ -9,30 +9,18 @@
"definitions": {
"use_on_item": {
"type": "object",
"title": "Allowed block",
"title": "Allowed Block",
"description": "A block descriptor that allows to be placed",
"properties": {
"tags": {
"title": "Tags",
"description": "Tags",
"$ref": "../../../../molang/1.8.0/string.json"
}
}
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/1.8.0/string.json" } }
}
},
"properties": {
"block": {
"type": "string",
"description": "Set the placement block name for the planter item.",
"title": "Protection"
},
"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",
"title": "Use On",
"type": "array",
"items": {
"$ref": "#/definitions/use_on_item"
}
"items": { "$ref": "#/definitions/use_on_item" }
}
}
}

View File

@@ -7,15 +7,7 @@
"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"
}
"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" }
}
}

View File

@@ -7,54 +7,28 @@
"additionalProperties": false,
"required": ["destroy_speeds"],
"properties": {
"use_efficiency": {
"title": "Use efficiency",
"type": "boolean",
"description": "Use efficiency? Default is set to false.",
"default": "false"
},
"use_efficiency": { "title": "Use Efficiency", "type": "boolean", "description": "Use efficiency? Default is set to false.", "default": "false" },
"destroy_speeds": {
"type": "array",
"title": "Destroy speeds",
"title": "Destroy Speeds",
"description": "Destroy speed per block.",
"items": {
"title": "Destroy speed",
"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"
},
"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": "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"
}
}
}
"properties": { "any_tag": { "type": "array", "title": "Any Block Tag", "description": "The block tag", "items": { "type": "string", "title": "Block Tag" } } }
}
]
}

View File

@@ -1,16 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:display_name",
"title": "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."
}
}
"properties": { "value": { "type": "string", "title": "Value", "description": "Set the display name for an item." } }
}

View File

@@ -9,27 +9,12 @@
"properties": {
"damage_chance": {
"type": "object",
"title": "Damange chance",
"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"
}
}
"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"
}
"max_durability": { "title": "Max Durability", "description": "Max durability is the amount of damage that this item can take before breaking.", "type": "number" }
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:dye_powder",
"title": "Dye powder",
"title": "Dye Powder",
"description": "Dye powder, there are 16 kinds of dye.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,34 +1,24 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:entity_placer",
"title": "Entity placer",
"title": "Entity Placer",
"description": "Entity placer item component. You can specifiy allowed blocks that the item is restricted to.",
"type": "object",
"additionalProperties": false,
"required": ["entity"],
"properties": {
"entity": {
"type": "string",
"title": "Entity",
"description": "The entity to be placed in the world."
},
"entity": { "type": "string", "title": "Entity", "description": "The entity to be placed in the world." },
"dispense_on": {
"type": "array",
"title": "Dispense on",
"title": "Dispense On",
"description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.",
"items": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
"items": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" }
},
"use_on": {
"type": "array",
"title": "Use on",
"title": "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.",
"items": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
"items": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" }
}
}
}

View File

@@ -7,44 +7,27 @@
"additionalProperties": false,
"properties": {
"can_always_eat": {
"title": "Can always eat",
"title": "Can Always Eat",
"description": "If true you can always eat this item (even when not hungry), defaults to false.",
"type": "boolean",
"default": false
},
"nutrition": {
"title": "Nutrition",
"description": "How much nutrition does this food item give the player when eaten.",
"type": "number"
},
"nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "number" },
"on_consume": {
"title": "On consume",
"title": "On Consume",
"description": "UNDOCUMENATED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
}
},
"saturation_modifier": {
"title": "Saturation modifier",
"title": "Saturation Modifier",
"description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",
"type": "number"
},
"using_converts_to": {
"title": "Using converts to",
"description": "When used, convert the *this* item to the one specified by 'using_converts_to'.",
"type": "string"
}
"using_converts_to": { "title": "Using Converts To", "description": "When used, convert the *this* item to the one specified by 'using_converts_to'.", "type": "string" }
}
}

View File

@@ -6,11 +6,5 @@
"type": "object",
"additionalProperties": false,
"required": ["duration"],
"properties": {
"duration": {
"type": "number",
"title": "Duration",
"description": "How long in seconds will this fuel cook items for."
}
}
"properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } }
}

View File

@@ -7,17 +7,8 @@
"additionalProperties": false,
"required": ["texture"],
"properties": {
"frame": {
"type": "string",
"title": "Frame",
"description": "An index or expression for which frame of the icon to display. Default resolves to 0.",
"default": 0
},
"legacy_id": {
"type": "string",
"title": "Texture",
"description": "Legacy texture id for older item icons."
},
"frame": { "type": "string", "title": "Frame", "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", "default": 0 },
"legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." },
"texture": {
"type": "string",
"title": "Texture",

View File

@@ -1,16 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:knockback_resistance",
"title": "Knockback resistance",
"title": "Knockback Resistance",
"description": "Knockback Resistance Item. Component put on items that provide knockback resistance.",
"type": "object",
"additionalProperties": false,
"required": ["protection"],
"properties": {
"protection": {
"title": "Protection",
"description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"type": "number"
}
}
"properties": { "protection": { "title": "Protection", "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", "type": "number" } }
}

View File

@@ -1,29 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:on_use",
"title": "On use",
"title": "On Use",
"description": "The on_use item component allows you to receive an event when the item is used.",
"type": "object",
"additionalProperties": false,
"required": ["on_use"],
"properties": {
"on_use": {
"title": "On use",
"title": "On Use",
"description": "Event trigger for when the item is used.",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
}
}
}

View File

@@ -1,29 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
"title": "On use on",
"title": "On Use On",
"description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.",
"type": "object",
"additionalProperties": false,
"required": ["on_use_on"],
"properties": {
"on_use": {
"title": "On use",
"title": "On Use",
"description": "Event trigger for when the item is used.",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["block"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["block"] }
}
}
}

View File

@@ -7,15 +7,7 @@
"additionalProperties": false,
"required": ["projectile_entity"],
"properties": {
"minimum_critical_power": {
"type": "number",
"title": "Minimum critical power",
"description": "How long you must charge a projectile for it to critically hit."
},
"projectile_entity": {
"title": "Projectile entity",
"description": "The entity to be fired as a projectile.",
"type": "string"
}
"minimum_critical_power": { "type": "number", "title": "Minimum Critical Power", "description": "How long you must charge a projectile for it to critically hit." },
"projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" }
}
}

View File

@@ -1,20 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:render_offsets",
"title": "Render offsets",
"title": "Render Offsets",
"description": "Render offsets component: optional values can be given to offset the way the item is rendered.",
"type": "object",
"additionalProperties": false,
"properties": {
"main_hand": {
"title": "Main hand",
"description": "Right hand transform data.",
"type": "string"
},
"off_hand": {
"title": "Off hand",
"description": "Left hand transform data.",
"type": "string"
}
"main_hand": { "title": "Main Hand", "description": "Right hand transform data.", "type": "string" },
"off_hand": { "title": "Off Hand", "description": "Left hand transform data.", "type": "string" }
}
}

View File

@@ -6,13 +6,9 @@
"type": "object",
"additionalProperties": false,
"properties": {
"on_repaired": {
"title": "On repaired",
"description": "Event that is called when this item has been repaired.",
"type": "object"
},
"on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" },
"repair_items": {
"title": "Repair items",
"title": "Repair Items",
"description": "Repair item entries.",
"type": "array",
"items": {
@@ -21,21 +17,8 @@
"description": "UNDOCUMENATED",
"additionalProperties": false,
"properties": {
"items": {
"title": "Items",
"description": "UNDOCUMENATED",
"type": "array",
"items": {
"type": "string",
"title": "Item",
"description": "UNDOCUMENATED"
}
},
"repair_amount": {
"title": "Repair amount",
"description": "UNDOCUMENATED",
"$ref": "../../../../molang/1.8.0/number.json"
}
"items": { "title": "Items", "description": "UNDOCUMENATED", "type": "array", "items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" } },
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" }
}
}
}

View File

@@ -16,55 +16,19 @@
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"item": {
"title": "Item",
"description": "UNDOCUMENTATED",
"type": "string"
},
"use_offhand": {
"title": "Use offhand",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"search_inventory": {
"title": "Search inventory",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"use_in_creative": {
"title": "Use in creative",
"description": "UNDOCUMENTATED",
"type": "boolean"
}
"item": { "title": "Item", "description": "UNDOCUMENTATED", "type": "string" },
"use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTATED", "type": "boolean" },
"search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTATED", "type": "boolean" },
"use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTATED", "type": "boolean" }
}
}
},
"charge_on_draw": {
"title": "Charge on draw",
"description": "Charge on draw? Default is set to false.",
"default": false,
"type": "boolean"
},
"launch_power_scale": {
"title": "Launch power scale",
"description": "Launch power scale. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": {
"title": "Max draw duration",
"description": "Draw Duration. Default is set to 0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max launch power",
"description": "Launch power. Default is set to 1.0.",
"default": 0,
"type": "number"
},
"charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" },
"launch_power_scale": { "title": "Launch Power Scale", "description": "Launch power scale. Default is set to 1.0.", "default": 1.0, "type": "number" },
"max_draw_duration": { "title": "Max Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" },
"scale_power_by_draw_duration": {
"title": "Scale power by draw duration",
"title": "Scale Power By Draw Duration",
"description": "Scale power by draw duration? Default is set to false.",
"default": false,
"type": "boolean"

View File

@@ -7,37 +7,22 @@
"additionalProperties": false,
"properties": {
"do_swing_animation": {
"title": "Do swing animation",
"title": "Do Swing Animation",
"description": "Whether the item should use the swing animation when thrown. Default is set to false.",
"default": false,
"type": "boolean"
},
"launch_power_scale": {
"title": "Launch power scale",
"title": "Launch Power Scale",
"description": "The scale at which the power of the throw increases. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": {
"title": "Max draw duration",
"description": "The maximum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"min_draw_duration": {
"title": "Min draw duration",
"description": "The minimum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max launch power",
"description": "The maximum power to launch the throwable item. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": { "title": "Max Draw Duration", "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"min_draw_duration": { "title": "Min Draw Duration", "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "The maximum power to launch the throwable item. Default is set to 1.0.", "default": 1.0, "type": "number" },
"scale_power_by_draw_duration": {
"title": "Scale power by draw duration",
"title": "Scale Power By Draw Duration",
"description": "Whether or not the power of the throw increases with duration charged. Default is set to false.",
"default": false,
"type": "boolean"

View File

@@ -7,55 +7,28 @@
"additionalProperties": false,
"properties": {
"on_hit_block": {
"title": "On hit block",
"title": "On Hit Block",
"description": "Trigger for letting you know when this item is used to hit a block",
"type": "object",
"additionalProperties": false,
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
},
"on_hurt_entity": {
"title": "On hurt entity",
"title": "On Hurt Entity",
"description": "Trigger for letting you know when this item is used to hurt another mob",
"type": "object",
"additionalProperties": false,
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self", "holder"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self", "holder"] }
},
"on_not_hurt_entity": {
"title": "On not hurt entity",
"title": "On Not Hurt Entity",
"description": "Trigger for letting you know when this item hit another actor, but didn't do damage",
"type": "object",
"additionalProperties": false,
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
}
}
}

View File

@@ -6,11 +6,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"dispensable": {
"title": "Dispensable",
"description": "",
"type": "boolean"
},
"dispensable": { "title": "Dispensable", "description": "", "type": "boolean" },
"slot": {
"title": "Slot",
"description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest",

View File

@@ -4,14 +4,8 @@
"title": "Events",
"description": "UNDOCUMENTATED",
"type": "object",
"properties": {
"on_consume": {
"$ref": "#/definitions/event_base"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
},
"properties": { "on_consume": { "$ref": "#/definitions/event_base" } },
"additionalProperties": { "$ref": "#/definitions/event_base" },
"definitions": {
"event_base": {
"title": "Event",
@@ -24,12 +18,7 @@
"title": "Sequence",
"description": "UNDOCUMENTATED",
"type": "array",
"items": {
"title": "Sequence",
"description": "UNDOCUMENTATED",
"type": "object",
"$ref": "#/definitions/event_functions"
}
"items": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/event_functions" }
},
"randomize": {
"title": "Randomize",
@@ -41,38 +30,17 @@
"type": "object",
"$ref": "#/definitions/event_functions",
"required": ["weight"],
"properties": {
"weight": {
"title": "Weight",
"description": "UNDOCUMENTATED",
"type": "integer",
"minimum": 0
}
}
"properties": { "weight": { "title": "Weight", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } }
}
},
"run_command": {
"title": "Run command",
"title": "Run Command",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"command": {
"title": "Command",
"description": "UNDOCUMENTATED",
"type": "array",
"items": {
"type": "string",
"title": "Command",
"description": "UNDOCUMENTATED"
}
},
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["other"]
}
"command": { "title": "Command", "description": "UNDOCUMENTATED", "type": "array", "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTATED" } },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["other"] }
}
}
}

View File

@@ -1,31 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.events.add_mob_effect",
"title": "Add mob effect",
"title": "Add Mob Effect",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"effect": {
"type": "string",
"title": "Effect",
"description": "UNDOCUMENTATED"
},
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["holder"]
},
"duration": {
"type": "number",
"title": "Duration",
"description": "UNDOCUMENTATED"
},
"amplifier": {
"type": "number",
"title": "Amplifier",
"description": "UNDOCUMENTATED"
}
"effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTATED" },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["holder"] },
"duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTATED" },
"amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -6,16 +6,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"title": "Type",
"description": "UNDOCUMENTATED",
"enum": ["magic"]
},
"amount": {
"type": "number",
"title": "Amount",
"description": "UNDOCUMENTATED"
}
"type": { "type": "string", "title": "Type", "description": "UNDOCUMENTATED", "enum": ["magic"] },
"amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.events.decrement_stack",
"title": "Decrement stack",
"title": "Decrement Stack",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false

View File

@@ -1,21 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.events.remove_mob_effect",
"title": "Remove mob effect",
"title": "Remove Mob Effect",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"effect": {
"type": "string",
"title": "Effect",
"description": "UNDOCUMENTATED"
},
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["holder"]
}
"effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTATED" },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["holder"] }
}
}

View File

@@ -6,20 +6,8 @@
"type": "object",
"additionalProperties": false,
"properties": {
"angle_offset": {
"type": "number",
"title": "Angle offset",
"description": "UNDOCUMENTATED"
},
"launch_power": {
"type": "number",
"title": "Launch power",
"description": "UNDOCUMENTATED"
},
"projectile": {
"type": "string",
"title": "Projectile",
"description": "UNDOCUMENTATED"
}
"angle_offset": { "type": "number", "title": "Angle Offset", "description": "UNDOCUMENTATED" },
"launch_power": { "type": "number", "title": "Launch Power", "description": "UNDOCUMENTATED" },
"projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -6,15 +6,10 @@
"type": "object",
"additionalProperties": false,
"properties": {
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["holder"]
},
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["holder"] },
"max_range": {
"type": "array",
"title": "Max range",
"title": "Max Range",
"description": "UNDOCUMENTATED",
"items": [
{ "type": "number", "title": "X", "description": "UNDOCUMENTATED" },

View File

@@ -1,15 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.events.transform_item",
"title": "Transform item",
"title": "Transform Item",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"transform": {
"title": "Transform",
"description": "UNDOCUMENTATED",
"type": "string"
}
}
"properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTATED", "type": "string" } }
}

View File

@@ -5,11 +5,7 @@
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"format_version": { "type": "string", "description": "TODO description", "title": "TODO Title" },
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
@@ -39,7 +35,7 @@
"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"
"title": "Is Experimental"
}
}
},
@@ -71,9 +67,7 @@
"minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }
}
},
"events": {
"$ref": "./events.json"
}
"events": { "$ref": "./events.json" }
}
}
}

View File

@@ -7,16 +7,12 @@
"additionalProperties": false,
"required": ["protection", "texture_type"],
"properties": {
"protection": {
"type": "number",
"description": "How much protection does the armor item have.",
"title": "Protection"
},
"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"
"title": "Texture Type"
}
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:block_placer",
"title": "Block placer",
"title": "Block Placer",
"description": "Planter item component. planter items are items that can be planted.",
"type": "object",
"additionalProperties": false,
@@ -9,30 +9,18 @@
"definitions": {
"use_on_item": {
"type": "object",
"title": "Allowed block",
"title": "Allowed Block",
"description": "A block descriptor that allows to be placed",
"properties": {
"tags": {
"title": "Tags",
"description": "Tags",
"$ref": "../../../../molang/1.8.0/string.json"
}
}
"properties": { "tags": { "title": "Tags", "description": "Tags", "$ref": "../../../../molang/1.8.0/string.json" } }
}
},
"properties": {
"block": {
"type": "string",
"description": "Set the placement block name for the planter item.",
"title": "Protection"
},
"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",
"title": "Use On",
"type": "array",
"items": {
"$ref": "#/definitions/use_on_item"
}
"items": { "$ref": "#/definitions/use_on_item" }
}
}
}

View File

@@ -7,15 +7,7 @@
"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"
}
"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" }
}
}

View File

@@ -7,54 +7,28 @@
"additionalProperties": false,
"required": ["destroy_speeds"],
"properties": {
"use_efficiency": {
"title": "Use efficiency",
"type": "boolean",
"description": "Use efficiency? Default is set to false.",
"default": "false"
},
"use_efficiency": { "title": "Use Efficiency", "type": "boolean", "description": "Use efficiency? Default is set to false.", "default": "false" },
"destroy_speeds": {
"type": "array",
"title": "Destroy speeds",
"title": "Destroy Speeds",
"description": "Destroy speed per block.",
"items": {
"title": "Destroy speed",
"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"
},
"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": "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"
}
}
}
"properties": { "any_tag": { "type": "array", "title": "Any Block Tag", "description": "The block tag", "items": { "type": "string", "title": "Block Tag" } } }
}
]
}

View File

@@ -1,16 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:display_name",
"title": "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."
}
}
"properties": { "value": { "type": "string", "title": "Value", "description": "Set the display name for an item." } }
}

View File

@@ -9,27 +9,12 @@
"properties": {
"damage_chance": {
"type": "object",
"title": "Damange chance",
"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"
}
}
"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"
}
"max_durability": { "title": "Max Durability", "description": "Max durability is the amount of damage that this item can take before breaking.", "type": "number" }
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:dye_powder",
"title": "Dye powder",
"title": "Dye Powder",
"description": "Dye powder, there are 16 kinds of dye.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,34 +1,24 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:entity_placer",
"title": "Entity placer",
"title": "Entity Placer",
"description": "Entity placer item component. You can specifiy allowed blocks that the item is restricted to.",
"type": "object",
"additionalProperties": false,
"required": ["entity"],
"properties": {
"entity": {
"type": "string",
"title": "Entity",
"description": "The entity to be placed in the world."
},
"entity": { "type": "string", "title": "Entity", "description": "The entity to be placed in the world." },
"dispense_on": {
"type": "array",
"title": "Dispense on",
"title": "Dispense On",
"description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.",
"items": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
"items": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" }
},
"use_on": {
"type": "array",
"title": "Use on",
"title": "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.",
"items": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
"items": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" }
}
}
}

View File

@@ -7,44 +7,27 @@
"additionalProperties": false,
"properties": {
"can_always_eat": {
"title": "Can always eat",
"title": "Can Always Eat",
"description": "If true you can always eat this item (even when not hungry), defaults to false.",
"type": "boolean",
"default": false
},
"nutrition": {
"title": "Nutrition",
"description": "How much nutrition does this food item give the player when eaten.",
"type": "number"
},
"nutrition": { "title": "Nutrition", "description": "How much nutrition does this food item give the player when eaten.", "type": "number" },
"on_consume": {
"title": "On consume",
"title": "On Consume",
"description": "UNDOCUMENATED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
}
},
"saturation_modifier": {
"title": "Saturation modifier",
"title": "Saturation Modifier",
"description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",
"type": "number"
},
"using_converts_to": {
"title": "Using converts to",
"description": "When used, convert the *this* item to the one specified by 'using_converts_to'.",
"type": "string"
}
"using_converts_to": { "title": "Using Converts To", "description": "When used, convert the *this* item to the one specified by 'using_converts_to'.", "type": "string" }
}
}

View File

@@ -6,11 +6,5 @@
"type": "object",
"additionalProperties": false,
"required": ["duration"],
"properties": {
"duration": {
"type": "number",
"title": "Duration",
"description": "How long in seconds will this fuel cook items for."
}
}
"properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } }
}

View File

@@ -7,17 +7,8 @@
"additionalProperties": false,
"required": ["texture"],
"properties": {
"frame": {
"type": "string",
"title": "Frame",
"description": "An index or expression for which frame of the icon to display. Default resolves to 0.",
"default": 0
},
"legacy_id": {
"type": "string",
"title": "Texture",
"description": "Legacy texture id for older item icons."
},
"frame": { "type": "string", "title": "Frame", "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", "default": 0 },
"legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." },
"texture": {
"type": "string",
"title": "Texture",

View File

@@ -1,16 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:knockback_resistance",
"title": "Knockback resistance",
"title": "Knockback Resistance",
"description": "Knockback Resistance Item. Component put on items that provide knockback resistance.",
"type": "object",
"additionalProperties": false,
"required": ["protection"],
"properties": {
"protection": {
"title": "Protection",
"description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"type": "number"
}
}
"properties": { "protection": { "title": "Protection", "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", "type": "number" } }
}

View File

@@ -1,29 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:on_use",
"title": "On use",
"title": "On Use",
"description": "The on_use item component allows you to receive an event when the item is used.",
"type": "object",
"additionalProperties": false,
"required": ["on_use"],
"properties": {
"on_use": {
"title": "On use",
"title": "On Use",
"description": "Event trigger for when the item is used.",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
}
}
}

View File

@@ -1,29 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:",
"title": "On use on",
"title": "On Use On",
"description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.",
"type": "object",
"additionalProperties": false,
"required": ["on_use_on"],
"properties": {
"on_use": {
"title": "On use",
"title": "On Use",
"description": "Event trigger for when the item is used.",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["block"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["block"] }
}
}
}

View File

@@ -7,15 +7,7 @@
"additionalProperties": false,
"required": ["projectile_entity"],
"properties": {
"minimum_critical_power": {
"type": "number",
"title": "Minimum critical power",
"description": "How long you must charge a projectile for it to critically hit."
},
"projectile_entity": {
"title": "Projectile entity",
"description": "The entity to be fired as a projectile.",
"type": "string"
}
"minimum_critical_power": { "type": "number", "title": "Minimum Critical Power", "description": "How long you must charge a projectile for it to critically hit." },
"projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" }
}
}

View File

@@ -1,20 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:render_offsets",
"title": "Render offsets",
"title": "Render Offsets",
"description": "Render offsets component: optional values can be given to offset the way the item is rendered.",
"type": "object",
"additionalProperties": false,
"properties": {
"main_hand": {
"title": "Main hand",
"description": "Right hand transform data.",
"type": "string"
},
"off_hand": {
"title": "Off hand",
"description": "Left hand transform data.",
"type": "string"
}
"main_hand": { "title": "Main Hand", "description": "Right hand transform data.", "type": "string" },
"off_hand": { "title": "Off Hand", "description": "Left hand transform data.", "type": "string" }
}
}

View File

@@ -6,13 +6,9 @@
"type": "object",
"additionalProperties": false,
"properties": {
"on_repaired": {
"title": "On repaired",
"description": "Event that is called when this item has been repaired.",
"type": "object"
},
"on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" },
"repair_items": {
"title": "Repair items",
"title": "Repair Items",
"description": "Repair item entries.",
"type": "array",
"items": {
@@ -21,21 +17,8 @@
"description": "UNDOCUMENATED",
"additionalProperties": false,
"properties": {
"items": {
"title": "Items",
"description": "UNDOCUMENATED",
"type": "array",
"items": {
"type": "string",
"title": "Item",
"description": "UNDOCUMENATED"
}
},
"repair_amount": {
"title": "Repair amount",
"description": "UNDOCUMENATED",
"$ref": "../../../../molang/1.8.0/number.json"
}
"items": { "title": "Items", "description": "UNDOCUMENATED", "type": "array", "items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" } },
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" }
}
}
}

View File

@@ -16,55 +16,19 @@
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"item": {
"title": "Item",
"description": "UNDOCUMENTATED",
"type": "string"
},
"use_offhand": {
"title": "Use offhand",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"search_inventory": {
"title": "Search inventory",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"use_in_creative": {
"title": "Use in creative",
"description": "UNDOCUMENTATED",
"type": "boolean"
}
"item": { "title": "Item", "description": "UNDOCUMENTATED", "type": "string" },
"use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTATED", "type": "boolean" },
"search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTATED", "type": "boolean" },
"use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTATED", "type": "boolean" }
}
}
},
"charge_on_draw": {
"title": "Charge on draw",
"description": "Charge on draw? Default is set to false.",
"default": false,
"type": "boolean"
},
"launch_power_scale": {
"title": "Launch power scale",
"description": "Launch power scale. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": {
"title": "Max draw duration",
"description": "Draw Duration. Default is set to 0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max launch power",
"description": "Launch power. Default is set to 1.0.",
"default": 0,
"type": "number"
},
"charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" },
"launch_power_scale": { "title": "Launch Power Scale", "description": "Launch power scale. Default is set to 1.0.", "default": 1.0, "type": "number" },
"max_draw_duration": { "title": "Max Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" },
"scale_power_by_draw_duration": {
"title": "Scale power by draw duration",
"title": "Scale Power By Draw Duration",
"description": "Scale power by draw duration? Default is set to false.",
"default": false,
"type": "boolean"

View File

@@ -7,37 +7,22 @@
"additionalProperties": false,
"properties": {
"do_swing_animation": {
"title": "Do swing animation",
"title": "Do Swing Animation",
"description": "Whether the item should use the swing animation when thrown. Default is set to false.",
"default": false,
"type": "boolean"
},
"launch_power_scale": {
"title": "Launch power scale",
"title": "Launch Power Scale",
"description": "The scale at which the power of the throw increases. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": {
"title": "Max draw duration",
"description": "The maximum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"min_draw_duration": {
"title": "Min draw duration",
"description": "The minimum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max launch power",
"description": "The maximum power to launch the throwable item. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": { "title": "Max Draw Duration", "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"min_draw_duration": { "title": "Min Draw Duration", "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "The maximum power to launch the throwable item. Default is set to 1.0.", "default": 1.0, "type": "number" },
"scale_power_by_draw_duration": {
"title": "Scale power by draw duration",
"title": "Scale Power By Draw Duration",
"description": "Whether or not the power of the throw increases with duration charged. Default is set to false.",
"default": false,
"type": "boolean"

View File

@@ -7,55 +7,28 @@
"additionalProperties": false,
"properties": {
"on_hit_block": {
"title": "On hit block",
"title": "On Hit Block",
"description": "Trigger for letting you know when this item is used to hit a block",
"type": "object",
"additionalProperties": false,
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
},
"on_hurt_entity": {
"title": "On hurt entity",
"title": "On Hurt Entity",
"description": "Trigger for letting you know when this item is used to hurt another mob",
"type": "object",
"additionalProperties": false,
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self", "holder"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self", "holder"] }
},
"on_not_hurt_entity": {
"title": "On not hurt entity",
"title": "On Not Hurt Entity",
"description": "Trigger for letting you know when this item hit another actor, but didn't do damage",
"type": "object",
"additionalProperties": false,
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
"event": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED" },
"target": { "type": "string", "title": "UNDOCUMENATED", "description": "UNDOCUMENATED", "enum": ["self"] }
}
}
}

View File

@@ -6,11 +6,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"dispensable": {
"title": "Dispensable",
"description": "",
"type": "boolean"
},
"dispensable": { "title": "Dispensable", "description": "", "type": "boolean" },
"slot": {
"title": "Slot",
"description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest",

View File

@@ -4,14 +4,8 @@
"title": "Events",
"description": "UNDOCUMENTATED",
"type": "object",
"properties": {
"on_consume": {
"$ref": "#/definitions/event_base"
}
},
"additionalProperties": {
"$ref": "#/definitions/event_base"
},
"properties": { "on_consume": { "$ref": "#/definitions/event_base" } },
"additionalProperties": { "$ref": "#/definitions/event_base" },
"definitions": {
"event_base": {
"title": "Event",
@@ -24,12 +18,7 @@
"title": "Sequence",
"description": "UNDOCUMENTATED",
"type": "array",
"items": {
"title": "Sequence",
"description": "UNDOCUMENTATED",
"type": "object",
"$ref": "#/definitions/event_functions"
}
"items": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/event_functions" }
},
"randomize": {
"title": "Randomize",
@@ -41,38 +30,17 @@
"type": "object",
"$ref": "#/definitions/event_functions",
"required": ["weight"],
"properties": {
"weight": {
"title": "Weight",
"description": "UNDOCUMENTATED",
"type": "integer",
"minimum": 0
}
}
"properties": { "weight": { "title": "Weight", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } }
}
},
"run_command": {
"title": "Run command",
"title": "Run Command",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"command": {
"title": "Command",
"description": "UNDOCUMENTATED",
"type": "array",
"items": {
"type": "string",
"title": "Command",
"description": "UNDOCUMENTATED"
}
},
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["other"]
}
"command": { "title": "Command", "description": "UNDOCUMENTATED", "type": "array", "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTATED" } },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["other"] }
}
}
}

View File

@@ -1,31 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.events.add_mob_effect",
"title": "Add mob effect",
"title": "Add Mob Effect",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"effect": {
"type": "string",
"title": "Effect",
"description": "UNDOCUMENTATED"
},
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["holder"]
},
"duration": {
"type": "number",
"title": "Duration",
"description": "UNDOCUMENTATED"
},
"amplifier": {
"type": "number",
"title": "Amplifier",
"description": "UNDOCUMENTATED"
}
"effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTATED" },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["holder"] },
"duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTATED" },
"amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -6,16 +6,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"title": "Type",
"description": "UNDOCUMENTATED",
"enum": ["magic"]
},
"amount": {
"type": "number",
"title": "Amount",
"description": "UNDOCUMENTATED"
}
"type": { "type": "string", "title": "Type", "description": "UNDOCUMENTATED", "enum": ["magic"] },
"amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.events.decrement_stack",
"title": "Decrement stack",
"title": "Decrement Stack",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false

View File

@@ -1,21 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.events.remove_mob_effect",
"title": "Remove mob effect",
"title": "Remove Mob Effect",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"effect": {
"type": "string",
"title": "Effect",
"description": "UNDOCUMENTATED"
},
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["holder"]
}
"effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTATED" },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["holder"] }
}
}

View File

@@ -6,20 +6,8 @@
"type": "object",
"additionalProperties": false,
"properties": {
"angle_offset": {
"type": "number",
"title": "Angle offset",
"description": "UNDOCUMENTATED"
},
"launch_power": {
"type": "number",
"title": "Launch power",
"description": "UNDOCUMENTATED"
},
"projectile": {
"type": "string",
"title": "Projectile",
"description": "UNDOCUMENTATED"
}
"angle_offset": { "type": "number", "title": "Angle Offset", "description": "UNDOCUMENTATED" },
"launch_power": { "type": "number", "title": "Launch Power", "description": "UNDOCUMENTATED" },
"projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -6,15 +6,10 @@
"type": "object",
"additionalProperties": false,
"properties": {
"target": {
"type": "string",
"title": "Target",
"description": "UNDOCUMENTATED",
"enum": ["holder"]
},
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["holder"] },
"max_range": {
"type": "array",
"title": "Max range",
"title": "Max Range",
"description": "UNDOCUMENTATED",
"items": [
{ "type": "number", "title": "X", "description": "UNDOCUMENTATED" },

View File

@@ -1,15 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.events.transform_item",
"title": "Transform item",
"title": "Transform Item",
"description": "UNDOCUMENTATED",
"type": "object",
"additionalProperties": false,
"properties": {
"transform": {
"title": "Transform",
"description": "UNDOCUMENTATED",
"type": "string"
}
}
"properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTATED", "type": "string" } }
}

View File

@@ -5,11 +5,7 @@
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"format_version": { "type": "string", "description": "TODO description", "title": "TODO Title" },
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
@@ -39,7 +35,7 @@
"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"
"title": "Is Experimental"
}
}
},
@@ -71,9 +67,7 @@
"minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }
}
},
"events": {
"$ref": "./events.json"
}
"events": { "$ref": "./events.json" }
}
}
}

View File

@@ -1,17 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.items",
"examples": [
{
"format_version": "1.16.200",
"minecraft:item": {
"description": {
"identifier": "namespace:item"
},
"components": {}
}
}
],
"examples": [{ "format_version": "1.16.200", "minecraft:item": { "description": { "identifier": "namespace:item" }, "components": {} } }],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/items.json" } },