auto: Formatted json files

This commit is contained in:
DaanV2
2021-01-18 01:29:00 +01:00
parent e2b7b27654
commit d7e95b15c2
83 changed files with 275 additions and 218 deletions

View File

@@ -14,7 +14,7 @@
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Minecraft block definitions", "title": "Block definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -14,7 +14,7 @@
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Minecraft block definitions", "title": "Block definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -14,7 +14,7 @@
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Minecraft block definitions", "title": "Block definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -14,7 +14,7 @@
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Minecraft block definitions", "title": "Block definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@@ -46,7 +46,7 @@
"title": "Register to creative menu" "title": "Register to creative menu"
}, },
"properties": { "properties": {
"title": "properties", "title": "Properties",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"propertyNames": { "propertyNames": {
"pattern": "%([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)&" "pattern": "%([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)&"

View File

@@ -9,25 +9,25 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"min_fall_distance": { "min_fall_distance": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "The minimum distance in blocks that an actor needs to fall to trigger this event.", "description": "The minimum distance in blocks that an actor needs to fall to trigger this event.",
"title": "min fall distance" "title": "Min fall distance"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -41,13 +41,13 @@
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Does the event loop", "description": "Does the event loop",
"title": "looping" "title": "Looping"
}, },
"range": { "range": {
"type": "array", "type": "array",
"default": [10, 10], "default": [10, 10],
"description": "The Range between which the component will trigger his event.", "description": "The Range between which the component will trigger his event.",
"title": "range" "title": "Range"
} }
} }
} }

View File

@@ -3,32 +3,32 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.add_mob_effect", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.add_mob_effect",
"type": "object", "type": "object",
"description": "Apply mob effect to target.", "description": "Apply mob effect to target.",
"title": "add mob effect", "title": "Add mob effect",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"amplifier": { "amplifier": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The amplifier for the mob effect.", "description": "The amplifier for the mob effect.",
"title": "amplifier" "title": "Amplifier"
}, },
"duration": { "duration": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "The duration of the mob effect.", "description": "The duration of the mob effect.",
"title": "duration" "title": "Duration"
}, },
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The mob effect to apply.", "description": "The mob effect to apply.",
"title": "effect" "title": "Effect"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,26 +3,26 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.damage", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.damage",
"type": "object", "type": "object",
"description": "Deals damage to the target.", "description": "Deals damage to the target.",
"title": "damage", "title": "Damage",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"amount": { "amount": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The amount of damage to deal.", "description": "The amount of damage to deal.",
"title": "amount" "title": "Amount"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
}, },
"type": { "type": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The type of damage to deal.", "description": "The type of damage to deal.",
"title": "type" "title": "Type"
} }
} }
} }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.decrement_stack", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.decrement_stack",
"type": "object", "type": "object",
"description": "Decrement item stack.", "description": "Decrement item stack.",
"title": "decrement_stack", "title": "Decrement stack",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.die", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.die",
"type": "object", "type": "object",
"description": "Kill target. If target is self and this is run from a block then destroy the block.", "description": "Kill target. If target is self and this is run from a block then destroy the block.",
"title": "die", "title": "Die",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,26 +3,26 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.play_effect", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.play_effect",
"type": "object", "type": "object",
"description": "Spawns a particle effect relative to target position.", "description": "Spawns a particle effect relative to target position.",
"title": "play_effect", "title": "Play effect",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"data": { "data": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Particle data value.", "description": "Particle data value.",
"title": "data" "title": "Data"
}, },
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The name of the particle effect to create.", "description": "The name of the particle effect to create.",
"title": "effect" "title": "Effect"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -10,13 +10,13 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The name of the sound to play.", "description": "The name of the sound to play.",
"title": "sound" "title": "Sound"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,20 +3,20 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.remove_mob_effect", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.remove_mob_effect",
"type": "object", "type": "object",
"description": "Removes mob effect from target.", "description": "Removes mob effect from target.",
"title": "remove_mob_effect", "title": "Remove mob effect",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
"title": "effect" "title": "Effect"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,7 +9,7 @@
"command": { "command": {
"default": "", "default": "",
"description": "Slash command to run.", "description": "Slash command to run.",
"title": "command", "title": "Command",
"oneof": [ "oneof": [
{ "type": "string" }, { "type": "string" },
{ {
@@ -26,7 +26,7 @@
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block",
"type": "object", "type": "object",
"description": "Sets this block to another block type.", "description": "Sets this block to another block type.",
"title": "set_block", "title": "Set block",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"block_type": { "block_type": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The type of block to set.", "description": "The type of block to set.",
"title": "block type" "title": "Block type"
} }
} }
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block_at_pos", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block_at_pos",
"type": "object", "type": "object",
"description": "Sets a block relative to this block to another block type.", "description": "Sets a block relative to this block to another block type.",
"title": "set_block_at_pos", "title": "Set block at pos",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"block_offset": { "block_offset": {
"type": "array", "type": "array",
"default": [0.0, 0.0, 0.0], "default": [0.0, 0.0, 0.0],
"description": "The offset from the block's center.", "description": "The offset from the block's center.",
"title": "block offset", "title": "Block offset",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
@@ -21,7 +21,7 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The type of block to set.", "description": "The type of block to set.",
"title": "block type" "title": "Block type"
} }
} }
} }

