{ "$id": "blockception.minecraft.behavior.blocks", "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": "#/definitions/A" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "#/definitions/A" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "#/definitions/CH" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "#/definitions/CI" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "#/definitions/CJ" } }, { "if": { "properties": { "format_version": { "type": "string", "const": "1.16.200" } } }, "then": { "$ref": "#/definitions/HH" } }, { "properties": { "format_version": { "$ref": "#/definitions/BCE" } } } ], "definitions": { "B": { "type": "string", "title": "Block Identifier", "description": "A minecraft block identifier", "pattern": "^[0-9a-zA-Z:_\\.\\-]+$", "examples": ["namespace:block"] }, "D": { "additionalProperties": false, "type": "integer", "title": "Block Light Absorption 1.10.0", "description": "The amount of light this block will absorb.", "default": 0 }, "E": { "additionalProperties": false, "type": "number", "title": "Block Light Emission 1.10.0", "description": "The amount of light this block will emit in a range [0.0, 1.0].", "minimum": 0, "maximum": 1, "default": 0.0 }, "F": { "additionalProperties": false, "type": "boolean", "title": "Break On Push 1.10.0", "description": "When pushed by a piston the block breaks." }, "G": { "additionalProperties": false, "type": "string", "title": "Breathability 1.10.0", "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", "enum": ["solid", "air"], "default": "solid" }, "H": { "additionalProperties": false, "type": "number", "title": "Destroy Time 1.10.0", "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times." }, "I": { "additionalProperties": false, "type": "string", "title": "Display Name 1.10.0", "description": "Specifies the display name id for the block." }, "J": { "additionalProperties": false, "title": "Entity Collision 1.10.0", "description": "Can only be set to false, it disables the collision of the block with entities.", "oneOf": [ { "type": "boolean", "const": false }, { "type": "object", "additionalProperties": false, "properties": { "origin": { "type": "array", "title": "Origin", "description": "Minimal position Bounds of the collision box", "default": [-8.0, 0.0, -8.0], "items": [ { "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Z", "description": "The z offset" } ] }, "size": { "type": "array", "title": "Size", "description": "Size of each side of the box of the component", "default": [16.0, 16.0, 16.0], "items": [ { "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Z", "description": "The z size" } ] } } } ] }, "BA": { "additionalProperties": false, "type": "number", "title": "Explosion Resistance 1.10.0", "description": "Sets the explosion resistance for this block.", "default": 0.0 }, "BB": { "additionalProperties": false, "type": "object", "title": "Flammable 1.10.0", "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" } } }, "BC": { "additionalProperties": false, "type": "number", "title": "Friction 1.10.0", "description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.", "default": 0.1 }, "BD": { "additionalProperties": false, "type": "string", "title": "Geometry 1.10.0", "description": "The geometry definition name to use.", "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" }, "BE": { "additionalProperties": false, "type": "boolean", "title": "Immovable 1.10.0", "description": "An Immovable block cannot be pushed by pistons" }, "BF": { "additionalProperties": false, "type": "string", "title": "Loot 1.10.0", "description": "The path of the loot table that this component will use when the block is destroyed.", "pattern": "loot_tables/.*\\.json$" }, "BG": { "additionalProperties": false, "type": "string", "title": "Map Color 1.10.0", "description": "A color represented as a hex value. This will be the color rendered to a map.", "format": "color-hex" }, "BH_material_instance": { "title": "Material Instance", "description": "A single material instance", "additionalProperties": false, "properties": { "ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" }, "face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" }, "render_method": { "type": "string", "title": "Render Method", "description": "UNDOCUMENTATED", "enum": ["blend", "opaque", "alpha_test"] }, "texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTATED" } } }, "BH": { "type": "object", "title": "Material Instances 1.10.0", "description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance", "properties": { "*": { "$ref": "#/definitions/BH_material_instance" } }, "additionalProperties": { "$ref": "#/definitions/BH_material_instance" } }, "BI": { "type": "boolean", "title": "Only Piston Push 1.10.0", "description": "Blocks with those components won't stick to stickyPistons" }, "BJ": { "title": "Pick Collision 1.10.0", "description": "Can only be set to false, it disables the collision of the block with entities", "oneOf": [ { "type": "boolean", "const": false }, { "type": "object", "additionalProperties": false, "properties": { "origin": { "type": "array", "title": "Origin", "description": "Minimal position Bounds of the collision box", "default": [-8.0, 0.0, -8.0], "items": [ { "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Z", "description": "The z offset" } ] }, "size": { "type": "array", "title": "Size", "description": "Size of each side of the box of the component", "default": [16.0, 16.0, 16.0], "items": [ { "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Z", "description": "The z size" } ] } } } ] }, "CA": { "title": "Placement Filter 1.10.0", "description": "Sets rules for under what conditions the block can be placed/survive", "type": "object", "properties": { "conditions": { "title": "Conditions", "description": "List of conditions where the block can be placed/survive", "type": "array", "items": { "type": "object", "title": "Condition", "description": "UNDOCUMENTATED", "properties": { "allowed_faces": { "title": "Allowed Faces", "description": "List of any of the following strings: up, down, north, south, east, west, side, all", "type": "array", "items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] } }, "block_filter": { "title": "Block Filter", "description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction", "type": "array", "items": { "type": "string", "title": "Block Identifier", "description": "UNDOCUMENTATED" } } } } } } }, "CB": { "title": "Prevents Jumping 1.10.0", "description": "This component makes it so actors can't jump when walking on this block", "type": "boolean" }, "CC": { "title": "Random Ticking 1.10.0", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, "properties": { "on_tick": { "title": "On Tick", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "string", "additionalProperties": false, "properties": { "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, "target": { "title": "Target", "description": "The target of event executed on the block.", "type": "string", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] } } } } }, "CD": { "title": "Rotation 1.10.0", "description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.", "type": "array", "additionalProperties": false, "items": [ { "type": "number", "title": "X" }, { "type": "number", "title": "Y" }, { "type": "number", "title": "Z" } ] }, "CE": { "title": "Ticking 1.10.0", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, "properties": { "looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" }, "range": { "title": "Range", "description": "The Range between which the component will trigger his event.", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, "on_tick": { "type": "object", "title": "On Tick", "description": "Describes the component that will trigger an even at a regular interval between two values", "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "target": { "title": "Target", "description": "The target of event executed on the block.", "type": "string", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] } } } }, "CF": { "title": "Unit Cube 1.10.0", "description": "Specifies that a unit cube is to be used with tessellation.", "type": "string" }, "CG": { "title": "Unwalkable 1.10.0", "description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true", "type": "boolean" }, "C": { "title": "Components", "description": "The components of that define this block", "required": [], "type": "object", "additionalProperties": false, "properties": { "minecraft:block_light_absorption": { "$ref": "#/definitions/D" }, "minecraft:block_light_emission": { "$ref": "#/definitions/E" }, "minecraft:breakonpush": { "$ref": "#/definitions/F" }, "minecraft:breathability": { "$ref": "#/definitions/G" }, "minecraft:destroy_time": { "$ref": "#/definitions/H" }, "minecraft:display_name": { "$ref": "#/definitions/I" }, "minecraft:entity_collision": { "$ref": "#/definitions/J" }, "minecraft:explosion_resistance": { "$ref": "#/definitions/BA" }, "minecraft:flammable": { "$ref": "#/definitions/BB" }, "minecraft:friction": { "$ref": "#/definitions/BC" }, "minecraft:geometry": { "$ref": "#/definitions/BD" }, "minecraft:immovable": { "$ref": "#/definitions/BE" }, "minecraft:loot": { "$ref": "#/definitions/BF" }, "minecraft:map_color": { "$ref": "#/definitions/BG" }, "minecraft:material_instances": { "$ref": "#/definitions/BH" }, "minecraft:onlypistonpush": { "$ref": "#/definitions/BI" }, "minecraft:pick_collision": { "$ref": "#/definitions/BJ" }, "minecraft:placement_filter": { "$ref": "#/definitions/CA" }, "minecraft:preventsjumping": { "$ref": "#/definitions/CB" }, "minecraft:random_ticking": { "$ref": "#/definitions/CC" }, "minecraft:rotation": { "$ref": "#/definitions/CD" }, "minecraft:ticking": { "$ref": "#/definitions/CE" }, "minecraft:unit_cube": { "$ref": "#/definitions/CF" }, "minecraft:unwalkable": { "$ref": "#/definitions/CG" } } }, "A": { "description": "Minecraft blocks 1.10.0", "required": ["format_version", "minecraft:block"], "title": "Block", "type": "object", "additionalProperties": false, "properties": { "format_version": { "title": "1.10.0 Format Version", "type": "string", "const": "1.10.0", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, "minecraft:block": { "title": "Block Definitions", "description": "A custom block definition", "type": "object", "additionalProperties": false, "required": ["description", "components"], "properties": { "description": { "title": "Block Description", "description": "The description for this block", "type": "object", "additionalProperties": false, "required": ["identifier"], "properties": { "identifier": { "type": "string", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "title": "Identifier", "$ref": "#/definitions/B" }, "is_experimental": { "type": "boolean", "default": false, "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "title": "Is Experimental" }, "register_to_creative_menu": { "type": "boolean", "default": false, "description": "Whether or not to register this block to the creative inventory menu.", "title": "Register To Creative Menu" } } }, "components": { "$ref": "#/definitions/C" } } } } }, "CH": { "description": "Minecraft blocks 1.12.0", "required": ["format_version", "minecraft:block"], "title": "Block", "type": "object", "additionalProperties": false, "properties": { "format_version": { "title": "1.12.0 Format Version", "type": "string", "const": "1.12.0", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, "minecraft:block": { "title": "Block Definitions", "description": "A custom block definition", "type": "object", "additionalProperties": false, "required": ["description", "components"], "properties": { "description": { "title": "Block Description", "description": "The description for this block", "type": "object", "additionalProperties": false, "required": ["identifier"], "properties": { "identifier": { "type": "string", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "title": "Identifier", "$ref": "#/definitions/B" }, "is_experimental": { "type": "boolean", "default": false, "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "title": "Is Experimental" }, "register_to_creative_menu": { "type": "boolean", "default": false, "description": "Whether or not to register this block to the creative inventory menu.", "title": "Register To Creative Menu" } } }, "components": { "$ref": "#/definitions/C" } } } } }, "CI": { "description": "Minecraft blocks 1.16.0", "required": ["format_version", "minecraft:block"], "title": "Block", "type": "object", "additionalProperties": false, "properties": { "format_version": { "title": "1.16.0 Format Version", "type": "string", "const": "1.16.0", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, "minecraft:block": { "title": "Block Definitions", "description": "A custom block definition", "type": "object", "additionalProperties": false, "required": ["description", "components"], "properties": { "description": { "title": "Block Description", "description": "The description for this block", "type": "object", "additionalProperties": false, "required": ["identifier"], "properties": { "identifier": { "type": "string", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "title": "Identifier", "$ref": "#/definitions/B" }, "is_experimental": { "type": "boolean", "default": false, "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "title": "Is Experimental" }, "register_to_creative_menu": { "type": "boolean", "default": false, "description": "Whether or not to register this block to the creative inventory menu.", "title": "Register To Creative Menu" }, "properties": { "title": "Properties", "description": "UNDOCUMENATED", "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, "additionalProperties": { "title": "Property", "description": "A block property", "oneOf": [ { "type": "array", "items": { "title": "Property Value", "description": "The value of this property", "anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] } }, { "type": "object" } ] } } } }, "components": { "$ref": "#/definitions/C" } } } } }, "DA": { "type": "object", "title": "On Fall On", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "min_fall_distance": { "type": "number", "default": 0, "description": "The minimum distance in blocks that an actor needs to fall to trigger this event.", "title": "Min Fall Distance" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DB": { "type": "object", "title": "On Fall On", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DC": { "type": "object", "title": "On Placed 1.16.100", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DD": { "type": "object", "title": "On Player Destroyed 1.16.100", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DE": { "type": "object", "title": "On Player Placing 1.16.100", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DF": { "type": "object", "title": "On Step Off 1.16.100", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DG": { "type": "object", "title": "On Step On 1.16.100", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "DH": { "additionalProperties": false, "type": "integer", "title": "Block Light Absorption 1.16.100", "description": "The amount of light this block will absorb.", "default": 0 }, "DI": { "additionalProperties": false, "type": "number", "title": "Block Light Emission 1.16.100", "description": "The amount of light this block will emit in a range [0.0, 1.0].", "minimum": 0, "maximum": 1, "default": 0.0 }, "DJ": { "additionalProperties": false, "type": "boolean", "title": "Break On Push 1.16.100", "description": "When pushed by a piston the block breaks." }, "EA": { "additionalProperties": false, "type": "string", "title": "Breathability 1.16.100", "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", "enum": ["solid", "air"], "default": "solid" }, "EB": { "additionalProperties": false, "type": "number", "title": "Destroy Time 1.16.100", "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times." }, "EC": { "additionalProperties": false, "type": "string", "title": "Display Name 1.16.100", "description": "Specifies the display name id for the block." }, "ED": { "title": "Entity Collision 1.16.100", "description": "Can only be set to false, it disables the collision of the block with entities.", "oneOf": [ { "type": "boolean", "const": false }, { "type": "object", "additionalProperties": false, "properties": { "origin": { "type": "array", "title": "Origin", "description": "Minimal position Bounds of the collision box", "default": [-8.0, 0.0, -8.0], "items": [ { "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Z", "description": "The z offset" } ] }, "size": { "type": "array", "title": "Size", "description": "Size of each side of the box of the component", "default": [16.0, 16.0, 16.0], "items": [ { "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Z", "description": "The z size" } ] } } } ] }, "EE": { "additionalProperties": false, "type": "number", "title": "Explosion Resistance 1.16.100", "description": "Sets the explosion resistance for this block.", "default": 0.0 }, "EF": { "additionalProperties": false, "type": "object", "title": "Flammable 1.16.100", "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" } } }, "EG": { "additionalProperties": false, "type": "number", "title": "Friction 1.16.100", "description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.", "default": 0.1 }, "EH": { "additionalProperties": false, "type": "string", "title": "Geometry 1.16.100", "description": "The geometry definition name to use.", "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" }, "EI": { "additionalProperties": false, "type": "boolean", "title": "Immovable 1.16.100", "description": "An Immovable block cannot be pushed by pistons" }, "EJ": { "additionalProperties": false, "type": "string", "title": "Map Color 1.16.100", "description": "A color represented as a hex value. This will be the color rendered to a map.", "format": "color-hex" }, "FA_material_instance": { "title": "Material Instance", "description": "A single material instance", "additionalProperties": false, "properties": { "ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" }, "face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" }, "render_method": { "type": "string", "title": "Render Method", "description": "UNDOCUMENTATED", "enum": ["blend", "opaque", "alpha_test"] }, "texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTATED" } } }, "FA": { "type": "object", "title": "Material Instances 1.16.100", "description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance", "properties": { "*": { "$ref": "#/definitions/FA_material_instance" } }, "additionalProperties": { "$ref": "#/definitions/FA_material_instance" } }, "FB": { "type": "boolean", "title": "Only Piston Push 1.16.100", "description": "Blocks with those components won't stick to stickyPistons" }, "FC": { "title": "Pick Collision 1.16.100", "description": "Can only be set to false, it disables the collision of the block with entities", "oneOf": [ { "type": "boolean", "const": false }, { "type": "object", "additionalProperties": false, "properties": { "origin": { "type": "array", "title": "Origin", "description": "Minimal position Bounds of the collision box", "default": [-8.0, 0.0, -8.0], "items": [ { "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Z", "description": "The z offset" } ] }, "size": { "type": "array", "title": "Size", "description": "Size of each side of the box of the component", "default": [16.0, 16.0, 16.0], "items": [ { "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Z", "description": "The z size" } ] } } } ] }, "FD": { "title": "Placement Filter 1.16.100", "description": "Sets rules for under what conditions the block can be placed/survive", "type": "object", "properties": { "conditions": { "title": "Conditions", "description": "List of conditions where the block can be placed/survive", "type": "array", "items": { "type": "object", "title": "Condition", "description": "UNDOCUMENTATED", "properties": { "allowed_faces": { "title": "Allowed Faces", "description": "List of any of the following strings: up, down, north, south, east, west, side, all", "type": "array", "items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] } }, "block_filter": { "title": "Block Filter", "description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction", "type": "array", "items": { "type": "string", "title": "Block Identifier", "description": "UNDOCUMENTATED" } } } } } } }, "FE": { "title": "Prevents Jumping 1.16.100", "description": "This component makes it so actors can't jump when walking on this block", "type": "boolean" }, "FF": { "title": "Random Ticking 1.16.100", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, "properties": { "on_tick": { "title": "On Tick", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "string", "additionalProperties": false, "properties": { "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": { "title": "Target", "description": "The target of event executed on the block.", "type": "string", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] } } }, "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" } } }, "FG": { "title": "Rotation 1.16.100", "description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.", "type": "array", "additionalProperties": false, "items": [ { "type": "number", "title": "X" }, { "type": "number", "title": "Y" }, { "type": "number", "title": "Z" } ] }, "FH": { "title": "Ticking 1.16.100", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, "properties": { "looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" }, "range": { "title": "Range", "description": "The Range between which the component will trigger his event.", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, "on_tick": { "type": "object", "title": "On Tick", "description": "Describes the component that will trigger an even at a regular interval between two values", "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "target": { "title": "Target", "description": "The target of event executed on the block.", "type": "string", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] } } } }, "FI": { "title": "Unit Cube 1.16.100", "description": "Specifies that a unit cube is to be used with tessellation.", "type": "string" }, "FJ": { "title": "Unwalkable 1.16.100", "description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true", "type": "boolean" }, "GA_event_base": { "title": "Event", "description": "UNDOCUMENTATED", "type": "object", "additionalProperties": false, "$ref": "#/definitions/GA_event_functions", "properties": { "sequence": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "array", "items": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/GA_event_functions" } }, "randomize": { "title": "Randomize", "description": "UNDOCUMENTATED", "type": "array", "items": { "title": "Randomize", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/GA_event_functions", "required": ["weight"], "properties": { "weight": { "title": "Weight", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } } } }, "add_mob_effect": { "$ref": "#/definitions/GB" }, "damage": { "$ref": "#/definitions/GC" }, "decrement_stack": { "$ref": "#/definitions/GD" }, "die": { "$ref": "#/definitions/GE" }, "play_effect": { "$ref": "#/definitions/GF" }, "play_sound": { "$ref": "#/definitions/GG" }, "remove_mob_effect": { "$ref": "#/definitions/GH" }, "run_command": { "$ref": "#/definitions/GI" }, "set_block": { "$ref": "#/definitions/GJ" }, "set_block_at_pos": { "$ref": "#/definitions/HA" }, "set_block_property": { "$ref": "#/definitions/HB" }, "spawn_loot": { "$ref": "#/definitions/HC" }, "swing": { "$ref": "#/definitions/HD" }, "teleport": { "$ref": "#/definitions/HE" }, "transform_item": { "$ref": "#/definitions/HF" } } }, "GA_event_functions": { "title": "Event", "description": "UNDOCUMENTATED", "type": "object", "additionalProperties": true, "properties": { "add_mob_effect": { "$ref": "#/definitions/GB" }, "damage": { "$ref": "#/definitions/GC" }, "decrement_stack": { "$ref": "#/definitions/GD" }, "die": { "$ref": "#/definitions/GE" }, "play_effect": { "$ref": "#/definitions/GF" }, "play_sound": { "$ref": "#/definitions/GG" }, "remove_mob_effect": { "$ref": "#/definitions/GH" }, "run_command": { "$ref": "#/definitions/GI" }, "set_block": { "$ref": "#/definitions/GJ" }, "set_block_at_pos": { "$ref": "#/definitions/HA" }, "set_block_property": { "$ref": "#/definitions/HB" }, "spawn_loot": { "$ref": "#/definitions/HC" }, "swing": { "$ref": "#/definitions/HD" }, "teleport": { "$ref": "#/definitions/HE" }, "transform_item": { "$ref": "#/definitions/HF" } } }, "GB": { "type": "object", "description": "Apply mob effect to target.", "title": "Add Mob Effect", "additionalProperties": false, "properties": { "amplifier": { "type": "integer", "default": 0, "description": "The amplifier for the mob effect.", "title": "Amplifier" }, "duration": { "type": "number", "default": 0, "description": "The duration of the mob effect.", "title": "Duration" }, "effect": { "type": "string", "default": "", "description": "The mob effect to apply.", "title": "Effect" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "GC": { "type": "object", "description": "Deals damage to the target.", "title": "Damage", "additionalProperties": false, "properties": { "amount": { "type": "integer", "default": 0, "description": "The amount of damage to deal.", "title": "Amount" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }, "type": { "type": "string", "default": "", "description": "The type of damage to deal.", "title": "Type" } } }, "GD": { "type": "object", "description": "Decrement item stack.", "title": "Decrement Stack", "additionalProperties": false, "properties": {} }, "GE": { "type": "object", "description": "Kill target. If target is self and this is run from a block then destroy the block.", "title": "Die", "additionalProperties": false, "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "GF": { "type": "object", "description": "Spawns a particle effect relative to target position.", "title": "Play Effect", "additionalProperties": false, "properties": { "data": { "type": "integer", "default": 0, "description": "Particle data value.", "title": "Data" }, "effect": { "type": "string", "default": "", "description": "The name of the particle effect to create.", "title": "Effect" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "GG": { "type": "object", "description": "Play a sound relative to target position.", "title": "Playsound", "additionalProperties": false, "properties": { "sound": { "type": "string", "default": "", "description": "The name of the sound to play.", "title": "Sound" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "GH": { "type": "object", "description": "Removes mob effect from target.", "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" }, "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "GI": { "type": "object", "description": "Triggers a slash command or a list of slash commands.", "title": "Run Command", "additionalProperties": false, "properties": { "command": { "default": "", "description": "Slash command to run.", "title": "Command", "oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }] }, "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "GJ": { "type": "object", "description": "Sets this block to another block type.", "title": "Set Block", "additionalProperties": false, "properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } }, "HA": { "type": "object", "description": "Sets a block relative to this block to another block type.", "title": "Set Block At Pos", "additionalProperties": false, "properties": { "block_offset": { "type": "array", "default": [0.0, 0.0, 0.0], "description": "The offset from the block's center.", "title": "Block Offset", "items": [ { "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": "Z", "description": "The z offset from the block's center." } ] }, "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } }, "HB": { "type": "object", "description": "Sets a block property on this block", "title": "Set Block Property", "additionalProperties": false, "properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } } }, "HC": { "type": "object", "description": "Spawn loot from block.", "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" } } }, "HD": { "type": "object", "description": "Event causes the actor to swing.", "title": "Swing", "additionalProperties": false, "properties": {} }, "HE": { "type": "object", "description": "Teleport target randomly around destination point.", "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" }, "destination": { "default": [0.0, 0.0, 0.0], "description": "Origin destination of the teleport.", "title": "Destination", "items": [ { "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": "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" }, "max_range": { "default": [8.0, 8.0, 8.0], "description": "Max range the target can teleport relative to the origin destination.", "title": "Max Range", "items": [ { "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": "Z", "description": "The z offset from the block's center." } ] }, "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "HF": { "type": "object", "description": "Transforms item into another item.", "title": "Transform Item 1.16.100", "additionalProperties": false, "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } }, "GA": { "title": "Events", "description": "UNDOCUMENTATED", "type": "object", "properties": { "minecraft:on_interact": { "$ref": "#/definitions/GA_event_base" }, "minecraft:on_step_on": { "$ref": "#/definitions/GA_event_base" }, "minecraft:on_step_off": { "$ref": "#/definitions/GA_event_base" }, "minecraft:on_fall_on": { "$ref": "#/definitions/GA_event_base" }, "minecraft:on_placed": { "$ref": "#/definitions/GA_event_base" }, "minecraft:on_player_placing": { "$ref": "#/definitions/GA_event_base" }, "minecraft:on_player_destroyed": { "$ref": "#/definitions/GA_event_base" }, "minecraft:ticking": { "$ref": "#/definitions/GA_event_base" }, "minecraft:random_ticking": { "$ref": "#/definitions/GA_event_base" } }, "additionalProperties": { "$ref": "#/definitions/GA_event_base" } }, "HG": { "type": "string", "title": "Molang / String", "description": "Molang definition", "format": "molang", "examples": ["query.variant"] }, "CJ": { "description": "Minecraft blocks 1.16.100", "required": ["format_version", "minecraft:block"], "title": "Block", "type": "object", "additionalProperties": false, "properties": { "format_version": { "title": "1.16.100 Format Version", "type": "string", "const": "1.16.100", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, "minecraft:block": { "title": "Block Definitions", "description": "A custom block definition", "type": "object", "additionalProperties": false, "required": ["description", "components"], "definitions": { "CJ_components_ref": { "type": "object", "title": "Component", "description": "UNDOCUMENTATED", "additionalProperties": false, "properties": { "minecraft:on_fall_on": { "$ref": "#/definitions/DA" }, "minecraft:on_interact": { "$ref": "#/definitions/DB" }, "minecraft:on_placed": { "$ref": "#/definitions/DC" }, "minecraft:on_player_destroyed": { "$ref": "#/definitions/DD" }, "minecraft:on_player_placing": { "$ref": "#/definitions/DE" }, "minecraft:on_step_off": { "$ref": "#/definitions/DF" }, "minecraft:on_step_on": { "$ref": "#/definitions/DG" }, "minecraft:block_light_absorption": { "$ref": "#/definitions/DH" }, "minecraft:block_light_emission": { "$ref": "#/definitions/DI" }, "minecraft:breakonpush": { "$ref": "#/definitions/DJ" }, "minecraft:breathability": { "$ref": "#/definitions/EA" }, "minecraft:destroy_time": { "$ref": "#/definitions/EB" }, "minecraft:display_name": { "$ref": "#/definitions/EC" }, "minecraft:entity_collision": { "$ref": "#/definitions/ED" }, "minecraft:explosion_resistance": { "$ref": "#/definitions/EE" }, "minecraft:flammable": { "$ref": "#/definitions/EF" }, "minecraft:friction": { "$ref": "#/definitions/EG" }, "minecraft:geometry": { "$ref": "#/definitions/EH" }, "minecraft:immovable": { "$ref": "#/definitions/EI" }, "minecraft:map_color": { "$ref": "#/definitions/EJ" }, "minecraft:material_instances": { "$ref": "#/definitions/FA" }, "minecraft:onlypistonpush": { "$ref": "#/definitions/FB" }, "minecraft:pick_collision": { "$ref": "#/definitions/FC" }, "minecraft:placement_filter": { "$ref": "#/definitions/FD" }, "minecraft:preventsjumping": { "$ref": "#/definitions/FE" }, "minecraft:random_ticking": { "$ref": "#/definitions/FF" }, "minecraft:rotation": { "$ref": "#/definitions/FG" }, "minecraft:ticking": { "$ref": "#/definitions/FH" }, "minecraft:unit_cube": { "$ref": "#/definitions/FI" }, "minecraft:unwalkable": { "$ref": "#/definitions/FJ" } } } }, "properties": { "description": { "title": "Block Description", "description": "The description for this block", "type": "object", "additionalProperties": false, "required": ["identifier"], "properties": { "identifier": { "type": "string", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "title": "Identifier", "$ref": "#/definitions/B" }, "is_experimental": { "type": "boolean", "default": false, "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "title": "Is Experimental" }, "register_to_creative_menu": { "type": "boolean", "default": false, "description": "Whether or not to register this block to the creative inventory menu.", "title": "Register To Creative Menu" }, "properties": { "title": "Properties", "description": "UNDOCUMENATED", "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, "additionalProperties": { "title": "Property", "description": "A block property", "oneOf": [ { "type": "array", "items": { "title": "Property Value", "description": "The value of this property", "anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] } }, { "type": "object" } ] } } } }, "events": { "$ref": "#/definitions/GA" }, "components": { "type": "object", "title": "Component", "$ref": "#/definitions/CJ_components_ref" }, "permutations": { "type": "array", "title": "Permutations", "description": "UNDOCUMENATED", "items": { "title": "Permutation", "description": "UNDOCUMENATED", "type": "object", "additionalProperties": false, "properties": { "condition": { "title": "Condition", "description": "UNDOCUMENATED", "$ref": "#/definitions/HG" }, "components": { "type": "object", "title": "Component", "$ref": "#/definitions/CJ_components_ref" } } } } } } } }, "HI": { "type": "object", "title": "On Fall On", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "min_fall_distance": { "type": "number", "default": 0, "description": "The minimum distance in blocks that an actor needs to fall to trigger this event.", "title": "Min Fall Distance" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "HJ": { "type": "object", "title": "On Fall On", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "IA": { "type": "object", "title": "On Placed 1.16.200", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "IB": { "type": "object", "title": "On Player Destroyed 1.16.200", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "IC": { "type": "object", "title": "On Player Placing 1.16.200", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "ID": { "type": "object", "title": "On Step Off 1.16.200", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "IE": { "type": "object", "title": "On Step On 1.16.200", "description": "Describes event for this block.", "properties": { "condition": { "type": "string", "default": "", "description": "The condition of event to be executed on the block.", "title": "Condition" }, "event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" }, "target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" } } }, "IF": { "additionalProperties": false, "type": "integer", "title": "Block Light Absorption 1.16.200", "description": "The amount of light this block will absorb.", "default": 0 }, "IG": { "additionalProperties": false, "type": "number", "title": "Block Light Emission 1.16.200", "description": "The amount of light this block will emit in a range [0.0, 1.0].", "minimum": 0, "maximum": 1, "default": 0.0 }, "IH": { "additionalProperties": false, "type": "boolean", "title": "Break On Push 1.16.200", "description": "When pushed by a piston the block breaks." }, "II": { "additionalProperties": false, "type": "string", "title": "Breathability 1.16.200", "description": "Property describing the breathability of this block and whether it is treated as a solid or as air.", "enum": ["solid", "air"], "default": "solid" }, "IJ": { "additionalProperties": false, "type": "number", "title": "Destroy Time 1.16.200", "description": "Sets the destroy time property for the block. Greater numbers result in greater mining times." }, "JA": { "additionalProperties": false, "type": "string", "title": "Display Name 1.16.200", "description": "Specifies the display name id for the block." }, "JB": { "title": "Entity Collision 1.16.200", "description": "Can only be set to false, it disables the collision of the block with entities.", "oneOf": [ { "type": "boolean", "const": false }, { "type": "object", "additionalProperties": false, "properties": { "origin": { "type": "array", "title": "Origin", "description": "Minimal position Bounds of the collision box", "default": [-8.0, 0.0, -8.0], "items": [ { "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Z", "description": "The z offset" } ] }, "size": { "type": "array", "title": "Size", "description": "Size of each side of the box of the component", "default": [16.0, 16.0, 16.0], "items": [ { "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Z", "description": "The z size" } ] } } } ] }, "JC": { "additionalProperties": false, "type": "number", "title": "Explosion Resistance 1.16.200", "description": "Sets the explosion resistance for this block.", "default": 0.0 }, "JD": { "additionalProperties": false, "type": "object", "title": "Flammable 1.16.200", "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" } } }, "JE": { "additionalProperties": false, "type": "number", "title": "Friction 1.16.200", "description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.", "default": 0.1 }, "JF": { "additionalProperties": false, "type": "string", "title": "Geometry 1.16.200", "description": "The geometry definition name to use.", "pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$" }, "JG": { "additionalProperties": false, "type": "boolean", "title": "Immovable 1.16.200", "description": "An Immovable block cannot be pushed by pistons" }, "JH": { "additionalProperties": false, "type": "string", "title": "Map Color 1.16.200", "description": "A color represented as a hex value. This will be the color rendered to a map.", "format": "color-hex" }, "JI_material_instance": { "title": "Material Instance", "description": "A single material instance", "additionalProperties": false, "properties": { "ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTATED" }, "face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTATED" }, "render_method": { "type": "string", "title": "Render Method", "description": "UNDOCUMENTATED", "enum": ["blend", "opaque", "alpha_test"] }, "texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTATED" } } }, "JI": { "type": "object", "title": "Material Instances 1.16.200", "description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance", "properties": { "*": { "$ref": "#/definitions/JI_material_instance" } }, "additionalProperties": { "$ref": "#/definitions/JI_material_instance" } }, "JJ": { "type": "boolean", "title": "Only Piston Push 1.16.200", "description": "Blocks with those components won't stick to stickyPistons" }, "BAA": { "title": "Pick Collision 1.16.200", "description": "Can only be set to false, it disables the collision of the block with entities", "oneOf": [ { "type": "boolean", "const": false }, { "type": "object", "additionalProperties": false, "properties": { "origin": { "type": "array", "title": "Origin", "description": "Minimal position Bounds of the collision box", "default": [-8.0, 0.0, -8.0], "items": [ { "type": "number", "title": "X", "description": "The x offset" }, { "type": "number", "title": "Y", "description": "The y offset" }, { "type": "number", "title": "Z", "description": "The z offset" } ] }, "size": { "type": "array", "title": "Size", "description": "Size of each side of the box of the component", "default": [16.0, 16.0, 16.0], "items": [ { "type": "number", "title": "X", "description": "The x size" }, { "type": "number", "title": "Y", "description": "The y size" }, { "type": "number", "title": "Z", "description": "The z size" } ] } } } ] }, "BAB": { "title": "Placement Filter 1.16.200", "description": "Sets rules for under what conditions the block can be placed/survive", "type": "object", "properties": { "conditions": { "title": "Conditions", "description": "List of conditions where the block can be placed/survive", "type": "array", "items": { "type": "object", "title": "Condition", "description": "UNDOCUMENTATED", "properties": { "allowed_faces": { "title": "Allowed Faces", "description": "List of any of the following strings: up, down, north, south, east, west, side, all", "type": "array", "items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] } }, "block_filter": { "title": "Block Filter", "description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction", "type": "array", "items": { "type": "string", "title": "Block Identifier", "description": "UNDOCUMENTATED" } } } } } } }, "BAC": { "title": "Prevents Jumping 1.16.200", "description": "This component makes it so actors can't jump when walking on this block", "type": "boolean" }, "BAD": { "title": "Random Ticking 1.16.200", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, "properties": { "on_tick": { "title": "On Tick", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "string", "additionalProperties": false, "properties": { "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": { "title": "Target", "description": "The target of event executed on the block.", "type": "string", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] } } }, "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" } } }, "BAE": { "title": "Rotation 1.16.200", "description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.", "type": "array", "additionalProperties": false, "items": [ { "type": "number", "title": "X" }, { "type": "number", "title": "Y" }, { "type": "number", "title": "Z" } ] }, "BAF": { "title": "Ticking 1.16.200", "description": "Describes the component that will trigger an even at a regular interval between two values", "type": "object", "additionalProperties": false, "properties": { "looping": { "type": "boolean", "title": "Looping", "description": "Does the event loop" }, "range": { "title": "Range", "description": "The Range between which the component will trigger his event.", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }, "on_tick": { "type": "object", "title": "On Tick", "description": "Describes the component that will trigger an even at a regular interval between two values", "condition": { "title": "Condition", "type": "string", "description": "The condition of event to be executed on the block. Molang" }, "event": { "title": "Event", "type": "string", "description": "The type of event executed on the block." }, "target": { "title": "Target", "description": "The target of event executed on the block.", "type": "string", "enum": ["block", "damager", "other", "parent", "player", "self", "target"] } } } }, "BAG": { "title": "Unit Cube 1.16.200", "description": "Specifies that a unit cube is to be used with tessellation.", "type": "string" }, "BAH": { "title": "Unwalkable 1.16.200", "description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true", "type": "boolean" }, "BAI_event_base": { "title": "Event", "description": "UNDOCUMENTATED", "type": "object", "additionalProperties": false, "$ref": "#/definitions/BAI_event_functions", "properties": { "sequence": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "array", "items": { "title": "Sequence", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/BAI_event_functions" } }, "randomize": { "title": "Randomize", "description": "UNDOCUMENTATED", "type": "array", "items": { "title": "Randomize", "description": "UNDOCUMENTATED", "type": "object", "$ref": "#/definitions/BAI_event_functions", "required": ["weight"], "properties": { "weight": { "title": "Weight", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } } } }, "add_mob_effect": { "$ref": "#/definitions/BAJ" }, "damage": { "$ref": "#/definitions/BBA" }, "decrement_stack": { "$ref": "#/definitions/BBB" }, "die": { "$ref": "#/definitions/BBC" }, "play_effect": { "$ref": "#/definitions/BBD" }, "play_sound": { "$ref": "#/definitions/BBE" }, "remove_mob_effect": { "$ref": "#/definitions/BBF" }, "run_command": { "$ref": "#/definitions/BBG" }, "set_block": { "$ref": "#/definitions/BBH" }, "set_block_at_pos": { "$ref": "#/definitions/BBI" }, "set_block_property": { "$ref": "#/definitions/BBJ" }, "spawn_loot": { "$ref": "#/definitions/BCA" }, "swing": { "$ref": "#/definitions/BCB" }, "teleport": { "$ref": "#/definitions/BCC" }, "transform_item": { "$ref": "#/definitions/BCD" } } }, "BAI_event_functions": { "title": "Event", "description": "UNDOCUMENTATED", "type": "object", "additionalProperties": true, "properties": { "add_mob_effect": { "$ref": "#/definitions/BAJ" }, "damage": { "$ref": "#/definitions/BBA" }, "decrement_stack": { "$ref": "#/definitions/BBB" }, "die": { "$ref": "#/definitions/BBC" }, "play_effect": { "$ref": "#/definitions/BBD" }, "play_sound": { "$ref": "#/definitions/BBE" }, "remove_mob_effect": { "$ref": "#/definitions/BBF" }, "run_command": { "$ref": "#/definitions/BBG" }, "set_block": { "$ref": "#/definitions/BBH" }, "set_block_at_pos": { "$ref": "#/definitions/BBI" }, "set_block_property": { "$ref": "#/definitions/BBJ" }, "spawn_loot": { "$ref": "#/definitions/BCA" }, "swing": { "$ref": "#/definitions/BCB" }, "teleport": { "$ref": "#/definitions/BCC" }, "transform_item": { "$ref": "#/definitions/BCD" } } }, "BAJ": { "type": "object", "description": "Apply mob effect to target.", "title": "Add Mob Effect 1.16.200", "additionalProperties": false, "properties": { "amplifier": { "type": "integer", "default": 0, "description": "The amplifier for the mob effect.", "title": "Amplifier" }, "duration": { "type": "number", "default": 0, "description": "The duration of the mob effect.", "title": "Duration" }, "effect": { "type": "string", "default": "", "description": "The mob effect to apply.", "title": "Effect" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BBA": { "type": "object", "description": "Deals damage to the target.", "title": "Damage 1.16.200", "additionalProperties": false, "properties": { "amount": { "type": "integer", "default": 0, "description": "The amount of damage to deal.", "title": "Amount" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }, "type": { "type": "string", "default": "", "description": "The type of damage to deal.", "title": "Type" } } }, "BBB": { "type": "object", "description": "Decrement item stack.", "title": "Decrement Stack 1.16.200", "additionalProperties": false, "properties": {} }, "BBC": { "type": "object", "description": "Kill target. If target is self and this is run from a block then destroy the block.", "title": "Die 1.16.200", "additionalProperties": false, "properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BBD": { "type": "object", "description": "Spawns a particle effect relative to target position.", "title": "Play Effect 1.16.200", "additionalProperties": false, "properties": { "data": { "type": "integer", "default": 0, "description": "Particle data value.", "title": "Data" }, "effect": { "type": "string", "default": "", "description": "The name of the particle effect to create.", "title": "Effect" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BBE": { "type": "object", "description": "Play a sound relative to target position.", "title": "Playsound 1.16.200", "additionalProperties": false, "properties": { "sound": { "type": "string", "default": "", "description": "The name of the sound to play.", "title": "Sound" }, "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BBF": { "type": "object", "description": "Removes mob effect from target.", "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" }, "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BBG": { "type": "object", "description": "Triggers a slash command or a list of slash commands.", "title": "Run Command 1.16.200", "additionalProperties": false, "properties": { "command": { "default": "", "description": "Slash command to run.", "title": "Command", "oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }] }, "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BBH": { "type": "object", "description": "Sets this block to another block type.", "title": "Set Block 1.16.200", "additionalProperties": false, "properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } }, "BBI": { "type": "object", "description": "Sets a block relative to this block to another block type.", "title": "Set Block At Pos 1.16.200", "additionalProperties": false, "properties": { "block_offset": { "type": "array", "default": [0.0, 0.0, 0.0], "description": "The offset from the block's center.", "title": "Block Offset", "items": [ { "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": "Z", "description": "The z offset from the block's center." } ] }, "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } } }, "BBJ": { "type": "object", "description": "Sets a block property on this block", "title": "Set Block Property 1.16.200", "additionalProperties": false, "properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } } }, "BCA": { "type": "object", "description": "Spawn loot from block.", "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" } } }, "BCB": { "type": "object", "description": "Event causes the actor to swing.", "title": "Swing 1.16.200", "additionalProperties": false, "properties": {} }, "BCC": { "type": "object", "description": "Teleport target randomly around destination point.", "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" }, "destination": { "default": [0.0, 0.0, 0.0], "description": "Origin destination of the teleport.", "title": "Destination", "items": [ { "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": "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" }, "max_range": { "default": [8.0, 8.0, 8.0], "description": "Max range the target can teleport relative to the origin destination.", "title": "Max Range", "items": [ { "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": "Z", "description": "The z offset from the block's center." } ] }, "target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" } } }, "BCD": { "type": "object", "description": "Transforms item into another item.", "title": "Transform Item 1.16.200", "additionalProperties": false, "properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } } }, "BAI": { "title": "Events", "description": "UNDOCUMENTATED", "type": "object", "properties": { "minecraft:on_interact": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:on_step_on": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:on_step_off": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:on_fall_on": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:on_placed": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:on_player_placing": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:on_player_destroyed": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:ticking": { "$ref": "#/definitions/BAI_event_base" }, "minecraft:random_ticking": { "$ref": "#/definitions/BAI_event_base" } }, "additionalProperties": { "$ref": "#/definitions/BAI_event_base" } }, "HH": { "description": "Minecraft blocks 1.16.200", "required": ["format_version", "minecraft:block"], "title": "Block", "type": "object", "additionalProperties": false, "properties": { "format_version": { "title": "1.16.200 Format Version", "type": "string", "const": "1.16.200", "description": "A version that tells minecraft what type of data format can be expected when reading this file." }, "minecraft:block": { "title": "Block Definitions", "description": "A custom block definition", "type": "object", "additionalProperties": false, "required": ["description", "components"], "definitions": { "HH_components_ref": { "type": "object", "title": "Component", "description": "UNDOCUMENTATED", "additionalProperties": false, "properties": { "minecraft:on_fall_on": { "$ref": "#/definitions/HI" }, "minecraft:on_interact": { "$ref": "#/definitions/HJ" }, "minecraft:on_placed": { "$ref": "#/definitions/IA" }, "minecraft:on_player_destroyed": { "$ref": "#/definitions/IB" }, "minecraft:on_player_placing": { "$ref": "#/definitions/IC" }, "minecraft:on_step_off": { "$ref": "#/definitions/ID" }, "minecraft:on_step_on": { "$ref": "#/definitions/IE" }, "minecraft:block_light_absorption": { "$ref": "#/definitions/IF" }, "minecraft:block_light_emission": { "$ref": "#/definitions/IG" }, "minecraft:breakonpush": { "$ref": "#/definitions/IH" }, "minecraft:breathability": { "$ref": "#/definitions/II" }, "minecraft:destroy_time": { "$ref": "#/definitions/IJ" }, "minecraft:display_name": { "$ref": "#/definitions/JA" }, "minecraft:entity_collision": { "$ref": "#/definitions/JB" }, "minecraft:explosion_resistance": { "$ref": "#/definitions/JC" }, "minecraft:flammable": { "$ref": "#/definitions/JD" }, "minecraft:friction": { "$ref": "#/definitions/JE" }, "minecraft:geometry": { "$ref": "#/definitions/JF" }, "minecraft:immovable": { "$ref": "#/definitions/JG" }, "minecraft:map_color": { "$ref": "#/definitions/JH" }, "minecraft:material_instances": { "$ref": "#/definitions/JI" }, "minecraft:onlypistonpush": { "$ref": "#/definitions/JJ" }, "minecraft:pick_collision": { "$ref": "#/definitions/BAA" }, "minecraft:placement_filter": { "$ref": "#/definitions/BAB" }, "minecraft:preventsjumping": { "$ref": "#/definitions/BAC" }, "minecraft:random_ticking": { "$ref": "#/definitions/BAD" }, "minecraft:rotation": { "$ref": "#/definitions/BAE" }, "minecraft:ticking": { "$ref": "#/definitions/BAF" }, "minecraft:unit_cube": { "$ref": "#/definitions/BAG" }, "minecraft:unwalkable": { "$ref": "#/definitions/BAH" } } } }, "properties": { "description": { "title": "Block Description", "description": "The description for this block", "type": "object", "additionalProperties": false, "required": ["identifier"], "properties": { "identifier": { "type": "string", "description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.", "title": "Identifier", "$ref": "#/definitions/B" }, "is_experimental": { "type": "boolean", "default": false, "description": "If this block is experimental, it will only be registered if the world is marked as experimantal.", "title": "Is Experimental" }, "register_to_creative_menu": { "type": "boolean", "default": false, "description": "Whether or not to register this block to the creative inventory menu.", "title": "Register To Creative Menu" }, "properties": { "title": "Properties", "description": "UNDOCUMENATED", "propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" }, "additionalProperties": { "title": "Property", "description": "A block property", "oneOf": [ { "type": "array", "items": { "title": "Property Value", "description": "The value of this property", "anyOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] } }, { "type": "object" } ] } } } }, "events": { "$ref": "#/definitions/BAI" }, "components": { "type": "object", "title": "Component", "$ref": "#/definitions/HH_components_ref" }, "permutations": { "type": "array", "title": "Permutations", "description": "UNDOCUMENATED", "items": { "title": "Permutation", "description": "UNDOCUMENATED", "type": "object", "additionalProperties": false, "properties": { "condition": { "title": "Condition", "description": "UNDOCUMENATED", "$ref": "#/definitions/HG" }, "components": { "type": "object", "title": "Component", "$ref": "#/definitions/HH_components_ref" } } } } } } } }, "BCE": { "title": "Format Version", "description": "A version that tells minecraft what type of data format can be expected when reading this file.", "pattern": "^(1)\\.([0-9]+)\\.([0-9]+)$", "type": "string" } } }