From a742b8f721a9df8ec2bfca61f43c94f8f807dc32 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Tue, 21 Sep 2021 23:24:24 +0200 Subject: [PATCH] Updated item components --- .../1.16.200/components/minecraft.armor.json | 9 ++++--- .../components/minecraft.block_placer.json | 2 +- .../1.16.200/components/minecraft.digger.json | 3 ++- .../components/minecraft.dye_powder.json | 27 ++++++++++--------- .../components/minecraft.wearable.json | 3 ++- 5 files changed, 24 insertions(+), 20 deletions(-) diff --git a/source/behavior/items/1.16.200/components/minecraft.armor.json b/source/behavior/items/1.16.200/components/minecraft.armor.json index 2c51e0ca..8aaa31b5 100644 --- a/source/behavior/items/1.16.200/components/minecraft.armor.json +++ b/source/behavior/items/1.16.200/components/minecraft.armor.json @@ -1,17 +1,18 @@ { "$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor", "title": "Armor", - "description": "The armor item componenent determines the amount of protection you have in your armor item.", + "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": "number", "description": "How much protection does the armor item have.", "title": "Protection" }, + "protection": { "type": "integer", "description": "How much protection does the armor item have.", "title": "Protection", "minimum": 0 }, "texture_type": { "type": "string", - "default": "", + "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" + "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/1.16.200/components/minecraft.block_placer.json index 072b8034..4bae5494 100644 --- a/source/behavior/items/1.16.200/components/minecraft.block_placer.json +++ b/source/behavior/items/1.16.200/components/minecraft.block_placer.json @@ -14,7 +14,7 @@ } }, "properties": { - "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "Protection" }, + "block": { "type": "string", "description": "Set the placement block name for the planter item.", "title": "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", diff --git a/source/behavior/items/1.16.200/components/minecraft.digger.json b/source/behavior/items/1.16.200/components/minecraft.digger.json index 6c9d45a4..62e1add2 100644 --- a/source/behavior/items/1.16.200/components/minecraft.digger.json +++ b/source/behavior/items/1.16.200/components/minecraft.digger.json @@ -45,6 +45,7 @@ } } } - } + }, + "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.dye_powder.json b/source/behavior/items/1.16.200/components/minecraft.dye_powder.json index f429f22a..e64cb596 100644 --- a/source/behavior/items/1.16.200/components/minecraft.dye_powder.json +++ b/source/behavior/items/1.16.200/components/minecraft.dye_powder.json @@ -11,21 +11,22 @@ "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" + "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.wearable.json b/source/behavior/items/1.16.200/components/minecraft.wearable.json index 1c73d910..17f00da5 100644 --- a/source/behavior/items/1.16.200/components/minecraft.wearable.json +++ b/source/behavior/items/1.16.200/components/minecraft.wearable.json @@ -11,11 +11,12 @@ "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.armor.legs", + "none", "slot.weapon.mainhand", "slot.weapon.offhand", "slot.armor.head", "slot.armor.chest", - "slot.armor.legs", "slot.armor.feet", "slot.hotbar", "slot.inventory",