Moved to source folder
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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/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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "Max durability",
|
||||
"description": "Max durability is the amount of damage that this item can take before breaking.",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
|
||||
"description": "UNDOCUMENATED"
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
"title": "UNDOCUMENATED",
|
||||
"description": "UNDOCUMENATED",
|
||||
"enum": ["self"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "UNDOCUMENATED",
|
||||
"description": "UNDOCUMENATED"
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
"title": "UNDOCUMENATED",
|
||||
"description": "UNDOCUMENATED",
|
||||
"enum": ["block"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "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": "../../../../molang/1.8.0/number.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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": "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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user