View File

@@ -3,13 +3,13 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block_property", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block_property",
"type": "object", "type": "object",
"description": "Sets a block property on this block", "description": "Sets a block property on this block",
"title": "set_block_property", "title": "Set block property",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"property": { "property": {
"type": "string", "type": "string",
"description": "Block property to set on the block.", "description": "Block property to set on the block.",
"title": "property" "title": "Property"
} }
} }
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.spawn_loot", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.spawn_loot",
"type": "object", "type": "object",
"description": "Spawn loot from block.", "description": "Spawn loot from block.",
"title": "spawn_loot", "title": "Spawn loot",
"required": ["table"], "required": ["table"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"table": { "table": {
"type": "string", "type": "string",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.", "description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "table" "title": "Table"
} }
} }
} }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.swing", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.swing",
"type": "object", "type": "object",
"description": "Event causes the actor to swing.", "description": "Event causes the actor to swing.",
"title": "swing", "title": "Swing",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -3,19 +3,19 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.teleport", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.teleport",
"type": "object", "type": "object",
"description": "Teleport target randomly around destination point.", "description": "Teleport target randomly around destination point.",
"title": "teleport", "title": "Teleport",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"avoid_water": { "avoid_water": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Determines if the teleport avoids putting the target in water.", "description": "Determines if the teleport avoids putting the target in water.",
"title": "avoid water" "title": "Avoid water"
}, },
"destination": { "destination": {
"default": [0.0, 0.0, 0.0], "default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.", "description": "Origin destination of the teleport.",
"title": "destination", "title": "Destination",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
@@ -26,12 +26,12 @@
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Determines if the teleport places the target on a block.", "description": "Determines if the teleport places the target on a block.",
"title": "land on block" "title": "Land on block"
}, },
"max_range": { "max_range": {
"default": [8.0, 8.0, 8.0], "default": [8.0, 8.0, 8.0],
"description": "Max range the target can teleport relative to the origin destination.", "description": "Max range the target can teleport relative to the origin destination.",
"title": "max range", "title": "Max range",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
@@ -42,7 +42,7 @@
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,13 +3,13 @@
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.transform_item", "$id": "blockception.minecraft.behaviour.1.16.100.block.events.transform_item",
"type": "object", "type": "object",
"description": "Transforms item into another item.", "description": "Transforms item into another item.",
"title": "transform_item 1.16.100", "title": "Transform item 1.16.100",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"transform": { "transform": {
"type": "string", "type": "string",
"description": "Name of the item it should transform into", "description": "Name of the item it should transform into",
"title": "transform" "title": "Transform"
} }
} }
} }

View File

