Updated item components
This commit is contained in:
@@ -1,17 +1,18 @@
|
|||||||
{
|
{
|
||||||
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor",
|
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor",
|
||||||
"title": "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",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["protection", "texture_type"],
|
"required": ["protection", "texture_type"],
|
||||||
"properties": {
|
"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": {
|
"texture_type": {
|
||||||
"type": "string",
|
"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.",
|
"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"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"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": {
|
"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.",
|
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
|
||||||
"title": "Use On",
|
"title": "Use On",
|
||||||
|
|||||||
@@ -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" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,21 +11,22 @@
|
|||||||
"title": "Color",
|
"title": "Color",
|
||||||
"description": "Defines what color the dye is.",
|
"description": "Defines what color the dye is.",
|
||||||
"enum": [
|
"enum": [
|
||||||
"brown",
|
|
||||||
"white",
|
|
||||||
"black",
|
"black",
|
||||||
"blue",
|
|
||||||
"cyan",
|
|
||||||
"gray",
|
|
||||||
"green",
|
|
||||||
"lightblue",
|
|
||||||
"silver",
|
|
||||||
"lime",
|
|
||||||
"magenta",
|
|
||||||
"pink",
|
|
||||||
"purple",
|
|
||||||
"red",
|
"red",
|
||||||
"yellow"
|
"green",
|
||||||
|
"brown",
|
||||||
|
"blue",
|
||||||
|
"purple",
|
||||||
|
"cyan",
|
||||||
|
"silver",
|
||||||
|
"gray",
|
||||||
|
"pink",
|
||||||
|
"lime",
|
||||||
|
"yellow",
|
||||||
|
"lightblue",
|
||||||
|
"magenta",
|
||||||
|
"orange",
|
||||||
|
"white"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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",
|
"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",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
"slot.armor.legs",
|
||||||
|
"none",
|
||||||
"slot.weapon.mainhand",
|
"slot.weapon.mainhand",
|
||||||
"slot.weapon.offhand",
|
"slot.weapon.offhand",
|
||||||
"slot.armor.head",
|
"slot.armor.head",
|
||||||
"slot.armor.chest",
|
"slot.armor.chest",
|
||||||
"slot.armor.legs",
|
|
||||||
"slot.armor.feet",
|
"slot.armor.feet",
|
||||||
"slot.hotbar",
|
"slot.hotbar",
|
||||||
"slot.inventory",
|
"slot.inventory",
|
||||||
|
|||||||
Reference in New Issue
Block a user