Added items 1.16.200

This commit is contained in:
DaanV2
2021-01-05 00:13:27 +01:00
parent 2161da2198
commit 436764358a
22 changed files with 791 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.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"
}
}
}

View File

@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "../../../../general/molang/1.8.0/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"
}
}
}
}

View File

@@ -0,0 +1,21 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,65 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "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"
}
}
}
}
]
}
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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."
}
}
}

View File

@@ -0,0 +1,35 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "Max durability",
"description": "Max durability is the amount of damage that this item can take before breaking.",
"type": "number"
}
}
}

View File

@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": [
"brown",
"white",
"black",
"blue",
"cyan",
"gray",
"green",
"lightblue",
"silver",
"lime",
"magenta",
"pink",
"purple",
"red",
"yellow"
]
}
}
}

View File

@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
},
"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": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
}
}
}

View File

@@ -0,0 +1,52 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
"type": "object",
"additionalProperties": false,
"properties": {
"event": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"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"
}
}
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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."
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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."
}
}
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,30 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
}
}
}
}

View File

@@ -0,0 +1,30 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["block"]
}
}
}
}
}

View File

@@ -0,0 +1,21 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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"
}
}
}

View File

@@ -0,0 +1,43 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"additionalProperties": false,
"properties": {
"items": {
"title": "Items",
"description": "UNDOCUMENATED",
"type": "array",
"items": {
"type": "string",
"title": "Item",
"description": "UNDOCUMENATED"
}
},
"repair_amount": {
"title": "Repair amount",
"description": "UNDOCUMENATED",
"$ref": "../../../../general/molang/1.8.0/number.json"
}
}
}
}
}
}

View File

@@ -0,0 +1,73 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"item": {
"title": "Item",
"description": "UNDOCUMENTATED",
"type": "string"
},
"use_offhand": {
"title": "Use offhand",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"search_inventory": {
"title": "Search inventory",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"use_in_creative": {
"title": "Use in creative",
"description": "UNDOCUMENTATED",
"type": "boolean"
}
}
}
},
"charge_on_draw": {
"title": "Charge on draw",
"description": "Charge on draw? Default is set to false.",
"default": false,
"type": "boolean"
},
"launch_power_scale": {
"title": "Launch power scale",
"description": "Launch power scale. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": {
"title": "Max draw duration",
"description": "Draw Duration. Default is set to 0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max launch power",
"description": "Launch power. Default is set to 1.0.",
"default": 0,
"type": "number"
},
"scale_power_by_draw_duration": {
"title": "Scale power by draw duration",
"description": "Scale power by draw duration? Default is set to false.",
"default": false,
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,46 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:",
"title": "minecraft: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": "Max draw duration",
"description": "The maximum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"min_draw_duration": {
"title": "Min draw duration",
"description": "The minimum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max launch power",
"description": "The maximum power to launch the throwable item. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"scale_power_by_draw_duration": {
"title": "Scale power by draw duration",
"description": "Whether or not the power of the throw increases with duration charged. Default is set to false.",
"default": false,
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,61 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"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": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"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": "UNDOCUMENATED",
"description": "UNDOCUMENATED"
},
"target": {
"type": "string",
"title": "UNDOCUMENATED",
"description": "UNDOCUMENATED",
"enum": ["self"]
}
}
}
}

View File

@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:wearable",
"title": "Wearable",
"description": "Wearable item component.",
"type": "object",
"additionalProperties": false,
"properties": {
"dispensable": {
"title": "Dispensable",
"description": "",
"type": "boolean"
},
"slot": {
"title": "Slot",
"description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest",
"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"
]
}
}
}

View File

@@ -0,0 +1,76 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items",
"description": "Minecraft items 1.16.200",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"properties": {
"format_version": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"minecraft:item": {
"additionalProperties": false,
"required": ["description"],
"type": "object",
"description": "TODO",
"title": "Minecraft item",
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"title": "Description",
"description": "TODO",
"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"
},
"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: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:projectile": { "$ref": "./components/minecraft.projectile.json" },
"minecraft:repairable": { "$ref": "./components/minecraft.repairable.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" }
}
}
}
}
}
}

View File

@@ -19,6 +19,7 @@
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/items.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16" } } }, "then": { "$ref": "./1.16.0/items.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16" } } }, "then": { "$ref": "./1.16.0/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/items.json" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/items.json" } } { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.200" } } }, "then": { "$ref": "./1.16.100/items.json" } }
] ]
} }