Updating items

This commit is contained in:
DaanV2
2022-07-20 21:25:32 +02:00
parent e7465a00c4
commit 8b85afe464
39 changed files with 843 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:armor",
"$id": "blockception.minecraft.behavior.items.minecraft:armor",
"title": "Armor",
"description": "The armor item component determines the amount of protection you have in your armor item.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:block_placer",
"$id": "blockception.minecraft.behavior.items.minecraft:block_placer",
"title": "Block Placer",
"description": "Planter item component. planter items are items that can be planted.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:cooldown",
"$id": "blockception.minecraft.behavior.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",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:digger",
"$id": "blockception.minecraft.behavior.items.minecraft:digger",
"title": "Digger",
"description": "Digger item. Component put on items that dig.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:display_name",
"$id": "blockception.minecraft.behavior.items.minecraft:display_name",
"title": "Display Name",
"description": "Display Name item component. Display Names display the name of an item.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:durability",
"$id": "blockception.minecraft.behavior.items.minecraft:durability",
"title": "Durability",
"description": "Durability item component: how much damage can this item take before breaking.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:dye_powder",
"$id": "blockception.minecraft.behavior.items.minecraft:dye_powder",
"title": "Dye Powder",
"description": "Dye powder, there are 16 kinds of dye.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:entity_placer",
"$id": "blockception.minecraft.behavior.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",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:food",
"$id": "blockception.minecraft.behavior.items.minecraft:food",
"title": "Food",
"description": "When an item has a food component, it becomes edible to the player.",
"type": "object",
@@ -23,15 +23,63 @@
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["self"] }
}
},
"is_meat": {
"title": "Is Meat",
"description": "If true, this food item is considered meat.",
"type": "boolean",
"default": false
},
},
"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"
"oneOf": [
{ "type": "number" },
{
"type": "string",
"enum": ["poor", "low"]
}
]
},
"using_converts_to": {
"title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by `using_converts_to`.",
"type": "string"
},
"effects": {
"title": "Effects",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"title": "Effect",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"title": "Name",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"duration": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The duration of the effect.",
"$comment": "UNDOCUMENTED"
},
"amplifier": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "The amplifier of the effect.",
"$comment": "UNDOCUMENTED"
}
}
}
}
}
}

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:fuel",
"$id": "blockception.minecraft.behavior.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",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:hand_equiped",
"$id": "blockception.minecraft.behavior.items.minecraft:hand_equiped",
"additionalProperties": false,
"required": ["texture"],
"type": "boolean",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:icon",
"$id": "blockception.minecraft.behavior.items.minecraft:icon",
"title": "Icon",
"description": "The icon item componenent determines the icon to represent the item in the UI and elsewhere.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:knockback_resistance",
"$id": "blockception.minecraft.behavior.items.minecraft:knockback_resistance",
"title": "Knockback Resistance",
"description": "Knockback Resistance Item. Component put on items that provide knockback resistance.",
"type": "object",

View File

@@ -0,0 +1,9 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft:max_damage",
"additionalProperties": false,
"type": "integer",
"title": "Max Damage",
"description": "Maximum Damage",
"$comment": "UNDOCUMENTED",
"minimum": 0
}

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:max_stack_size",
"$id": "blockception.minecraft.behavior.items.minecraft:max_stack_size",
"additionalProperties": false,
"required": ["texture"],
"type": "integer",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:on_use",
"$id": "blockception.minecraft.behavior.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",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:",
"$id": "blockception.minecraft.behavior.items.minecraft:on_use_on",
"title": "On Use On",
"description": "The on_use_on item component allows you to receive an event when the item is used on a block in the world.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:projectile",
"$id": "blockception.minecraft.behavior.items.minecraft:projectile",
"title": "Projectile",
"description": "Projectile item component. projectile items shoot out, like an arrow.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:render_offsets",
"$id": "blockception.minecraft.behavior.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",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:repairable",
"$id": "blockception.minecraft.behavior.items.minecraft:repairable",
"title": "Repairable",
"description": "Repairable item component: how much damage can this item repair, what items can repair it.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:shooter",
"$id": "blockception.minecraft.behavior.items.minecraft:shooter",
"title": "Shooter",
"description": "Shooter Item Component.",
"type": "object",

View File

@@ -0,0 +1,6 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft:stacked_by_data",
"title": "On Use",
"description": "The on_use item component allows you to receive an event when the item is used.",
"type": "boolean"
}

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:",
"$id": "blockception.minecraft.behavior.items.minecraft:",
"title": "Throwable",
"description": "Throwable item component. Throwable items, such as a snowball.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:use_duration",
"$id": "blockception.minecraft.behavior.items.minecraft:use_duration",
"additionalProperties": false,
"required": ["texture"],
"type": "integer",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:weapon",
"$id": "blockception.minecraft.behavior.items.minecraft:weapon",
"title": "Weapon",
"description": "Weapon Item Component. Added to every weapon item such as axe, sword, trident, bow, crossbow.",
"type": "object",

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:wearable",
"$id": "blockception.minecraft.behavior.items.minecraft:wearable",
"title": "Wearable",
"description": "Wearable item component.",
"type": "object",