@@ -14,7 +14,7 @@
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:block": { "minecraft:block": {
"title": "Minecraft block definitions", "title": "Block definitions",
"description": "A custom block definition", "description": "A custom block definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
@@ -46,7 +46,7 @@
"title": "Register to creative menu" "title": "Register to creative menu"
}, },
"properties": { "properties": {
"title": "properties", "title": "Properties",
"description": "UNDOCUMENATED", "description": "UNDOCUMENATED",
"propertyNames": { "propertyNames": {
"pattern": "%([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)&" "pattern": "%([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)&"

View File

@@ -9,25 +9,25 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"min_fall_distance": { "min_fall_distance": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "The minimum distance in blocks that an actor needs to fall to trigger this event.", "description": "The minimum distance in blocks that an actor needs to fall to trigger this event.",
"title": "min fall distance" "title": "Min fall distance"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,19 +9,19 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The condition of event to be executed on the block.", "description": "The condition of event to be executed on the block.",
"title": "condition" "title": "Condition"
}, },
"event": { "event": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The event executed on the block.", "description": "The event executed on the block.",
"title": "event" "title": "Event"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target of event executed on the block.", "description": "The target of event executed on the block.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -41,13 +41,13 @@
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Does the event loop", "description": "Does the event loop",
"title": "looping" "title": "Looping"
}, },
"range": { "range": {
"type": "array", "type": "array",
"default": [10, 10], "default": [10, 10],
"description": "The Range between which the component will trigger his event.", "description": "The Range between which the component will trigger his event.",
"title": "range" "title": "Range"
} }
} }
} }

View File

@@ -3,32 +3,32 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.add_mob_effect", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.add_mob_effect",
"type": "object", "type": "object",
"description": "Apply mob effect to target.", "description": "Apply mob effect to target.",
"title": "add mob effect 1.16.200", "title": "Add mob effect 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"amplifier": { "amplifier": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The amplifier for the mob effect.", "description": "The amplifier for the mob effect.",
"title": "amplifier" "title": "Amplifier"
}, },
"duration": { "duration": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "The duration of the mob effect.", "description": "The duration of the mob effect.",
"title": "duration" "title": "Duration"
}, },
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The mob effect to apply.", "description": "The mob effect to apply.",
"title": "effect" "title": "Effect"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,26 +3,26 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.damage", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.damage",
"type": "object", "type": "object",
"description": "Deals damage to the target.", "description": "Deals damage to the target.",
"title": "damage 1.16.200", "title": "Damage 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"amount": { "amount": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The amount of damage to deal.", "description": "The amount of damage to deal.",
"title": "amount" "title": "Amount"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
}, },
"type": { "type": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The type of damage to deal.", "description": "The type of damage to deal.",
"title": "type" "title": "Type"
} }
} }
} }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.decrement_stack", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.decrement_stack",
"type": "object", "type": "object",
"description": "Decrement item stack.", "description": "Decrement item stack.",
"title": "decrement_stack 1.16.200", "title": "Decrement stack 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.die", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.die",
"type": "object", "type": "object",
"description": "Kill target. If target is self and this is run from a block then destroy the block.", "description": "Kill target. If target is self and this is run from a block then destroy the block.",
"title": "die 1.16.200", "title": "Die 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,26 +3,26 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.play_effect", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.play_effect",
"type": "object", "type": "object",
"description": "Spawns a particle effect relative to target position.", "description": "Spawns a particle effect relative to target position.",
"title": "play_effect 1.16.200", "title": "Play effect 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"data": { "data": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Particle data value.", "description": "Particle data value.",
"title": "data" "title": "Data"
}, },
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The name of the particle effect to create.", "description": "The name of the particle effect to create.",
"title": "effect" "title": "Effect"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -10,13 +10,13 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The name of the sound to play.", "description": "The name of the sound to play.",
"title": "sound" "title": "Sound"
}, },
"target": { "target": {
"type": "object", "type": "object",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,20 +3,20 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.remove_mob_effect", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.remove_mob_effect",
"type": "object", "type": "object",
"description": "Removes mob effect from target.", "description": "Removes mob effect from target.",
"title": "remove_mob_effect 1.16.200", "title": "Remove mob effect 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"effect": { "effect": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
"title": "effect" "title": "Effect"
}, },
"target": { "target": {
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -9,7 +9,7 @@
"command": { "command": {
"default": "", "default": "",
"description": "Slash command to run.", "description": "Slash command to run.",
"title": "command", "title": "Command",
"oneof": [ "oneof": [
{ "type": "string" }, { "type": "string" },
{ {
@@ -26,7 +26,7 @@
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.set_block", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.set_block",
"type": "object", "type": "object",
"description": "Sets this block to another block type.", "description": "Sets this block to another block type.",
"title": "set_block 1.16.200", "title": "Set block 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"block_type": { "block_type": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The type of block to set.", "description": "The type of block to set.",
"title": "block type" "title": "Block type"
} }
} }
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.set_block_at_pos", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.set_block_at_pos",
"type": "object", "type": "object",
"description": "Sets a block relative to this block to another block type.", "description": "Sets a block relative to this block to another block type.",
"title": "set_block_at_pos 1.16.200", "title": "Set block at pos 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"block_offset": { "block_offset": {
"type": "array", "type": "array",
"default": [0.0, 0.0, 0.0], "default": [0.0, 0.0, 0.0],
"description": "The offset from the block's center.", "description": "The offset from the block's center.",
"title": "block offset", "title": "Block offset",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
@@ -21,7 +21,7 @@
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The type of block to set.", "description": "The type of block to set.",
"title": "block type" "title": "Block type"
} }
} }
} }

