auto: Formatted documents
This commit is contained in:
@@ -7,7 +7,17 @@
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": { "type": "integer", "default": 0, "description": "How likely the block will be destroyed by flames when on fire.", "title": "Burn Odds" },
|
||||
"flame_odds": { "type": "integer", "default": 0, "description": "How likely the block will catch flame when next to a fire.", "title": "Flame Odds" }
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire.",
|
||||
"title": "Burn Odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire.",
|
||||
"title": "Flame Odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,17 @@
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": { "type": "integer", "default": 0, "description": "How likely the block will be destroyed by flames when on fire.", "title": "Burn Odds" },
|
||||
"flame_odds": { "type": "integer", "default": 0, "description": "How likely the block will catch flame when next to a fire.", "title": "Flame Odds" }
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire.",
|
||||
"title": "Burn Odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire.",
|
||||
"title": "Flame Odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,12 @@
|
||||
"type": "string",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"condition": { "title": "Condition", "type": "string", "default": "1", "description": "The condition of event to be executed on the block. Molang" },
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"default": "1",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." },
|
||||
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
|
||||
"target": {
|
||||
@@ -24,6 +29,11 @@
|
||||
}
|
||||
},
|
||||
"looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" },
|
||||
"range": { "type": "array", "default": [10, 10], "description": "The Range between which the component will trigger his event.", "title": "Range" }
|
||||
"range": {
|
||||
"type": "array",
|
||||
"default": [10, 10],
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"title": "Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
"title": "Remove Mob Effect",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"effect": { "type": "string", "default": "", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "title": "Effect" },
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
|
||||
"title": "Effect"
|
||||
},
|
||||
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,7 @@
|
||||
"title": "Spawn Loot",
|
||||
"required": ["table"],
|
||||
"additionalProperties": false,
|
||||
"properties": { "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } }
|
||||
"properties": {
|
||||
"table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
"title": "Teleport",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_water": { "type": "boolean", "default": true, "description": "Determines if the teleport avoids putting the target in water.", "title": "Avoid Water" },
|
||||
"avoid_water": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if the teleport avoids putting the target in water.",
|
||||
"title": "Avoid Water"
|
||||
},
|
||||
"destination": {
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"description": "Origin destination of the teleport.",
|
||||
@@ -17,7 +22,12 @@
|
||||
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
|
||||
]
|
||||
},
|
||||
"land_on_block": { "type": "boolean", "default": true, "description": "Determines if the teleport places the target on a block.", "title": "Land On Block" },
|
||||
"land_on_block": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if the teleport places the target on a block.",
|
||||
"title": "Land On Block"
|
||||
},
|
||||
"max_range": {
|
||||
"default": [8.0, 8.0, 8.0],
|
||||
"description": "Max range the target can teleport relative to the origin destination.",
|
||||
|
||||
@@ -7,7 +7,17 @@
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": { "type": "integer", "default": 0, "description": "How likely the block will be destroyed by flames when on fire.", "title": "Burn Odds" },
|
||||
"flame_odds": { "type": "integer", "default": 0, "description": "How likely the block will catch flame when next to a fire.", "title": "Flame Odds" }
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire.",
|
||||
"title": "Burn Odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire.",
|
||||
"title": "Flame Odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,12 @@
|
||||
"type": "string",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"condition": { "title": "Condition", "type": "string", "default": "1", "description": "The condition of event to be executed on the block. Molang" },
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"default": "1",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": { "title": "Event", "type": "string", "default": "set_block_property", "description": "The type of event executed on the block." },
|
||||
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
|
||||
"target": {
|
||||
@@ -24,6 +29,11 @@
|
||||
}
|
||||
},
|
||||
"looping": { "type": "boolean", "default": true, "description": "Does the event loop", "title": "Looping" },
|
||||
"range": { "type": "array", "default": [10, 10], "description": "The Range between which the component will trigger his event.", "title": "Range" }
|
||||
"range": {
|
||||
"type": "array",
|
||||
"default": [10, 10],
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"title": "Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
"title": "Remove Mob Effect 1.16.200",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"effect": { "type": "string", "default": "", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "title": "Effect" },
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
|
||||
"title": "Effect"
|
||||
},
|
||||
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,5 +6,7 @@
|
||||
"title": "Spawn Loot 1.16.200",
|
||||
"required": ["table"],
|
||||
"additionalProperties": false,
|
||||
"properties": { "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } }
|
||||
"properties": {
|
||||
"table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
"title": "Teleport 1.16.200",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_water": { "type": "boolean", "default": true, "description": "Determines if the teleport avoids putting the target in water.", "title": "Avoid Water" },
|
||||
"avoid_water": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if the teleport avoids putting the target in water.",
|
||||
"title": "Avoid Water"
|
||||
},
|
||||
"destination": {
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"description": "Origin destination of the teleport.",
|
||||
@@ -17,7 +22,12 @@
|
||||
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
|
||||
]
|
||||
},
|
||||
"land_on_block": { "type": "boolean", "default": true, "description": "Determines if the teleport places the target on a block.", "title": "Land On Block" },
|
||||
"land_on_block": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if the teleport places the target on a block.",
|
||||
"title": "Land On Block"
|
||||
},
|
||||
"max_range": {
|
||||
"default": [8.0, 8.0, 8.0],
|
||||
"description": "Max range the target can teleport relative to the origin destination.",
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.blocks",
|
||||
"examples": [{ "format_version": "1.16.200", "minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} } }],
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.16.200",
|
||||
"minecraft:block": { "description": { "identifier": "namespace:block", "properties": {} }, "components": {}, "events": {} }
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/blocks.json" } },
|
||||
|
||||
Reference in New Issue
Block a user