diff --git a/source/behavior/items/1.10.0/items.json b/source/behavior/items/1.10.0/items.json deleted file mode 100644 index e7a27d16..00000000 --- a/source/behavior/items/1.10.0/items.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.10.0.items", - "description": "Minecraft items 1.10.0", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "1.10.0 Format Version", - "type": "string", - "pattern": "^1.10.0$", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "title": "Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../general/item/identifier.json" - } - } - }, - "components": { - "additionalProperties": false, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:camera": { - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Minecraft Camera", - "properties": { - "black_bars_duration": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Duration" - }, - "black_bars_screen_ratio": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Screen Ratio" - }, - "shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" }, - "picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" }, - "slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" } - } - }, - "minecraft:max_damage": { "type": "integer", "description": "Maximum damage item has, this is used like item Maximum 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": "Maximum 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." }, - "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/vectors/number3.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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" }, - "chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" }, - "duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" }, - "amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" } - } - } - } - } - }, - "minecraft:seed": { - "additionalProperties": false, - "type": "object", - "properties": { - "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" } } - ] - } - } - } - } - } - } - } - } -} diff --git a/source/behavior/items/1.14.0/items.json b/source/behavior/items/1.14.0/items.json deleted file mode 100644 index d68f0ef9..00000000 --- a/source/behavior/items/1.14.0/items.json +++ /dev/null @@ -1,163 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.14.0.items", - "description": "Minecraft items 1.14.0", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "title": "Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../general/item/identifier.json" - } - } - }, - "components": { - "additionalProperties": false, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:camera": { - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Minecraft Camera", - "properties": { - "black_bars_duration": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Duration" - }, - "black_bars_screen_ratio": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Screen Ratio" - }, - "shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" }, - "picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" }, - "slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" } - } - }, - "minecraft:max_damage": { - "type": "integer", - "description": "Maximum damage item has, this is used like item Maximum health.", - "title": "Max Damage" - }, - "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": "Stacked By Data" }, - "minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "Foil" }, - "minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "Block" }, - "minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "title": "Max Stack Size", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "description": "How long to use before item is done being used.", - "title": "Use Duration" - }, - "minecraft:food": { - "type": "object", - "description": "Food settings of the item", - "additionalProperties": false, - "properties": { - "nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "Nutrition" }, - "saturation_modifier": { - "type": "string", - "description": "Choose: `poor`, `low`, `normal`, `good`, `max`, `supernatural`.", - "enum": ["poor", "low", "normal", "good", "max", "supernatural"], - "title": "Saturation Modifier" - }, - "using_converts_to": { - "type": "string", - "description": "After using, item converts it to this item.", - "title": "Using Converts To", - "$ref": "../../../general/item/identifier.json" - }, - "on_use_action": { - "type": "string", - "description": "'chorus_teleport` or `none`.", - "title": "On Use Action", - "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] - }, - "on_use_range": { "$ref": "../../../general/vectors/number3.json", "title": "On Use Range" }, - "cooldown_type": { - "type": "string", - "description": "'chorusfruit` or `none`.", - "title": "Cooldown Type", - "enum": ["chorusfruit", "none"] - }, - "cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "Cooldown Time" }, - "can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "Can Always Eat" }, - "effects": { - "type": "array", - "title": "Effects", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "items": { - "additionalProperties": false, - "type": "object", - "title": "Items", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" }, - "chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" }, - "duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" }, - "amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" } - } - } - }, - "remove_effects": { - "type": "array", - "description": "Can always eat this item? true or false.", - "title": "Remove Effects", - "items": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Remove Effects" } - } - } - }, - "minecraft:seed": { - "additionalProperties": false, - "type": "object", - "title": "Seed", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "crop_result": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Crop Result" }, - "plant_at": { - "description": "Valid blocks you can plant this item at.", - "title": "Plant At", - "oneOf": [ - { "type": "string", "$ref": "../../../general/blocks_item.json" }, - { "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } } - ] - } - } - } - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.0/items.json b/source/behavior/items/1.16.0/items.json deleted file mode 100644 index 885c5f13..00000000 --- a/source/behavior/items/1.16.0/items.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.0.items", - "description": "Minecraft items 1.16.0", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "title": "Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", - "$ref": "../../../general/item/identifier.json" - }, - "category": { - "type": "string", - "default": "", - "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", - "title": "Category", - "examples": ["Nature", "Equipment", "Construction", "Items"] - }, - "is_experimental": { - "type": "boolean", - "default": false, - "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", - "title": "Is Experimental" - } - } - }, - "components": { - "additionalProperties": false, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:camera": { - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Minecraft Camera", - "properties": { - "black_bars_duration": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Duration" - }, - "black_bars_screen_ratio": { - "type": "number", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Black Bars Screen Ratio" - }, - "shutter_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Shutter Duration" }, - "picture_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Picture Duration" }, - "slide_away_duration": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Slide Away Duration" } - } - }, - "minecraft:max_damage": { - "type": "integer", - "description": "Maximum damage item has, this is used like item Maximum health.", - "title": "Maximum Damage" - }, - "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": "Stacked By Data" }, - "minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "Foil" }, - "minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "Block" }, - "minecraft:max_stack_size": { "type": "integer", "description": "Maximum stack size.", "title": "Maximum Stack Size", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "description": "How long to use before item is done being used.", - "title": "Use Duration" - }, - "minecraft:food": { - "type": "object", - "description": "Food settings of the item", - "properties": { - "nutrition": { "type": "integer", "description": "Nutrition amount.", "title": "Nutrition" }, - "saturation_modifier": { - "type": "string", - "description": "Choose: poor, low, normal, good, max, supernatural.", - "title": "Saturation Modifier", - "enum": ["poor", "low", "normal", "good", "max", "supernatural"] - }, - "using_converts_to": { - "type": "string", - "description": "After using, item converts it to this item.", - "title": "Using Converts To", - "$ref": "../../../general/item/identifier.json" - }, - "on_use_action": { - "type": "string", - "description": "'chorus_teleport` or `none`.", - "title": "On Use Action", - "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] - }, - "on_use_range": { "$ref": "../../../general/vectors/number3.json" }, - "cooldown_type": { - "type": "string", - "description": "'chorusfruit` or `none`.", - "title": "CoolDown Type", - "enum": ["chorusfruit", "none"] - }, - "cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "Cooldown Time" }, - "can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "Can Alway East" }, - "effects": { - "type": "array", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Effects", - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "name": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Name" }, - "chance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Chance" }, - "duration": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Duration" }, - "amplifier": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Amplifier" } - } - } - } - } - }, - "minecraft:seed": { - "additionalProperties": false, - "type": "object", - "properties": { - "crop_result": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Crop Result" }, - "plant_at": { - "description": "Valid blocks you can plant this item at.", - "title": "Plant At", - "oneOf": [ - { "type": "string", "$ref": "../../../general/blocks_item.json" }, - { "type": "array", "items": { "type": "string", "$ref": "../../../general/blocks_item.json" } } - ] - }, - "plant_at_any_solid_surface": { - "title": "Plant At Any Solid Surface", - "type": "boolean", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "plant_at_face": { - "title": "Plnat At Face", - "type": "string", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "enum": ["DOWN", "UP"] - } - } - } - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.armor.json b/source/behavior/items/1.16.100/components/minecraft.armor.json deleted file mode 100644 index 752b6392..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.armor.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.block_placer.json b/source/behavior/items/1.16.100/components/minecraft.block_placer.json deleted file mode 100644 index 6d659f81..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.block_placer.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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": "../../../../molang/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" } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.cooldown.json b/source/behavior/items/1.16.100/components/minecraft.cooldown.json deleted file mode 100644 index 1589e32b..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.cooldown.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.digger.json b/source/behavior/items/1.16.100/components/minecraft.digger.json deleted file mode 100644 index 56e4b594..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.digger.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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" } - } - } - } - ] - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.display_name.json b/source/behavior/items/1.16.100/components/minecraft.display_name.json deleted file mode 100644 index 9a89fc6b..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.display_name.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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." } } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.durability.json b/source/behavior/items/1.16.100/components/minecraft.durability.json deleted file mode 100644 index 5ecd9bd9..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.durability.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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": "Maximum Durability", - "description": "Maximum durability is the amount of damage that this item can take before breaking.", - "type": "number" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.dye_powder.json b/source/behavior/items/1.16.100/components/minecraft.dye_powder.json deleted file mode 100644 index def3ced5..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.dye_powder.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.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" - ] - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.entity_placer.json b/source/behavior/items/1.16.100/components/minecraft.entity_placer.json deleted file mode 100644 index 070dfca2..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.entity_placer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft: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." }, - "dispense_on": { - "type": "array", - "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": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "use_on": { - "type": "array", - "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": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.food.json b/source/behavior/items/1.16.100/components/minecraft.food.json deleted file mode 100644 index 75933129..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.food.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:food", - "title": "Food", - "description": "When an item has a food component, it becomes edible to the player.", - "type": "object", - "additionalProperties": false, - "properties": { - "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" }, - "on_consume": { - "title": "On Consume", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - }, - "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" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.fuel.json b/source/behavior/items/1.16.100/components/minecraft.fuel.json deleted file mode 100644 index 930c1831..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.fuel.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:fuel", - "title": "Fuel", - "description": "Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.", - "type": "object", - "additionalProperties": false, - "required": ["duration"], - "properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.icon.json b/source/behavior/items/1.16.100/components/minecraft.icon.json deleted file mode 100644 index 3846ab72..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.icon.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:icon", - "title": "Icon", - "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", - "type": "object", - "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." }, - "texture": { - "type": "string", - "title": "Texture", - "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.knockback_resistance.json b/source/behavior/items/1.16.100/components/minecraft.knockback_resistance.json deleted file mode 100644 index ce0e9f6f..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.knockback_resistance.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft: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" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.on_use.json b/source/behavior/items/1.16.100/components/minecraft.on_use.json deleted file mode 100644 index c2780696..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.on_use.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft: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", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.on_use_on.json b/source/behavior/items/1.16.100/components/minecraft.on_use_on.json deleted file mode 100644 index 35999896..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.on_use_on.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:", - "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", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["block"] } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.projectile.json b/source/behavior/items/1.16.100/components/minecraft.projectile.json deleted file mode 100644 index 0b97c331..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.projectile.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:projectile", - "title": "Projectile", - "description": "Projectile item component. projectile items shoot out, like an arrow.", - "type": "object", - "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" } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.render_offsets.json b/source/behavior/items/1.16.100/components/minecraft.render_offsets.json deleted file mode 100644 index 1e298d9a..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.render_offsets.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:render_offsets", - "title": "Render Offsets", - "description": "Render offsets component: optional values can be given to offset the way the item is rendered.", - "type": "object", - "definitions": { - "offset_spec": { - "type": "object", - "title": "Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "first_person": { - "title": "First Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - }, - "thrid_person": { - "title": "Thrid Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - } - } - }, - "mode": { - "type": "object", - "title": "Mode", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "position": { - "title": "Position", - "description": "The position transformation", - "$ref": "#/definitions/vec3" - }, - "rotation": { - "title": "Rotation", - "description": "The rotation transformation", - "$ref": "#/definitions/vec3" - }, - "scale": { - "title": "Scale", - "description": "The scale transformation", - "$ref": "#/definitions/vec3" - } - } - }, - "vec3": { - "type": "array", - "title": "Vector", - "description": "X Y Z", - "items": [ - { "title": "X", "description": "The X tranformation", "type": "number" }, - { "title": "Y", "description": "The Y tranformation", "type": "number" }, - { "title": "Z", "description": "The Z tranformation", "type": "number" } - ] - } - }, - "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" } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.repairable.json b/source/behavior/items/1.16.100/components/minecraft.repairable.json deleted file mode 100644 index cfacc69e..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.repairable.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:repairable", - "title": "Repairable", - "description": "Repairable item component: how much damage can this item repair, what items can repair it.", - "type": "object", - "additionalProperties": false, - "properties": { - "on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" }, - "repair_items": { - "title": "Repair Items", - "description": "Repair item entries.", - "type": "array", - "items": { - "type": "object", - "title": "Repair Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "items": { - "title": "Items", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "repair_amount": { - "title": "Repair Amount", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../../molang/number.json" - } - } - } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.shooter.json b/source/behavior/items/1.16.100/components/minecraft.shooter.json deleted file mode 100644 index 70b1944c..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.shooter.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:shooter", - "title": "Shooter", - "description": "Shooter Item Component.", - "type": "object", - "additionalProperties": false, - "properties": { - "ammunition": { - "title": "Ammunition", - "description": "Ammunition", - "type": "array", - "items": { - "type": "object", - "title": "Ammunition", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, - "use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "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": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" }, - "max_launch_power": { "title": "Maximum 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", - "description": "Scale power by draw duration? Default is set to false.", - "default": false, - "type": "boolean" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.throwable.json b/source/behavior/items/1.16.100/components/minecraft.throwable.json deleted file mode 100644 index bc88f4a0..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.throwable.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:", - "title": "Throwable", - "description": "Throwable item component. Throwable items, such as a snowball.", - "type": "object", - "additionalProperties": false, - "properties": { - "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", - "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": "Maximum 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": "Minimum 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": "Maximum 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", - "description": "Whether or not the power of the throw increases with duration charged. Default is set to false.", - "default": false, - "type": "boolean" - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.use_animation.json b/source/behavior/items/1.16.100/components/minecraft.use_animation.json deleted file mode 100644 index 9b61644c..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.use_animation.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:use_animation", - "title": "Use Animation", - "description": "Wearable item component.", - "type": "string", - "additionalProperties": false -} diff --git a/source/behavior/items/1.16.100/components/minecraft.weapon.json b/source/behavior/items/1.16.100/components/minecraft.weapon.json deleted file mode 100644 index 1ebabdc1..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.weapon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:weapon", - "title": "Weapon", - "description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.", - "type": "object", - "additionalProperties": false, - "properties": { - "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": "On Hit Block", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - }, - "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self", "holder"] } - }, - "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } -} diff --git a/source/behavior/items/1.16.100/components/minecraft.wearable.json b/source/behavior/items/1.16.100/components/minecraft.wearable.json deleted file mode 100644 index 4f1a5e4d..00000000 --- a/source/behavior/items/1.16.100/components/minecraft.wearable.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.minecraft:wearable", - "title": "Wearable", - "description": "Wearable item component.", - "type": "object", - "additionalProperties": false, - "properties": { - "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "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", - "type": "string", - "enum": [ - "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" - ] - } - } -} diff --git a/source/behavior/items/1.16.100/events.json b/source/behavior/items/1.16.100/events.json deleted file mode 100644 index c2a749f9..00000000 --- a/source/behavior/items/1.16.100/events.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events", - "title": "Events", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { "on_consume": { "$ref": "#/definitions/event_base" } }, - "additionalProperties": { "$ref": "#/definitions/event_base" }, - "definitions": { - "event_base": { - "title": "Event", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "$ref": "#/definitions/event_functions", - "properties": { - "sequence": { - "title": "Sequence", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { - "title": "Sequence", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "$ref": "#/definitions/event_functions" - } - }, - "randomize": { - "title": "Randomize", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { - "title": "Randomize", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "$ref": "#/definitions/event_functions", - "required": ["weight"], - "properties": { - "weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 } - } - } - }, - "run_command": { - "title": "Run Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "command": { - "title": "Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["other"] } - } - } - } - }, - "event_functions": { - "title": "Event", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { - "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, - "damage": { "$ref": "./events/damage.json" }, - "decrement_stack": { "$ref": "./events/decrement_stack.json" }, - "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, - "shoot": { "$ref": "./events/shoot.json" }, - "swing": { "$ref": "./events/swing.json" }, - "teleport": { "$ref": "./events/teleport.json" }, - "transform_item": { "$ref": "./events/transform_item.json" } - } - } - } -} diff --git a/source/behavior/items/1.16.100/events/add_mob_effect.json b/source/behavior/items/1.16.100/events/add_mob_effect.json deleted file mode 100644 index 0949bba1..00000000 --- a/source/behavior/items/1.16.100/events/add_mob_effect.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.add_mob_effect", - "title": "Add Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} diff --git a/source/behavior/items/1.16.100/events/damage.json b/source/behavior/items/1.16.100/events/damage.json deleted file mode 100644 index 6a34ece7..00000000 --- a/source/behavior/items/1.16.100/events/damage.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "type": { "type": "string", "title": "Type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["magic"] }, - "amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} diff --git a/source/behavior/items/1.16.100/events/decrement_stack.json b/source/behavior/items/1.16.100/events/decrement_stack.json deleted file mode 100644 index e10c6f18..00000000 --- a/source/behavior/items/1.16.100/events/decrement_stack.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.decrement_stack", - "title": "Decrement Stack", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} diff --git a/source/behavior/items/1.16.100/events/remove_mob_effect.json b/source/behavior/items/1.16.100/events/remove_mob_effect.json deleted file mode 100644 index 3a283421..00000000 --- a/source/behavior/items/1.16.100/events/remove_mob_effect.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.remove_mob_effect", - "title": "Remove Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] } - } -} diff --git a/source/behavior/items/1.16.100/events/shoot.json b/source/behavior/items/1.16.100/events/shoot.json deleted file mode 100644 index 3eb432b7..00000000 --- a/source/behavior/items/1.16.100/events/shoot.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "angle_offset": { - "type": "number", - "title": "Angle Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "launch_power": { - "type": "number", - "title": "Launch Power", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} diff --git a/source/behavior/items/1.16.100/events/swing.json b/source/behavior/items/1.16.100/events/swing.json deleted file mode 100644 index abb2e540..00000000 --- a/source/behavior/items/1.16.100/events/swing.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.swing", - "title": "Swing", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} diff --git a/source/behavior/items/1.16.100/events/teleport.json b/source/behavior/items/1.16.100/events/teleport.json deleted file mode 100644 index f1d787dd..00000000 --- a/source/behavior/items/1.16.100/events/teleport.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.teleport", - "title": "Teleport", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "max_range": { - "type": "array", - "title": "Maximum Range", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "items": [ - { "type": "number", "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - ] - } - } -} diff --git a/source/behavior/items/1.16.100/events/transform_item.json b/source/behavior/items/1.16.100/events/transform_item.json deleted file mode 100644 index 7ee71e4a..00000000 --- a/source/behavior/items/1.16.100/events/transform_item.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items.events.transform_item", - "title": "Transform Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" } } -} diff --git a/source/behavior/items/1.16.100/items.json b/source/behavior/items/1.16.100/items.json deleted file mode 100644 index f3a1957a..00000000 --- a/source/behavior/items/1.16.100/items.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.100.items", - "description": "Minecraft items 1.16.100", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Item", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", - "$ref": "../../../general/item/identifier.json" - }, - "category": { - "type": "string", - "default": "", - "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", - "title": "Category", - "examples": ["Nature", "Equipment", "Construction", "Items"] - }, - "is_experimental": { - "type": "boolean", - "default": false, - "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", - "title": "Is Experimental" - } - } - }, - "components": { - "additionalProperties": { "type": "object" }, - "type": "object", - "description": "The components of this item", - "title": "Components", - "properties": { - "minecraft:armor": { "$ref": "./components/minecraft.armor.json" }, - "minecraft:block_placer": { "$ref": "./components/minecraft.block_placer.json" }, - "minecraft:cooldown": { "$ref": "./components/minecraft.cooldown.json" }, - "minecraft:digger": { "$ref": "./components/minecraft.digger.json" }, - "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, - "minecraft:durability": { "$ref": "./components/minecraft.durability.json" }, - "minecraft:dye_powder": { "$ref": "./components/minecraft.dye_powder.json" }, - "minecraft:entity_placer": { "$ref": "./components/minecraft.entity_placer.json" }, - "minecraft:food": { "$ref": "./components/minecraft.food.json" }, - "minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" }, - "minecraft:icon": { "$ref": "./components/minecraft.icon.json" }, - "minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" }, - "minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" }, - "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, - "minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "title": "Use Duration", - "description": "How long to use before item is done being used." - }, - "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, - "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, - "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, - "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, - "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, - "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" }, - "minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }, - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." } - } - }, - "events": { "$ref": "./events.json" } - } - } - } -} diff --git a/source/behavior/items/1.16.200/components/minecraft.armor.json b/source/behavior/items/format/components/minecraft.armor.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.armor.json rename to source/behavior/items/format/components/minecraft.armor.json index 8aaa31b5..5f079601 100644 --- a/source/behavior/items/1.16.200/components/minecraft.armor.json +++ b/source/behavior/items/format/components/minecraft.armor.json @@ -1,18 +1,18 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor", - "title": "Armor", - "description": "The armor item component determines the amount of protection you have in your armor item.", - "type": "object", - "additionalProperties": false, - "required": ["protection", "texture_type"], - "properties": { - "protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 }, - "texture_type": { - "type": "string", - "default": "gold", - "description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.", - "title": "Texture Type", - "enum": ["gold", "none", "leather", "chain", "iron", "diamond", "elytra", "turtle", "netherite"] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor", + "title": "Armor", + "description": "The armor item component determines the amount of protection you have in your armor item.", + "type": "object", + "additionalProperties": false, + "required": ["protection", "texture_type"], + "properties": { + "protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 }, + "texture_type": { + "type": "string", + "default": "gold", + "description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.", + "title": "Texture Type", + "enum": ["gold", "none", "leather", "chain", "iron", "diamond", "elytra", "turtle", "netherite"] + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.block_placer.json b/source/behavior/items/format/components/minecraft.block_placer.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.block_placer.json rename to source/behavior/items/format/components/minecraft.block_placer.json index 4bae5494..1c575e68 100644 --- a/source/behavior/items/1.16.200/components/minecraft.block_placer.json +++ b/source/behavior/items/format/components/minecraft.block_placer.json @@ -1,25 +1,25 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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": "../../../../molang/string.json" } } - } - }, - "properties": { - "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Block" }, - "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" } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.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": "../../../../molang/string.json" } } + } + }, + "properties": { + "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Block" }, + "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" } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.cooldown.json b/source/behavior/items/format/components/minecraft.cooldown.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.cooldown.json rename to source/behavior/items/format/components/minecraft.cooldown.json index 5cd93194..6925a355 100644 --- a/source/behavior/items/1.16.200/components/minecraft.cooldown.json +++ b/source/behavior/items/format/components/minecraft.cooldown.json @@ -1,16 +1,16 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.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" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.digger.json b/source/behavior/items/format/components/minecraft.digger.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.digger.json rename to source/behavior/items/format/components/minecraft.digger.json index 62e1add2..ed3ba2b8 100644 --- a/source/behavior/items/1.16.200/components/minecraft.digger.json +++ b/source/behavior/items/format/components/minecraft.digger.json @@ -1,51 +1,51 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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": "Toggles if the item will be used efficiently", - "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" } - } - } - } - ] - } - } - } - }, - "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.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": "Toggles if the item will be used efficiently", + "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" } + } + } + } + ] + } + } + } + }, + "on_dig": { "type": "string", "title": "On Dig", "description": "Trigger for when you dig a block that isn't listed in destroy_speeds" } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.display_name.json b/source/behavior/items/format/components/minecraft.display_name.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.display_name.json rename to source/behavior/items/format/components/minecraft.display_name.json index 92563016..d5718ec8 100644 --- a/source/behavior/items/1.16.200/components/minecraft.display_name.json +++ b/source/behavior/items/format/components/minecraft.display_name.json @@ -1,9 +1,9 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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." } } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.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." } } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.durability.json b/source/behavior/items/format/components/minecraft.durability.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.durability.json rename to source/behavior/items/format/components/minecraft.durability.json index 29ae0998..1be9ca9e 100644 --- a/source/behavior/items/1.16.200/components/minecraft.durability.json +++ b/source/behavior/items/format/components/minecraft.durability.json @@ -1,26 +1,26 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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": "Maximum Durability", - "description": "Maximum durability is the amount of damage that this item can take before breaking.", - "type": "number" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.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": "Maximum Durability", + "description": "Maximum durability is the amount of damage that this item can take before breaking.", + "type": "number" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.dye_powder.json b/source/behavior/items/format/components/minecraft.dye_powder.json similarity index 95% rename from source/behavior/items/1.16.200/components/minecraft.dye_powder.json rename to source/behavior/items/format/components/minecraft.dye_powder.json index e64cb596..e2c5b698 100644 --- a/source/behavior/items/1.16.200/components/minecraft.dye_powder.json +++ b/source/behavior/items/format/components/minecraft.dye_powder.json @@ -1,33 +1,33 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.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": [ - "black", - "red", - "green", - "brown", - "blue", - "purple", - "cyan", - "silver", - "gray", - "pink", - "lime", - "yellow", - "lightblue", - "magenta", - "orange", - "white" - ] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.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": [ + "black", + "red", + "green", + "brown", + "blue", + "purple", + "cyan", + "silver", + "gray", + "pink", + "lime", + "yellow", + "lightblue", + "magenta", + "orange", + "white" + ] + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.entity_placer.json b/source/behavior/items/format/components/minecraft.entity_placer.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.entity_placer.json rename to source/behavior/items/format/components/minecraft.entity_placer.json index 06bbdb82..4999ff0f 100644 --- a/source/behavior/items/1.16.200/components/minecraft.entity_placer.json +++ b/source/behavior/items/format/components/minecraft.entity_placer.json @@ -1,23 +1,23 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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." }, - "dispense_on": { - "type": "array", - "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": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "use_on": { - "type": "array", - "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": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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." }, + "dispense_on": { + "type": "array", + "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": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + }, + "use_on": { + "type": "array", + "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": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.food.json b/source/behavior/items/format/components/minecraft.food.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.food.json rename to source/behavior/items/format/components/minecraft.food.json index 1b4a37b5..cbdb81a3 100644 --- a/source/behavior/items/1.16.200/components/minecraft.food.json +++ b/source/behavior/items/format/components/minecraft.food.json @@ -1,37 +1,37 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:food", - "title": "Food", - "description": "When an item has a food component, it becomes edible to the player.", - "type": "object", - "additionalProperties": false, - "properties": { - "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" }, - "on_consume": { - "title": "On Consume", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - }, - "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" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:food", + "title": "Food", + "description": "When an item has a food component, it becomes edible to the player.", + "type": "object", + "additionalProperties": false, + "properties": { + "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" }, + "on_consume": { + "title": "On Consume", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + } + }, + "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" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.fuel.json b/source/behavior/items/format/components/minecraft.fuel.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.fuel.json rename to source/behavior/items/format/components/minecraft.fuel.json index 8da3d0e6..163ef017 100644 --- a/source/behavior/items/1.16.200/components/minecraft.fuel.json +++ b/source/behavior/items/format/components/minecraft.fuel.json @@ -1,9 +1,9 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:fuel", - "title": "Fuel", - "description": "Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.", - "type": "object", - "additionalProperties": false, - "required": ["duration"], - "properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:fuel", + "title": "Fuel", + "description": "Fuel component. Allows this item to be used as fuel in a furnace to `cook` other items.", + "type": "object", + "additionalProperties": false, + "required": ["duration"], + "properties": { "duration": { "type": "number", "title": "Duration", "description": "How long in seconds will this fuel cook items for." } } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.icon.json b/source/behavior/items/format/components/minecraft.icon.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.icon.json rename to source/behavior/items/format/components/minecraft.icon.json index 86e225d8..6bfad623 100644 --- a/source/behavior/items/1.16.200/components/minecraft.icon.json +++ b/source/behavior/items/format/components/minecraft.icon.json @@ -1,22 +1,22 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:icon", - "title": "Icon", - "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", - "type": "object", - "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." }, - "texture": { - "type": "string", - "title": "Texture", - "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:icon", + "title": "Icon", + "description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.", + "type": "object", + "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." }, + "texture": { + "type": "string", + "title": "Texture", + "description": "The key from the resource_pack/textures/item_texture.json `texture_data` object associated with the texture file Example: blaze_powder." + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.knockback_resistance.json b/source/behavior/items/format/components/minecraft.knockback_resistance.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.knockback_resistance.json rename to source/behavior/items/format/components/minecraft.knockback_resistance.json index 5fe5455d..e16b89d9 100644 --- a/source/behavior/items/1.16.200/components/minecraft.knockback_resistance.json +++ b/source/behavior/items/format/components/minecraft.knockback_resistance.json @@ -1,15 +1,15 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.on_use.json b/source/behavior/items/format/components/minecraft.on_use.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.on_use.json rename to source/behavior/items/format/components/minecraft.on_use.json index e7f09e26..8a4913b8 100644 --- a/source/behavior/items/1.16.200/components/minecraft.on_use.json +++ b/source/behavior/items/format/components/minecraft.on_use.json @@ -1,20 +1,20 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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", + "description": "Event trigger for when the item is used.", + "type": "object", + "additionalProperties": false, + "properties": { + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.on_use_on.json b/source/behavior/items/format/components/minecraft.on_use_on.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.on_use_on.json rename to source/behavior/items/format/components/minecraft.on_use_on.json index 2bcb8236..7a08b138 100644 --- a/source/behavior/items/1.16.200/components/minecraft.on_use_on.json +++ b/source/behavior/items/format/components/minecraft.on_use_on.json @@ -1,20 +1,20 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", - "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", - "description": "Event trigger for when the item is used.", - "type": "object", - "additionalProperties": false, - "properties": { - "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["block"] } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", + "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", + "description": "Event trigger for when the item is used.", + "type": "object", + "additionalProperties": false, + "properties": { + "event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["block"] } + } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.projectile.json b/source/behavior/items/format/components/minecraft.projectile.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.projectile.json rename to source/behavior/items/format/components/minecraft.projectile.json index 1602c580..49861dd4 100644 --- a/source/behavior/items/1.16.200/components/minecraft.projectile.json +++ b/source/behavior/items/format/components/minecraft.projectile.json @@ -1,16 +1,16 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:projectile", - "title": "Projectile", - "description": "Projectile item component. projectile items shoot out, like an arrow.", - "type": "object", - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:projectile", + "title": "Projectile", + "description": "Projectile item component. projectile items shoot out, like an arrow.", + "type": "object", + "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" } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.render_offsets.json b/source/behavior/items/format/components/minecraft.render_offsets.json similarity index 96% rename from source/behavior/items/1.16.200/components/minecraft.render_offsets.json rename to source/behavior/items/format/components/minecraft.render_offsets.json index aa7e2b45..813abc32 100644 --- a/source/behavior/items/1.16.200/components/minecraft.render_offsets.json +++ b/source/behavior/items/format/components/minecraft.render_offsets.json @@ -1,68 +1,68 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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, - "definitions": { - "offset_spec": { - "type": "object", - "title": "Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "first_person": { - "title": "First Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - }, - "thrid_person": { - "title": "Thrid Person", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "#/definitions/mode" - } - } - }, - "mode": { - "type": "object", - "title": "Mode", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "position": { - "title": "Position", - "description": "The position transformation", - "$ref": "#/definitions/vec3" - }, - "rotation": { - "title": "Rotation", - "description": "The rotation transformation", - "$ref": "#/definitions/vec3" - }, - "scale": { - "title": "Scale", - "description": "The scale transformation", - "$ref": "#/definitions/vec3" - } - } - }, - "vec3": { - "type": "array", - "title": "Vector", - "description": "X Y Z", - "items": [ - { "title": "X", "description": "The X tranformation", "type": "number" }, - { "title": "Y", "description": "The Y tranformation", "type": "number" }, - { "title": "Z", "description": "The Z tranformation", "type": "number" } - ] - } - }, - "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" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft: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, + "definitions": { + "offset_spec": { + "type": "object", + "title": "Offset", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "first_person": { + "title": "First Person", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/mode" + }, + "thrid_person": { + "title": "Thrid Person", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/mode" + } + } + }, + "mode": { + "type": "object", + "title": "Mode", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "position": { + "title": "Position", + "description": "The position transformation", + "$ref": "#/definitions/vec3" + }, + "rotation": { + "title": "Rotation", + "description": "The rotation transformation", + "$ref": "#/definitions/vec3" + }, + "scale": { + "title": "Scale", + "description": "The scale transformation", + "$ref": "#/definitions/vec3" + } + } + }, + "vec3": { + "type": "array", + "title": "Vector", + "description": "X Y Z", + "items": [ + { "title": "X", "description": "The X tranformation", "type": "number" }, + { "title": "Y", "description": "The Y tranformation", "type": "number" }, + { "title": "Z", "description": "The Z tranformation", "type": "number" } + ] + } + }, + "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" } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.repairable.json b/source/behavior/items/format/components/minecraft.repairable.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.repairable.json rename to source/behavior/items/format/components/minecraft.repairable.json index 3c92519c..15d057ad 100644 --- a/source/behavior/items/1.16.200/components/minecraft.repairable.json +++ b/source/behavior/items/format/components/minecraft.repairable.json @@ -1,37 +1,37 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:repairable", - "title": "Repairable", - "description": "Repairable item component: how much damage can this item repair, what items can repair it.", - "type": "object", - "additionalProperties": false, - "properties": { - "on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" }, - "repair_items": { - "title": "Repair Items", - "description": "Repair item entries.", - "type": "array", - "items": { - "type": "object", - "title": "Repar Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "items": { - "title": "Items", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "repair_amount": { - "title": "Repair Amount", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "$ref": "../../../../molang/number.json" - } - } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:repairable", + "title": "Repairable", + "description": "Repairable item component: how much damage can this item repair, what items can repair it.", + "type": "object", + "additionalProperties": false, + "properties": { + "on_repaired": { "title": "On Repaired", "description": "Event that is called when this item has been repaired.", "type": "object" }, + "repair_items": { + "title": "Repair Items", + "description": "Repair item entries.", + "type": "array", + "items": { + "type": "object", + "title": "Repar Item", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "items": { + "title": "Items", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { "type": "string", "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + }, + "repair_amount": { + "title": "Repair Amount", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "../../../../molang/number.json" + } + } + } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.shooter.json b/source/behavior/items/format/components/minecraft.shooter.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.shooter.json rename to source/behavior/items/format/components/minecraft.shooter.json index 4623f5ad..e8741fa4 100644 --- a/source/behavior/items/1.16.200/components/minecraft.shooter.json +++ b/source/behavior/items/format/components/minecraft.shooter.json @@ -1,42 +1,42 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:shooter", - "title": "Shooter", - "description": "Shooter Item Component.", - "type": "object", - "additionalProperties": false, - "properties": { - "ammunition": { - "title": "Ammunition", - "description": "Ammunition", - "type": "array", - "items": { - "type": "object", - "title": "Ammunition", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "additionalProperties": false, - "properties": { - "item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, - "use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, - "use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "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": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" }, - "max_launch_power": { "title": "Maximum 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", - "description": "Scale power by draw duration? Default is set to false.", - "default": false, - "type": "boolean" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:shooter", + "title": "Shooter", + "description": "Shooter Item Component.", + "type": "object", + "additionalProperties": false, + "properties": { + "ammunition": { + "title": "Ammunition", + "description": "Ammunition", + "type": "array", + "items": { + "type": "object", + "title": "Ammunition", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false, + "properties": { + "item": { "title": "Item", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" }, + "use_offhand": { "title": "Use Offhand", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, + "search_inventory": { "title": "Search Inventory", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "boolean" }, + "use_in_creative": { "title": "Use In Creative", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "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": "Maximum Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" }, + "max_launch_power": { "title": "Maximum 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", + "description": "Scale power by draw duration? Default is set to false.", + "default": false, + "type": "boolean" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.throwable.json b/source/behavior/items/format/components/minecraft.throwable.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.throwable.json rename to source/behavior/items/format/components/minecraft.throwable.json index f2a7e962..5f0cf99b 100644 --- a/source/behavior/items/1.16.200/components/minecraft.throwable.json +++ b/source/behavior/items/format/components/minecraft.throwable.json @@ -1,45 +1,45 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", - "title": "Throwable", - "description": "Throwable item component. Throwable items, such as a snowball.", - "type": "object", - "additionalProperties": false, - "properties": { - "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", - "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": "Maximum 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": "Minimum 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": "Maximum 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", - "description": "Whether or not the power of the throw increases with duration charged. Default is set to false.", - "default": false, - "type": "boolean" - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:", + "title": "Throwable", + "description": "Throwable item component. Throwable items, such as a snowball.", + "type": "object", + "additionalProperties": false, + "properties": { + "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", + "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": "Maximum 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": "Minimum 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": "Maximum 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", + "description": "Whether or not the power of the throw increases with duration charged. Default is set to false.", + "default": false, + "type": "boolean" + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.weapon.json b/source/behavior/items/format/components/minecraft.weapon.json similarity index 98% rename from source/behavior/items/1.16.200/components/minecraft.weapon.json rename to source/behavior/items/format/components/minecraft.weapon.json index a48cbb82..7c344788 100644 --- a/source/behavior/items/1.16.200/components/minecraft.weapon.json +++ b/source/behavior/items/format/components/minecraft.weapon.json @@ -1,33 +1,33 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:weapon", - "title": "Weapon", - "description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.", - "type": "object", - "additionalProperties": false, - "properties": { - "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - }, - "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self", "holder"] } - }, - "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:weapon", + "title": "Weapon", + "description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.", + "type": "object", + "additionalProperties": false, + "properties": { + "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + }, + "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self", "holder"] } + }, + "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": "Event", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] } + } + } +} diff --git a/source/behavior/items/1.16.200/components/minecraft.wearable.json b/source/behavior/items/format/components/minecraft.wearable.json similarity index 97% rename from source/behavior/items/1.16.200/components/minecraft.wearable.json rename to source/behavior/items/format/components/minecraft.wearable.json index 7c60d08f..8784f8df 100644 --- a/source/behavior/items/1.16.200/components/minecraft.wearable.json +++ b/source/behavior/items/format/components/minecraft.wearable.json @@ -1,31 +1,31 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:wearable", - "title": "Wearable", - "description": "Wearable item component.", - "type": "object", - "additionalProperties": false, - "properties": { - "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "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", - "type": "string", - "enum": [ - "slot.weapon.mainhand", - "none", - "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", - "slot.equippable" - ] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:wearable", + "title": "Wearable", + "description": "Wearable item component.", + "type": "object", + "additionalProperties": false, + "properties": { + "dispensable": { "title": "Dispensable", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "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", + "type": "string", + "enum": [ + "slot.weapon.mainhand", + "none", + "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", + "slot.equippable" + ] + } + } +} diff --git a/source/behavior/items/1.16.200/events.json b/source/behavior/items/format/events.json similarity index 97% rename from source/behavior/items/1.16.200/events.json rename to source/behavior/items/format/events.json index 9ea3256e..3a1cdafa 100644 --- a/source/behavior/items/1.16.200/events.json +++ b/source/behavior/items/format/events.json @@ -1,84 +1,84 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events", - "title": "Events", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { "on_consume": { "$ref": "#/definitions/event_base" } }, - "additionalProperties": { "$ref": "#/definitions/event_base" }, - "definitions": { - "event_base": { - "title": "Event", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "$ref": "#/definitions/event_functions", - "properties": { - "sequence": { - "title": "Sequence", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { - "title": "Sequence", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "$ref": "#/definitions/event_functions" - } - }, - "randomize": { - "title": "Randomize", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { - "title": "Randomize", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "$ref": "#/definitions/event_functions", - "required": ["weight"], - "properties": { - "weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 } - } - } - }, - "run_command": { - "title": "Run Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "command": { - "title": "Command", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "array", - "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["other"] } - } - } - } - }, - "event_functions": { - "title": "Event", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "properties": { - "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, - "damage": { "$ref": "./events/damage.json" }, - "decrement_stack": { "$ref": "./events/decrement_stack.json" }, - "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, - "shoot": { "$ref": "./events/shoot.json" }, - "swing": { "$ref": "./events/swing.json" }, - "teleport": { "$ref": "./events/teleport.json" }, - "transform_item": { "$ref": "./events/transform_item.json" } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events", + "title": "Events", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "properties": { "on_consume": { "$ref": "#/definitions/event_base" } }, + "additionalProperties": { "$ref": "#/definitions/event_base" }, + "definitions": { + "event_base": { + "title": "Event", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "$ref": "#/definitions/event_functions", + "properties": { + "sequence": { + "title": "Sequence", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { + "title": "Sequence", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "$ref": "#/definitions/event_functions" + } + }, + "randomize": { + "title": "Randomize", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { + "title": "Randomize", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "$ref": "#/definitions/event_functions", + "required": ["weight"], + "properties": { + "weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 } + } + } + }, + "run_command": { + "title": "Run Command", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "command": { + "title": "Command", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["other"] } + } + } + } + }, + "event_functions": { + "title": "Event", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "properties": { + "add_mob_effect": { "$ref": "./events/add_mob_effect.json" }, + "damage": { "$ref": "./events/damage.json" }, + "decrement_stack": { "$ref": "./events/decrement_stack.json" }, + "remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" }, + "shoot": { "$ref": "./events/shoot.json" }, + "swing": { "$ref": "./events/swing.json" }, + "teleport": { "$ref": "./events/teleport.json" }, + "transform_item": { "$ref": "./events/transform_item.json" } + } + } + } +} diff --git a/source/behavior/items/1.16.200/events/add_mob_effect.json b/source/behavior/items/format/events/add_mob_effect.json similarity index 98% rename from source/behavior/items/1.16.200/events/add_mob_effect.json rename to source/behavior/items/format/events/add_mob_effect.json index df7aa0db..3a61a9c9 100644 --- a/source/behavior/items/1.16.200/events/add_mob_effect.json +++ b/source/behavior/items/format/events/add_mob_effect.json @@ -1,14 +1,14 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.add_mob_effect", - "title": "Add Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.add_mob_effect", + "title": "Add Mob Effect", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, + "duration": { "type": "number", "title": "Duration", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "amplifier": { "type": "number", "title": "Amplifier", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } +} diff --git a/source/behavior/items/1.16.200/events/damage.json b/source/behavior/items/format/events/damage.json similarity index 97% rename from source/behavior/items/1.16.200/events/damage.json rename to source/behavior/items/format/events/damage.json index bce9354d..c6e61d9b 100644 --- a/source/behavior/items/1.16.200/events/damage.json +++ b/source/behavior/items/format/events/damage.json @@ -1,12 +1,12 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "type": { "type": "string", "title": "Type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["magic"] }, - "amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", + "title": "Shoot", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "type": { "type": "string", "title": "Type", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["magic"] }, + "amount": { "type": "number", "title": "Amount", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } +} diff --git a/source/behavior/items/1.16.200/events/decrement_stack.json b/source/behavior/items/format/events/decrement_stack.json similarity index 96% rename from source/behavior/items/1.16.200/events/decrement_stack.json rename to source/behavior/items/format/events/decrement_stack.json index 57397523..854da926 100644 --- a/source/behavior/items/1.16.200/events/decrement_stack.json +++ b/source/behavior/items/format/events/decrement_stack.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.decrement_stack", - "title": "Decrement Stack", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.decrement_stack", + "title": "Decrement Stack", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false +} diff --git a/source/behavior/items/1.16.200/events/remove_mob_effect.json b/source/behavior/items/format/events/remove_mob_effect.json similarity index 97% rename from source/behavior/items/1.16.200/events/remove_mob_effect.json rename to source/behavior/items/format/events/remove_mob_effect.json index 26d32575..12cd89cd 100644 --- a/source/behavior/items/1.16.200/events/remove_mob_effect.json +++ b/source/behavior/items/format/events/remove_mob_effect.json @@ -1,12 +1,12 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.remove_mob_effect", - "title": "Remove Mob Effect", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.remove_mob_effect", + "title": "Remove Mob Effect", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "effect": { "type": "string", "title": "Effect", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] } + } +} diff --git a/source/behavior/items/1.16.200/events/shoot.json b/source/behavior/items/format/events/shoot.json similarity index 96% rename from source/behavior/items/1.16.200/events/shoot.json rename to source/behavior/items/format/events/shoot.json index 8ceacbfe..8760d324 100644 --- a/source/behavior/items/1.16.200/events/shoot.json +++ b/source/behavior/items/format/events/shoot.json @@ -1,23 +1,23 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", - "title": "Shoot", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "angle_offset": { - "type": "number", - "title": "Angle Offset", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "launch_power": { - "type": "number", - "title": "Launch Power", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" - }, - "projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.shoot", + "title": "Shoot", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "angle_offset": { + "type": "number", + "title": "Angle Offset", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + }, + "launch_power": { + "type": "number", + "title": "Launch Power", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED" + }, + "projectile": { "type": "string", "title": "Projectile", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + } +} diff --git a/source/behavior/items/1.16.200/events/swing.json b/source/behavior/items/format/events/swing.json similarity index 96% rename from source/behavior/items/1.16.200/events/swing.json rename to source/behavior/items/format/events/swing.json index 213bab19..10dff2d7 100644 --- a/source/behavior/items/1.16.200/events/swing.json +++ b/source/behavior/items/format/events/swing.json @@ -1,8 +1,8 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.swing", - "title": "Swing", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.swing", + "title": "Swing", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false +} diff --git a/source/behavior/items/1.16.200/events/teleport.json b/source/behavior/items/format/events/teleport.json similarity index 97% rename from source/behavior/items/1.16.200/events/teleport.json rename to source/behavior/items/format/events/teleport.json index dbaa3caf..f5b38b70 100644 --- a/source/behavior/items/1.16.200/events/teleport.json +++ b/source/behavior/items/format/events/teleport.json @@ -1,22 +1,22 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.teleport", - "title": "Teleport", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { - "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, - "max_range": { - "type": "array", - "title": "Maximum Range", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "items": [ - { "type": "number", "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, - { "type": "number", "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } - ] - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.teleport", + "title": "Teleport", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { + "target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["holder"] }, + "max_range": { + "type": "array", + "title": "Maximum Range", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "items": [ + { "type": "number", "title": "X", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + { "type": "number", "title": "Y", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }, + { "type": "number", "title": "Z", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } + ] + } + } +} diff --git a/source/behavior/items/1.16.200/events/transform_item.json b/source/behavior/items/format/events/transform_item.json similarity index 97% rename from source/behavior/items/1.16.200/events/transform_item.json rename to source/behavior/items/format/events/transform_item.json index 5c38d934..7646f2a4 100644 --- a/source/behavior/items/1.16.200/events/transform_item.json +++ b/source/behavior/items/format/events/transform_item.json @@ -1,9 +1,9 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items.events.transform_item", - "title": "Transform Item", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "type": "object", - "additionalProperties": false, - "properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" } } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items.events.transform_item", + "title": "Transform Item", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "object", + "additionalProperties": false, + "properties": { "transform": { "title": "Transform", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "string" } } +} diff --git a/source/behavior/items/1.16.200/items.json b/source/behavior/items/format/items.json similarity index 98% rename from source/behavior/items/1.16.200/items.json rename to source/behavior/items/format/items.json index 0ed15f39..300127bc 100644 --- a/source/behavior/items/1.16.200/items.json +++ b/source/behavior/items/format/items.json @@ -1,89 +1,89 @@ -{ - "$id": "blockception.minecraft.behavior.1.16.200.items", - "description": "Minecraft items 1.16.200", - "required": ["format_version", "minecraft:item"], - "title": "Item", - "type": "object", - "properties": { - "format_version": { - "title": "Format Version", - "type": "string", - "description": "A version that tells minecraft what type of data format can be expected when reading this file." - }, - "minecraft:item": { - "additionalProperties": false, - "required": ["description"], - "type": "object", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "title": "Item", - "properties": { - "description": { - "additionalProperties": false, - "type": "object", - "title": "Description", - "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED", - "properties": { - "identifier": { - "title": "Identifier", - "type": "string", - "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", - "$ref": "../../../general/item/identifier.json" - }, - "category": { - "type": "string", - "default": "", - "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", - "title": "Category", - "examples": ["Nature", "Equipment", "Construction", "Items"] - }, - "is_experimental": { - "type": "boolean", - "default": false, - "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", - "title": "Is Experimental" - } - } - }, - "components": { - "additionalProperties": { "type": "object" }, - "type": "object", - "description": "The components of this item", - "properties": { - "minecraft:armor": { "$ref": "./components/minecraft.armor.json" }, - "minecraft:block_placer": { "$ref": "./components/minecraft.block_placer.json" }, - "minecraft:cooldown": { "$ref": "./components/minecraft.cooldown.json" }, - "minecraft:digger": { "$ref": "./components/minecraft.digger.json" }, - "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, - "minecraft:durability": { "$ref": "./components/minecraft.durability.json" }, - "minecraft:dye_powder": { "$ref": "./components/minecraft.dye_powder.json" }, - "minecraft:entity_placer": { "$ref": "./components/minecraft.entity_placer.json" }, - "minecraft:food": { "$ref": "./components/minecraft.food.json" }, - "minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" }, - "minecraft:icon": { "$ref": "./components/minecraft.icon.json" }, - "minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" }, - "minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 }, - "minecraft:use_duration": { - "type": "integer", - "title": "Use Duration", - "description": "How long to use before item is done being used." - }, - "minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" }, - "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, - "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, - "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, - "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, - "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, - "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, - "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" }, - "minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }, - - "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." } - } - }, - "events": { "$ref": "./events.json" } - } - } - } -} +{ + "$id": "blockception.minecraft.behavior.1.16.200.items", + "description": "Minecraft items 1.16.200", + "required": ["format_version", "minecraft:item"], + "title": "Item", + "type": "object", + "properties": { + "format_version": { + "title": "Format Version", + "type": "string", + "description": "A version that tells minecraft what type of data format can be expected when reading this file." + }, + "minecraft:item": { + "additionalProperties": false, + "required": ["description"], + "type": "object", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "title": "Item", + "properties": { + "description": { + "additionalProperties": false, + "type": "object", + "title": "Description", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "properties": { + "identifier": { + "title": "Identifier", + "type": "string", + "description": "The identifier for this item. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla item.", + "$ref": "../../../general/item/identifier.json" + }, + "category": { + "type": "string", + "default": "", + "description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.", + "title": "Category", + "examples": ["Nature", "Equipment", "Construction", "Items"] + }, + "is_experimental": { + "type": "boolean", + "default": false, + "description": "If this item is experimental, it will only be registered if the world is marked as experimental.", + "title": "Is Experimental" + } + } + }, + "components": { + "additionalProperties": { "type": "object" }, + "type": "object", + "description": "The components of this item", + "properties": { + "minecraft:armor": { "$ref": "./components/minecraft.armor.json" }, + "minecraft:block_placer": { "$ref": "./components/minecraft.block_placer.json" }, + "minecraft:cooldown": { "$ref": "./components/minecraft.cooldown.json" }, + "minecraft:digger": { "$ref": "./components/minecraft.digger.json" }, + "minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" }, + "minecraft:durability": { "$ref": "./components/minecraft.durability.json" }, + "minecraft:dye_powder": { "$ref": "./components/minecraft.dye_powder.json" }, + "minecraft:entity_placer": { "$ref": "./components/minecraft.entity_placer.json" }, + "minecraft:food": { "$ref": "./components/minecraft.food.json" }, + "minecraft:fuel": { "$ref": "./components/minecraft.fuel.json" }, + "minecraft:icon": { "$ref": "./components/minecraft.icon.json" }, + "minecraft:knockback_resistance": { "$ref": "./components/minecraft.knockback_resistance.json" }, + "minecraft:max_stack_size": { "type": "integer", "title": "Max Stack Size", "description": "Maximum stack size.", "minimum": 0 }, + "minecraft:use_duration": { + "type": "integer", + "title": "Use Duration", + "description": "How long to use before item is done being used." + }, + "minecraft:on_use": { "$ref": "./components/minecraft.on_use.json" }, + "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, + "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, + "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, + "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, + "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, + "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, + "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" }, + "minecraft:wearable": { "$ref": "./components/minecraft.wearable.json" }, + + "minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." } + } + }, + "events": { "$ref": "./events.json" } + } + } + } +}