View File

@@ -3,13 +3,13 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.set_block_property", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.set_block_property",
"type": "object", "type": "object",
"description": "Sets a block property on this block", "description": "Sets a block property on this block",
"title": "set_block_property 1.16.200", "title": "Set block property 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"property": { "property": {
"type": "string", "type": "string",
"description": "Block property to set on the block.", "description": "Block property to set on the block.",
"title": "property" "title": "Property"
} }
} }
} }

View File

@@ -3,14 +3,14 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.spawn_loot", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.spawn_loot",
"type": "object", "type": "object",
"description": "Spawn loot from block.", "description": "Spawn loot from block.",
"title": "spawn_loot 1.16.200", "title": "Spawn loot 1.16.200",
"required": ["table"], "required": ["table"],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"table": { "table": {
"type": "string", "type": "string",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.", "description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "table" "title": "Table"
} }
} }
} }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.swing", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.swing",
"type": "object", "type": "object",
"description": "Event causes the actor to swing.", "description": "Event causes the actor to swing.",
"title": "swing 1.16.200", "title": "Swing 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": {} "properties": {}
} }

View File

@@ -3,19 +3,19 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.teleport", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.teleport",
"type": "object", "type": "object",
"description": "Teleport target randomly around destination point.", "description": "Teleport target randomly around destination point.",
"title": "teleport 1.16.200", "title": "Teleport 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"avoid_water": { "avoid_water": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Determines if the teleport avoids putting the target in water.", "description": "Determines if the teleport avoids putting the target in water.",
"title": "avoid water" "title": "Avoid water"
}, },
"destination": { "destination": {
"default": [0.0, 0.0, 0.0], "default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.", "description": "Origin destination of the teleport.",
"title": "destination", "title": "Destination",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
@@ -26,12 +26,12 @@
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Determines if the teleport places the target on a block.", "description": "Determines if the teleport places the target on a block.",
"title": "land on block" "title": "Land on block"
}, },
"max_range": { "max_range": {
"default": [8.0, 8.0, 8.0], "default": [8.0, 8.0, 8.0],
"description": "Max range the target can teleport relative to the origin destination.", "description": "Max range the target can teleport relative to the origin destination.",
"title": "max range", "title": "Max range",
"items": [ "items": [
{ "type": "number", "title": "X", "description": "The x offset from the block's center." }, { "type": "number", "title": "X", "description": "The x offset from the block's center." },
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." }, { "type": "number", "title": "Y", "description": "The y offset from the block's center." },
@@ -42,7 +42,7 @@
"type": "string", "type": "string",
"default": "self", "default": "self",
"description": "The target context to execute against.", "description": "The target context to execute against.",
"title": "target" "title": "Target"
} }
} }
} }

View File

@@ -3,13 +3,13 @@
"$id": "blockception.minecraft.behaviour.1.16.200.block.events.transform_item", "$id": "blockception.minecraft.behaviour.1.16.200.block.events.transform_item",
"type": "object", "type": "object",
"description": "Transforms item into another item.", "description": "Transforms item into another item.",
"title": "transform_item 1.16.200", "title": "Transform item 1.16.200",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"transform": { "transform": {
"type": "string", "type": "string",
"description": "Name of the item it should transform into", "description": "Name of the item it should transform into",
"title": "transform" "title": "Transform"
} }
} }
} }

View File

@@ -113,7 +113,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -113,7 +113,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -113,7 +113,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.walk", "$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.walk",
"title": "Minecraft.navigation.walk 1.13.0", "title": "Navigation.walk 1.13.0",
"description": "Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.", "description": "Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -113,7 +113,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -113,7 +113,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -18,7 +18,7 @@
"description": "How close a hostile entity must be to have the damage applied.", "description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage range" "title": "Damage range"
}, },
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Minecraft Filter" }, "entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": { "cause": {
"type": "string", "type": "string",
"description": "TODO", "description": "TODO",

View File

@@ -102,7 +102,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -102,7 +102,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -18,7 +18,7 @@
"description": "How close a hostile entity must be to have the damage applied.", "description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage range" "title": "Damage range"
}, },
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Minecraft Filter" }, "entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": { "cause": {
"type": "string", "type": "string",
"description": "TODO", "description": "TODO",

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.conditional_bandwidth_optimization", "$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.conditional_bandwidth_optimization",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"title": "conditional_bandwidth_optimization 1.8.0", "title": "Conditional bandwidth optimization 1.8.0",
"description": "Defines the Conditional Spatial Update Bandwidth Optimizations of this entity.", "description": "Defines the Conditional Spatial Update Bandwidth Optimizations of this entity.",
"properties": { "properties": {
"conditional_values": { "conditional_values": {

View File

@@ -12,7 +12,7 @@
"description": "List of blocks, with certain block states, that we are monitoring to see if the entity is inside.", "description": "List of blocks, with certain block states, that we are monitoring to see if the entity is inside.",
"type": "array", "type": "array",
"items": { "items": {
"title": "block", "title": "Block",
"description": "TODO", "description": "TODO",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.leashable", "$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.leashable",
"description": "Allows this entity to be leashed and Defines the conditions and events for this entity when is leashed.", "description": "Allows this entity to be leashed and Defines the conditions and events for this entity when is leashed.",
"type": "object", "type": "object",
"title": "Minecraft.leashable 1.8.0", "title": "Leashable 1.8.0",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {

View File

@@ -114,7 +114,7 @@
"minecraft:entity_born": { "minecraft:entity_born": {
"description": "Event called on an entity that is spawned through two entities breeding.", "description": "Event called on an entity that is spawned through two entities breeding.",
"$ref": "#/definitions/event_base", "$ref": "#/definitions/event_base",
"title": "Minecraft:entity Born" "title": "Entity Born"
}, },
"minecraft:entity_spawned": { "minecraft:entity_spawned": {
"description": "Event called on an entity that is placed in the level.", "description": "Event called on an entity that is placed in the level.",

View File

@@ -141,16 +141,24 @@
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string" "type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"chance": { "chance": {
"type": "number" "type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"duration": { "duration": {
"type": "integer" "type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"amplifier": { "amplifier": {
"type": "integer" "type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
} }
} }
} }

View File

@@ -69,7 +69,8 @@
}, },
"minecraft:max_damage": { "minecraft:max_damage": {
"type": "integer", "type": "integer",
"description": "Max damage item has, this is used like item max health." "description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
}, },
"minecraft:hand_equipped": { "minecraft:hand_equipped": {
"type": "boolean", "type": "boolean",
@@ -78,24 +79,29 @@
}, },
"minecraft:stacked_by_data": { "minecraft:stacked_by_data": {
"type": "boolean", "type": "boolean",
"description": "Stacked by data aux value or not?" "description": "Stacked by data aux value or not?",
"title": "UNDOCUMANTED"
}, },
"minecraft:foil": { "minecraft:foil": {
"type": "boolean", "type": "boolean",
"description": "Foil or glint." "description": "Foil or glint.",
"title": "UNDOCUMANTED"
}, },
"minecraft:block": { "minecraft:block": {
"type": "string", "type": "string",
"description": "Block name, leave blank for no block." "description": "Block name, leave blank for no block.",
"title": "UNDOCUMANTED"
}, },
"minecraft:max_stack_size": { "minecraft:max_stack_size": {
"type": "integer", "type": "integer",
"description": "Max stack size.", "description": "Max stack size.",
"title": "UNDOCUMANTED",
"minimum": 0 "minimum": 0
}, },
"minecraft:use_duration": { "minecraft:use_duration": {
"type": "integer", "type": "integer",
"description": "How long to use before item is done being used." "description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
}, },
"minecraft:food": { "minecraft:food": {
"type": "object", "type": "object",
@@ -104,38 +110,46 @@
"properties": { "properties": {
"nutrition": { "nutrition": {
"type": "integer", "type": "integer",
"description": "Nutrition amount." "description": "Nutrition amount.",
"title": "UNDOCUMANTED"
}, },
"saturation_modifier": { "saturation_modifier": {
"type": "string", "type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.", "description": "Choose: poor, low, normal, good, max, supernatural.",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"] "enum": ["poor", "low", "normal", "good", "max", "supernatural"],
"title": "UNDOCUMANTED"
}, },
"using_converts_to": { "using_converts_to": {
"type": "string", "type": "string",
"description": "After using, item converts it to this item.", "description": "After using, item converts it to this item.",
"title": "UNDOCUMANTED",
"$ref": "../../../general/item/identifier.json" "$ref": "../../../general/item/identifier.json"
}, },
"on_use_action": { "on_use_action": {
"type": "string", "type": "string",
"description": "'chorus_teleport' or 'none'.", "description": "'chorus_teleport' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"] "enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
}, },
"on_use_range": { "on_use_range": {
"$ref": "../../../general/array_3_number.json" "$ref": "../../../general/array_3_number.json",
"title": "UNDOCUMANTED"
}, },
"cooldown_type": { "cooldown_type": {
"type": "string", "type": "string",
"description": "'chorusfruit' or 'none'.", "description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"] "enum": ["chorusfruit", "none"]
}, },
"cooldown_time": { "cooldown_time": {
"type": "integer", "type": "integer",
"description": "Cooldown time in ticks." "description": "Cooldown time in ticks.",
"title": "UNDOCUMANTED"
}, },
"can_always_eat": { "can_always_eat": {
"type": "boolean", "type": "boolean",
"description": "Can always eat this item? true or false." "description": "Can always eat this item? true or false.",
"title": "UNDOCUMANTED"
}, },
"effects": { "effects": {
"type": "array", "type": "array",
@@ -144,16 +158,24 @@
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string" "type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"chance": { "chance": {
"type": "number" "type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"duration": { "duration": {
"type": "integer" "type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"amplifier": { "amplifier": {
"type": "integer" "type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
} }
} }
} }
@@ -161,9 +183,11 @@
"remove_effects": { "remove_effects": {
"type": "array", "type": "array",
"description": "Can always eat this item? true or false.", "description": "Can always eat this item? true or false.",
"title": "remove_effects", "title": "Remove effects",
"items": { "items": {
"type": "string" "type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
} }
} }
} }
@@ -173,10 +197,13 @@
"type": "object", "type": "object",
"properties": { "properties": {
"crop_result": { "crop_result": {
"type": "string" "type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"plant_at": { "plant_at": {
"description": "Valid blocks you can plant this item at.", "description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",

View File

@@ -32,13 +32,13 @@
"type": "string", "type": "string",
"default": "", "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.", "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" "title": "Category"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.", "description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "is experimental" "title": "Is experimental"
} }
} }
}, },
@@ -81,7 +81,8 @@
}, },
"minecraft:max_damage": { "minecraft:max_damage": {
"type": "integer", "type": "integer",
"description": "Max damage item has, this is used like item max health." "description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
}, },
"minecraft:hand_equipped": { "minecraft:hand_equipped": {
"type": "boolean", "type": "boolean",
@@ -90,24 +91,29 @@
}, },
"minecraft:stacked_by_data": { "minecraft:stacked_by_data": {
"type": "boolean", "type": "boolean",
"description": "Stacked by data aux value or not?" "description": "Stacked by data aux value or not?",
"title": "UNDOCUMANTED"
}, },
"minecraft:foil": { "minecraft:foil": {
"type": "boolean", "type": "boolean",
"description": "Foil or glint." "description": "Foil or glint.",
"title": "UNDOCUMANTED"
}, },
"minecraft:block": { "minecraft:block": {
"type": "string", "type": "string",
"description": "Block name, leave blank for no block." "description": "Block name, leave blank for no block.",
"title": "UNDOCUMANTED"
}, },
"minecraft:max_stack_size": { "minecraft:max_stack_size": {
"type": "integer", "type": "integer",
"description": "Max stack size.", "description": "Max stack size.",
"title": "UNDOCUMANTED",
"minimum": 0 "minimum": 0
}, },
"minecraft:use_duration": { "minecraft:use_duration": {
"type": "integer", "type": "integer",
"description": "How long to use before item is done being used." "description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
}, },
"minecraft:food": { "minecraft:food": {
"type": "object", "type": "object",
@@ -115,21 +121,25 @@
"properties": { "properties": {
"nutrition": { "nutrition": {
"type": "integer", "type": "integer",
"description": "Nutrition amount." "description": "Nutrition amount.",
"title": "UNDOCUMANTED"
}, },
"saturation_modifier": { "saturation_modifier": {
"type": "string", "type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.", "description": "Choose: poor, low, normal, good, max, supernatural.",
"title": "UNDOCUMANTED",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"] "enum": ["poor", "low", "normal", "good", "max", "supernatural"]
}, },
"using_converts_to": { "using_converts_to": {
"type": "string", "type": "string",
"description": "After using, item converts it to this item.", "description": "After using, item converts it to this item.",
"title": "UNDOCUMANTED",
"$ref": "../../../general/item/identifier.json" "$ref": "../../../general/item/identifier.json"
}, },
"on_use_action": { "on_use_action": {
"type": "string", "type": "string",
"description": "'chorus_teleport' or 'none'.", "description": "'chorus_teleport' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"] "enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
}, },
"on_use_range": { "on_use_range": {
@@ -138,33 +148,46 @@
"cooldown_type": { "cooldown_type": {
"type": "string", "type": "string",
"description": "'chorusfruit' or 'none'.", "description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"] "enum": ["chorusfruit", "none"]
}, },
"cooldown_time": { "cooldown_time": {
"type": "integer", "type": "integer",
"description": "Cooldown time in ticks." "description": "Cooldown time in ticks.",
"title": "UNDOCUMANTED"
}, },
"can_always_eat": { "can_always_eat": {
"type": "boolean", "type": "boolean",
"description": "Can always eat this item? true or false." "description": "Can always eat this item? true or false.",
"title": "UNDOCUMANTED"
}, },
"effects": { "effects": {
"type": "array", "type": "array",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED",
"items": { "items": {
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",
"properties": { "properties": {
"name": { "name": {
"type": "string" "type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"chance": { "chance": {
"type": "number" "type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"duration": { "duration": {
"type": "integer" "type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"amplifier": { "amplifier": {
"type": "integer" "type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
} }
} }
} }
@@ -176,10 +199,13 @@
"type": "object", "type": "object",
"properties": { "properties": {
"crop_result": { "crop_result": {
"type": "string" "type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}, },
"plant_at": { "plant_at": {
"description": "Valid blocks you can plant this item at.", "description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",

View File

@@ -10,13 +10,13 @@
"protection": { "protection": {
"type": "number", "type": "number",
"description": "How much protection does the armor item have.", "description": "How much protection does the armor item have.",
"title": "protection" "title": "Protection"
}, },
"texture_type": { "texture_type": {
"type": "string", "type": "string",
"default": "", "default": "",
"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"
} }
} }
} }

View File

@@ -24,7 +24,7 @@
"block": { "block": {
"type": "string", "type": "string",
"description": "Set the placement block name for the planter item.", "description": "Set the placement block name for the planter item.",
"title": "protection" "title": "Protection"
}, },
"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.",

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:display_name", "$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:display_name",
"title": "display_name", "title": "Display name",
"description": "Display Name item component. Display Names display the name of an item.", "description": "Display Name item component. Display Names display the name of an item.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -9,7 +9,7 @@
"properties": { "properties": {
"duration": { "duration": {
"type": "number", "type": "number",
"title": "duration", "title": "Duration",
"description": "How long in seconds will this fuel cook items for." "description": "How long in seconds will this fuel cook items for."
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:", "$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
"title": "minecraft:throwable", "title": "Throwable",
"description": "Throwable item component. Throwable items, such as a snowball.", "description": "Throwable item component. Throwable items, such as a snowball.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -15,7 +15,7 @@
"required": ["description"], "required": ["description"],
"type": "object", "type": "object",
"description": "TODO", "description": "TODO",
"title": "Minecraft item", "title": "item",
"properties": { "properties": {
"description": { "description": {
"additionalProperties": false, "additionalProperties": false,
@@ -33,20 +33,18 @@
"type": "string", "type": "string",
"default": "", "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.", "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" "title": "Category"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.", "description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "is experimental" "title": "Is experimental"
} }
} }
}, },
"components": { "components": {
"additionalProperties": { "additionalProperties": { "type": "object" },
"type": "object"
},
"type": "object", "type": "object",
"description": "The components of this item", "description": "The components of this item",
"properties": { "properties": {

View File

@@ -10,13 +10,13 @@
"protection": { "protection": {
"type": "number", "type": "number",
"description": "How much protection does the armor item have.", "description": "How much protection does the armor item have.",
"title": "protection" "title": "Protection"
}, },
"texture_type": { "texture_type": {
"type": "string", "type": "string",
"default": "", "default": "",
"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"
} }
} }
} }

View File

@@ -24,7 +24,7 @@
"block": { "block": {
"type": "string", "type": "string",
"description": "Set the placement block name for the planter item.", "description": "Set the placement block name for the planter item.",
"title": "protection" "title": "Protection"
}, },
"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.",

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:display_name", "$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:display_name",
"title": "display_name", "title": "Display name",
"description": "Display Name item component. Display Names display the name of an item.", "description": "Display Name item component. Display Names display the name of an item.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -9,7 +9,7 @@
"properties": { "properties": {
"duration": { "duration": {
"type": "number", "type": "number",
"title": "duration", "title": "Duration",
"description": "How long in seconds will this fuel cook items for." "description": "How long in seconds will this fuel cook items for."
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:", "$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:",
"title": "minecraft:throwable", "title": "Throwable",
"description": "Throwable item component. Throwable items, such as a snowball.", "description": "Throwable item component. Throwable items, such as a snowball.",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -15,7 +15,7 @@
"required": ["description"], "required": ["description"],
"type": "object", "type": "object",
"description": "TODO", "description": "TODO",
"title": "Minecraft item", "title": "Item",
"properties": { "properties": {
"description": { "description": {
"additionalProperties": false, "additionalProperties": false,
@@ -33,20 +33,18 @@
"type": "string", "type": "string",
"default": "", "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.", "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" "title": "Category"
}, },
"is_experimental": { "is_experimental": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.", "description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "is experimental" "title": "Is experimental"
} }
} }
}, },
"components": { "components": {
"additionalProperties": { "additionalProperties": { "type": "object" },
"type": "object"
},
"type": "object", "type": "object",
"description": "The components of this item", "description": "The components of this item",
"properties": { "properties": {

View File

@@ -58,12 +58,12 @@
"level": { "level": {
"title": "Level", "title": "Level",
"oneOf": [ "oneOf": [
{ "type": "integer", "title": "level" }, { "type": "integer", "title": "Level" },
{ {
"type": "array", "type": "array",
"items": [ "items": [
{ "type": "integer", "title": "min" }, { "type": "integer", "title": "Min" },
{ "type": "integer", "title": "max" } { "type": "integer", "title": "Max" }
] ]
} }
] ]

View File

@@ -16,7 +16,7 @@
"minecraft:client_entity": { "minecraft:client_entity": {
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"title": "Minecraft client entity", "title": "Client entity",
"description": "The definition of an entity's models, materials, textures, and animations", "description": "The definition of an entity's models, materials, textures, and animations",
"properties": { "properties": {
"description": { "description": {

View File

@@ -11,7 +11,7 @@
"title": "TODO title" "title": "TODO title"
}, },
"minecraft:item": { "minecraft:item": {
"title": "Minecraft item", "title": "Item",
"description": "TODO", "description": "TODO",
"required": ["description", "components"], "required": ["description", "components"],
"type": "object", "type": "object",
@@ -42,14 +42,14 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"minecraft:icon": { "minecraft:icon": {
"title": "Minecraft icon", "title": "Icon",
"description": "The texture defined in `textures/item_texture.json`", "description": "The texture defined in `textures/item_texture.json`",
"type": "string" "type": "string"
}, },
"minecraft:render_offsets": { "minecraft:render_offsets": {
"type": "string", "type": "string",
"description": "TODO", "description": "TODO",
"title": "Minecraft render offsets", "title": "Render offsets",
"enum": ["apple"] "enum": ["apple"]
} }
} }