2995 lines
130 KiB
JSON
Vendored
2995 lines
130 KiB
JSON
Vendored
{
|
|
"$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/HI" } },
|
|
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.17.0" } } }, "then": { "$ref": "#/definitions/BCG" } },
|
|
{ "properties": { "format_version": { "$ref": "#/definitions/BHE" } } }
|
|
],
|
|
"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. Time is measured in seconds with base equipment."
|
|
},
|
|
"I": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Display Name 1.10.0",
|
|
"description": "Specifies the language file key that maps to what text will be displayed when you hover over 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. Value must be greater than or equal to 0.",
|
|
"title": "Burn Odds"
|
|
},
|
|
"flame_odds": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.",
|
|
"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 description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
|
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"render_method": {
|
|
"type": "string",
|
|
"title": "Render Method",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"enum": ["blend", "opaque", "alpha_test"]
|
|
},
|
|
"texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
},
|
|
"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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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",
|
|
"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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"CJ_components_ref": {
|
|
"type": "object",
|
|
"title": "Component",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"propertyNames": { "examples": ["tag:foo"] },
|
|
"properties": {
|
|
"minecraft:block_light_absorption": { "$ref": "#/definitions/DA" },
|
|
"minecraft:block_light_emission": { "$ref": "#/definitions/DB" },
|
|
"minecraft:breakonpush": { "$ref": "#/definitions/DC" },
|
|
"minecraft:breathability": { "$ref": "#/definitions/DD" },
|
|
"minecraft:destroy_time": { "$ref": "#/definitions/DE" },
|
|
"minecraft:display_name": { "$ref": "#/definitions/DF" },
|
|
"minecraft:entity_collision": { "$ref": "#/definitions/DG" },
|
|
"minecraft:explosion_resistance": { "$ref": "#/definitions/DH" },
|
|
"minecraft:flammable": { "$ref": "#/definitions/DI" },
|
|
"minecraft:friction": { "$ref": "#/definitions/DJ" },
|
|
"minecraft:geometry": { "$ref": "#/definitions/EA" },
|
|
"minecraft:immovable": { "$ref": "#/definitions/EB" },
|
|
"minecraft:loot": { "$ref": "#/definitions/EC" },
|
|
"minecraft:map_color": { "$ref": "#/definitions/ED" },
|
|
"minecraft:material_instances": { "$ref": "#/definitions/EE" },
|
|
"minecraft:onlypistonpush": { "$ref": "#/definitions/EF" },
|
|
"minecraft:on_fall_on": { "$ref": "#/definitions/EG" },
|
|
"minecraft:on_interact": { "$ref": "#/definitions/EH" },
|
|
"minecraft:on_placed": { "$ref": "#/definitions/EI" },
|
|
"minecraft:on_player_destroyed": { "$ref": "#/definitions/EJ" },
|
|
"minecraft:on_player_placing": { "$ref": "#/definitions/FA" },
|
|
"minecraft:on_step_off": { "$ref": "#/definitions/FB" },
|
|
"minecraft:on_step_on": { "$ref": "#/definitions/FC" },
|
|
"minecraft:pick_collision": { "$ref": "#/definitions/FD" },
|
|
"minecraft:placement_filter": { "$ref": "#/definitions/FE" },
|
|
"minecraft:preventsjumping": { "$ref": "#/definitions/FF" },
|
|
"minecraft:random_ticking": { "$ref": "#/definitions/FG" },
|
|
"minecraft:rotation": { "$ref": "#/definitions/FH" },
|
|
"minecraft:ticking": { "$ref": "#/definitions/FI" },
|
|
"minecraft:unit_cube": { "$ref": "#/definitions/FJ" },
|
|
"minecraft:unwalkable": { "$ref": "#/definitions/GA" }
|
|
},
|
|
"additionalProperties": { "type": "object" }
|
|
},
|
|
"DA": {
|
|
"additionalProperties": false,
|
|
"type": "integer",
|
|
"title": "Block Light Absorption 1.16.100",
|
|
"description": "The amount of light this block will absorb.",
|
|
"default": 0
|
|
},
|
|
"DB": {
|
|
"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
|
|
},
|
|
"DC": {
|
|
"additionalProperties": false,
|
|
"type": "boolean",
|
|
"title": "Break On Push 1.16.100",
|
|
"description": "When pushed by a piston the block breaks."
|
|
},
|
|
"DD": {
|
|
"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"
|
|
},
|
|
"DE": {
|
|
"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. Time is measured in seconds with base equipment."
|
|
},
|
|
"DF": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Display Name 1.16.100",
|
|
"description": "Specifies the language file key that maps to what text will be displayed when you hover over the block."
|
|
},
|
|
"DG": {
|
|
"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" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"DH": {
|
|
"additionalProperties": false,
|
|
"type": "number",
|
|
"title": "Explosion Resistance 1.16.100",
|
|
"description": "Sets the explosion resistance for this block.",
|
|
"default": 0.0
|
|
},
|
|
"DI": {
|
|
"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. Value must be greater than or equal to 0.",
|
|
"title": "Burn Odds"
|
|
},
|
|
"flame_odds": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.",
|
|
"title": "Flame Odds"
|
|
}
|
|
}
|
|
},
|
|
"DJ": {
|
|
"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
|
|
},
|
|
"EA": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Geometry 1.16.100",
|
|
"description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
|
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
|
},
|
|
"EB": {
|
|
"additionalProperties": false,
|
|
"type": "boolean",
|
|
"title": "Immovable 1.16.100",
|
|
"description": "An Immovable block cannot be pushed by pistons"
|
|
},
|
|
"EC": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Loot 1.16.100",
|
|
"description": "The path of the loot table that this component will use when the block is destroyed.",
|
|
"pattern": "loot_tables/.*\\.json$"
|
|
},
|
|
"ED": {
|
|
"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"
|
|
},
|
|
"EE_material_instance": {
|
|
"title": "Material Instance",
|
|
"description": "A single material instance",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"render_method": {
|
|
"type": "string",
|
|
"title": "Render Method",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"enum": ["blend", "opaque", "alpha_test"]
|
|
},
|
|
"texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
},
|
|
"EE": {
|
|
"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/EE_material_instance" } },
|
|
"additionalProperties": { "$ref": "#/definitions/EE_material_instance" }
|
|
},
|
|
"EF": { "type": "boolean", "title": "Only Piston Push 1.16.100", "description": "Blocks with those components won't stick to stickyPistons" },
|
|
"EG": {
|
|
"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": "Minimum Fall Distance"
|
|
},
|
|
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
|
}
|
|
},
|
|
"EH": {
|
|
"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" }
|
|
}
|
|
},
|
|
"EI": {
|
|
"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" }
|
|
}
|
|
},
|
|
"EJ": {
|
|
"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" }
|
|
}
|
|
},
|
|
"FA": {
|
|
"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" }
|
|
}
|
|
},
|
|
"FB": {
|
|
"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" }
|
|
}
|
|
},
|
|
"FC": {
|
|
"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" }
|
|
}
|
|
},
|
|
"FD": {
|
|
"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" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"FE": {
|
|
"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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"FF": {
|
|
"title": "Prevents Jumping 1.16.100",
|
|
"description": "This component makes it so actors can't jump when walking on this block",
|
|
"type": "boolean"
|
|
},
|
|
"FG": {
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"FH": {
|
|
"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" }
|
|
]
|
|
},
|
|
"FI": {
|
|
"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"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"FJ": { "title": "Unit Cube 1.16.100", "description": "Specifies that a unit cube is to be used with tessellation.", "type": "string" },
|
|
"GA": {
|
|
"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"
|
|
},
|
|
"GB_event_base": {
|
|
"title": "Event",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"$ref": "#/definitions/GB_event_functions",
|
|
"properties": {
|
|
"sequence": {
|
|
"title": "Sequence",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Sequence",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"$ref": "#/definitions/GB_event_functions"
|
|
}
|
|
},
|
|
"randomize": {
|
|
"title": "Randomize",
|
|
"description": "Randomly selects one of the following items based upon their weight and the total weights",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Randomize",
|
|
"description": "Randomly selects one of the following items based upon their weight and the total weights",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"$ref": "#/definitions/GB_event_functions",
|
|
"required": ["weight"],
|
|
"properties": {
|
|
"weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 }
|
|
}
|
|
}
|
|
},
|
|
"add_mob_effect": { "$ref": "#/definitions/GC" },
|
|
"damage": { "$ref": "#/definitions/GD" },
|
|
"decrement_stack": { "$ref": "#/definitions/GE" },
|
|
"die": { "$ref": "#/definitions/GF" },
|
|
"play_effect": { "$ref": "#/definitions/GG" },
|
|
"play_sound": { "$ref": "#/definitions/GH" },
|
|
"remove_mob_effect": { "$ref": "#/definitions/GI" },
|
|
"run_command": { "$ref": "#/definitions/GJ" },
|
|
"set_block": { "$ref": "#/definitions/HA" },
|
|
"set_block_at_pos": { "$ref": "#/definitions/HB" },
|
|
"set_block_property": { "$ref": "#/definitions/HC" },
|
|
"spawn_loot": { "$ref": "#/definitions/HD" },
|
|
"swing": { "$ref": "#/definitions/HE" },
|
|
"teleport": { "$ref": "#/definitions/HF" },
|
|
"transform_item": { "$ref": "#/definitions/HG" }
|
|
}
|
|
},
|
|
"GB_event_functions": {
|
|
"title": "Event",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"add_mob_effect": { "$ref": "#/definitions/GC" },
|
|
"damage": { "$ref": "#/definitions/GD" },
|
|
"decrement_stack": { "$ref": "#/definitions/GE" },
|
|
"die": { "$ref": "#/definitions/GF" },
|
|
"play_effect": { "$ref": "#/definitions/GG" },
|
|
"play_sound": { "$ref": "#/definitions/GH" },
|
|
"remove_mob_effect": { "$ref": "#/definitions/GI" },
|
|
"run_command": { "$ref": "#/definitions/GJ" },
|
|
"set_block": { "$ref": "#/definitions/HA" },
|
|
"set_block_at_pos": { "$ref": "#/definitions/HB" },
|
|
"set_block_property": { "$ref": "#/definitions/HC" },
|
|
"spawn_loot": { "$ref": "#/definitions/HD" },
|
|
"swing": { "$ref": "#/definitions/HE" },
|
|
"teleport": { "$ref": "#/definitions/HF" },
|
|
"transform_item": { "$ref": "#/definitions/HG" }
|
|
}
|
|
},
|
|
"GC": {
|
|
"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" }
|
|
}
|
|
},
|
|
"GD": {
|
|
"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" }
|
|
}
|
|
},
|
|
"GE": { "type": "object", "description": "Decrement item stack.", "title": "Decrement Stack", "additionalProperties": false, "properties": {} },
|
|
"GF": {
|
|
"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" } }
|
|
},
|
|
"GG": {
|
|
"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" }
|
|
}
|
|
},
|
|
"GH": {
|
|
"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" }
|
|
}
|
|
},
|
|
"GI": {
|
|
"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" }
|
|
}
|
|
},
|
|
"GJ": {
|
|
"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" }
|
|
}
|
|
},
|
|
"HA": {
|
|
"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" } }
|
|
},
|
|
"HB": {
|
|
"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" }
|
|
}
|
|
},
|
|
"HC": {
|
|
"type": "object",
|
|
"description": "Sets a block property on this block",
|
|
"title": "Set Block Property",
|
|
"propertyNames": { "examples": ["self:foo"] },
|
|
"additionalProperties": { "type": "string", "description": "Block property to set on the block.", "title": "Property" }
|
|
},
|
|
"HD": {
|
|
"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" }
|
|
}
|
|
},
|
|
"HE": { "type": "object", "description": "Event causes the actor to swing.", "title": "Swing", "additionalProperties": false, "properties": {} },
|
|
"HF": {
|
|
"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": "Maximum range the target can teleport relative to the origin destination.",
|
|
"title": "Maximum 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" }
|
|
}
|
|
},
|
|
"HG": {
|
|
"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" } }
|
|
},
|
|
"GB": {
|
|
"title": "Events",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"properties": {
|
|
"minecraft:on_interact": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:on_step_on": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:on_step_off": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:on_fall_on": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:on_placed": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:on_player_placing": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:on_player_destroyed": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:ticking": { "$ref": "#/definitions/GB_event_base" },
|
|
"minecraft:random_ticking": { "$ref": "#/definitions/GB_event_base" }
|
|
},
|
|
"additionalProperties": { "$ref": "#/definitions/GB_event_base" }
|
|
},
|
|
"HH": { "type": "string", "title": "Molang", "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"],
|
|
"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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"propertyNames": { "pattern": "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$", "examples": ["self:foo"] },
|
|
"type": "object",
|
|
"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/GB" },
|
|
"components": { "type": "object", "title": "Component", "$ref": "#/definitions/CJ_components_ref" },
|
|
"permutations": {
|
|
"type": "array",
|
|
"title": "Permutations",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"items": {
|
|
"title": "Permutation",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"condition": { "title": "Condition", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/HH" },
|
|
"components": { "type": "object", "title": "Component", "$ref": "#/definitions/CJ_components_ref" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"HI_components_ref": {
|
|
"type": "object",
|
|
"title": "Component",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"minecraft:block_light_absorption": { "$ref": "#/definitions/HJ" },
|
|
"minecraft:block_light_emission": { "$ref": "#/definitions/IA" },
|
|
"minecraft:breakonpush": { "$ref": "#/definitions/IB" },
|
|
"minecraft:breathability": { "$ref": "#/definitions/IC" },
|
|
"minecraft:destroy_time": { "$ref": "#/definitions/ID" },
|
|
"minecraft:display_name": { "$ref": "#/definitions/IE" },
|
|
"minecraft:entity_collision": { "$ref": "#/definitions/IF" },
|
|
"minecraft:explosion_resistance": { "$ref": "#/definitions/IG" },
|
|
"minecraft:flammable": { "$ref": "#/definitions/IH" },
|
|
"minecraft:friction": { "$ref": "#/definitions/II" },
|
|
"minecraft:geometry": { "$ref": "#/definitions/IJ" },
|
|
"minecraft:immovable": { "$ref": "#/definitions/JA" },
|
|
"minecraft:loot": { "$ref": "#/definitions/JB" },
|
|
"minecraft:map_color": { "$ref": "#/definitions/JC" },
|
|
"minecraft:material_instances": { "$ref": "#/definitions/JD" },
|
|
"minecraft:onlypistonpush": { "$ref": "#/definitions/JE" },
|
|
"minecraft:on_fall_on": { "$ref": "#/definitions/JF" },
|
|
"minecraft:on_interact": { "$ref": "#/definitions/JG" },
|
|
"minecraft:on_placed": { "$ref": "#/definitions/JH" },
|
|
"minecraft:on_player_destroyed": { "$ref": "#/definitions/JI" },
|
|
"minecraft:on_player_placing": { "$ref": "#/definitions/JJ" },
|
|
"minecraft:on_step_off": { "$ref": "#/definitions/BAA" },
|
|
"minecraft:on_step_on": { "$ref": "#/definitions/BAB" },
|
|
"minecraft:pick_collision": { "$ref": "#/definitions/BAC" },
|
|
"minecraft:placement_filter": { "$ref": "#/definitions/BAD" },
|
|
"minecraft:preventsjumping": { "$ref": "#/definitions/BAE" },
|
|
"minecraft:random_ticking": { "$ref": "#/definitions/BAF" },
|
|
"minecraft:rotation": { "$ref": "#/definitions/BAG" },
|
|
"minecraft:ticking": { "$ref": "#/definitions/BAH" },
|
|
"minecraft:unit_cube": { "$ref": "#/definitions/BAI" },
|
|
"minecraft:unwalkable": { "$ref": "#/definitions/BAJ" }
|
|
}
|
|
},
|
|
"HJ": {
|
|
"additionalProperties": false,
|
|
"type": "integer",
|
|
"title": "Block Light Absorption 1.16.200",
|
|
"description": "The amount of light this block will absorb.",
|
|
"default": 0
|
|
},
|
|
"IA": {
|
|
"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
|
|
},
|
|
"IB": {
|
|
"additionalProperties": false,
|
|
"type": "boolean",
|
|
"title": "Break On Push 1.16.200",
|
|
"description": "When pushed by a piston the block breaks."
|
|
},
|
|
"IC": {
|
|
"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"
|
|
},
|
|
"ID": {
|
|
"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. Time is measured in seconds with base equipment."
|
|
},
|
|
"IE": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Display Name 1.16.200",
|
|
"description": "Specifies the language file key that maps to what text will be displayed when you hover over the block."
|
|
},
|
|
"IF": {
|
|
"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" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"IG": {
|
|
"additionalProperties": false,
|
|
"type": "number",
|
|
"title": "Explosion Resistance 1.16.200",
|
|
"description": "Sets the explosion resistance for this block.",
|
|
"default": 0.0
|
|
},
|
|
"IH": {
|
|
"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. Value must be greater than or equal to 0.",
|
|
"title": "Burn Odds"
|
|
},
|
|
"flame_odds": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.",
|
|
"title": "Flame Odds"
|
|
}
|
|
}
|
|
},
|
|
"II": {
|
|
"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
|
|
},
|
|
"IJ": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Geometry 1.16.200",
|
|
"description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
|
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
|
},
|
|
"JA": {
|
|
"additionalProperties": false,
|
|
"type": "boolean",
|
|
"title": "Immovable 1.16.200",
|
|
"description": "An Immovable block cannot be pushed by pistons"
|
|
},
|
|
"JB": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Loot 1.16.200",
|
|
"description": "The path of the loot table that this component will use when the block is destroyed.",
|
|
"pattern": "loot_tables/.*\\.json$"
|
|
},
|
|
"JC": {
|
|
"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"
|
|
},
|
|
"JD_material_instance": {
|
|
"title": "Material Instance",
|
|
"description": "A single material instance",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"render_method": {
|
|
"type": "string",
|
|
"title": "Render Method",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"enum": ["blend", "opaque", "alpha_test"]
|
|
},
|
|
"texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
},
|
|
"JD": {
|
|
"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/JD_material_instance" } },
|
|
"additionalProperties": { "$ref": "#/definitions/JD_material_instance" }
|
|
},
|
|
"JE": { "type": "boolean", "title": "Only Piston Push 1.16.200", "description": "Blocks with those components won't stick to stickyPistons" },
|
|
"JF": {
|
|
"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": "Minimum Fall Distance"
|
|
},
|
|
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
|
}
|
|
},
|
|
"JG": {
|
|
"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" }
|
|
}
|
|
},
|
|
"JH": {
|
|
"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" }
|
|
}
|
|
},
|
|
"JI": {
|
|
"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" }
|
|
}
|
|
},
|
|
"JJ": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BAA": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BAB": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BAC": {
|
|
"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" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BAD": {
|
|
"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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BAE": {
|
|
"title": "Prevents Jumping 1.16.200",
|
|
"description": "This component makes it so actors can't jump when walking on this block",
|
|
"type": "boolean"
|
|
},
|
|
"BAF": {
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"BAG": {
|
|
"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" }
|
|
]
|
|
},
|
|
"BAH": {
|
|
"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"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BAI": { "title": "Unit Cube 1.16.200", "description": "Specifies that a unit cube is to be used with tessellation.", "type": "string" },
|
|
"BAJ": {
|
|
"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"
|
|
},
|
|
"BBA_event_base": {
|
|
"title": "Event",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"$ref": "#/definitions/BBA_event_functions",
|
|
"properties": {
|
|
"sequence": {
|
|
"title": "Sequence",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Sequence",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"$ref": "#/definitions/BBA_event_functions"
|
|
}
|
|
},
|
|
"randomize": {
|
|
"title": "Randomize",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Randomize",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"$ref": "#/definitions/BBA_event_functions",
|
|
"required": ["weight"],
|
|
"properties": {
|
|
"weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 }
|
|
}
|
|
}
|
|
},
|
|
"add_mob_effect": { "$ref": "#/definitions/BBB" },
|
|
"damage": { "$ref": "#/definitions/BBC" },
|
|
"decrement_stack": { "$ref": "#/definitions/BBD" },
|
|
"die": { "$ref": "#/definitions/BBE" },
|
|
"play_effect": { "$ref": "#/definitions/BBF" },
|
|
"play_sound": { "$ref": "#/definitions/BBG" },
|
|
"remove_mob_effect": { "$ref": "#/definitions/BBH" },
|
|
"run_command": { "$ref": "#/definitions/BBI" },
|
|
"set_block": { "$ref": "#/definitions/BBJ" },
|
|
"set_block_at_pos": { "$ref": "#/definitions/BCA" },
|
|
"set_block_property": { "$ref": "#/definitions/BCB" },
|
|
"spawn_loot": { "$ref": "#/definitions/BCC" },
|
|
"swing": { "$ref": "#/definitions/BCD" },
|
|
"teleport": { "$ref": "#/definitions/BCE" },
|
|
"transform_item": { "$ref": "#/definitions/BCF" }
|
|
}
|
|
},
|
|
"BBA_event_functions": {
|
|
"title": "Event",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"add_mob_effect": { "$ref": "#/definitions/BBB" },
|
|
"damage": { "$ref": "#/definitions/BBC" },
|
|
"decrement_stack": { "$ref": "#/definitions/BBD" },
|
|
"die": { "$ref": "#/definitions/BBE" },
|
|
"play_effect": { "$ref": "#/definitions/BBF" },
|
|
"play_sound": { "$ref": "#/definitions/BBG" },
|
|
"remove_mob_effect": { "$ref": "#/definitions/BBH" },
|
|
"run_command": { "$ref": "#/definitions/BBI" },
|
|
"set_block": { "$ref": "#/definitions/BBJ" },
|
|
"set_block_at_pos": { "$ref": "#/definitions/BCA" },
|
|
"set_block_property": { "$ref": "#/definitions/BCB" },
|
|
"spawn_loot": { "$ref": "#/definitions/BCC" },
|
|
"swing": { "$ref": "#/definitions/BCD" },
|
|
"teleport": { "$ref": "#/definitions/BCE" },
|
|
"transform_item": { "$ref": "#/definitions/BCF" }
|
|
}
|
|
},
|
|
"BBB": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BBC": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BBD": {
|
|
"type": "object",
|
|
"description": "Decrement item stack.",
|
|
"title": "Decrement Stack 1.16.200",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
},
|
|
"BBE": {
|
|
"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" } }
|
|
},
|
|
"BBF": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BBG": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BBH": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BBI": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BBJ": {
|
|
"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" } }
|
|
},
|
|
"BCA": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BCB": {
|
|
"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" } }
|
|
},
|
|
"BCC": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BCD": {
|
|
"type": "object",
|
|
"description": "Event causes the actor to swing.",
|
|
"title": "Swing 1.16.200",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
},
|
|
"BCE": {
|
|
"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": "Maximum range the target can teleport relative to the origin destination.",
|
|
"title": "Maximum 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" }
|
|
}
|
|
},
|
|
"BCF": {
|
|
"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" } }
|
|
},
|
|
"BBA": {
|
|
"title": "Events",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"properties": {
|
|
"minecraft:on_interact": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:on_step_on": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:on_step_off": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:on_fall_on": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:on_placed": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:on_player_placing": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:on_player_destroyed": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:ticking": { "$ref": "#/definitions/BBA_event_base" },
|
|
"minecraft:random_ticking": { "$ref": "#/definitions/BBA_event_base" }
|
|
},
|
|
"additionalProperties": { "$ref": "#/definitions/BBA_event_base" }
|
|
},
|
|
"HI": {
|
|
"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"],
|
|
"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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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/BBA" },
|
|
"components": { "type": "object", "title": "Component", "$ref": "#/definitions/HI_components_ref" },
|
|
"permutations": {
|
|
"type": "array",
|
|
"title": "Permutations",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"items": {
|
|
"title": "Permutation",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"condition": { "title": "Condition", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/HH" },
|
|
"components": { "type": "object", "title": "Component", "$ref": "#/definitions/HI_components_ref" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BCG_components_ref": {
|
|
"type": "object",
|
|
"title": "Component",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"minecraft:block_light_absorption": { "$ref": "#/definitions/BCH" },
|
|
"minecraft:block_light_emission": { "$ref": "#/definitions/BCI" },
|
|
"minecraft:breakonpush": { "$ref": "#/definitions/BCJ" },
|
|
"minecraft:breathability": { "$ref": "#/definitions/BDA" },
|
|
"minecraft:destroy_time": { "$ref": "#/definitions/BDB" },
|
|
"minecraft:display_name": { "$ref": "#/definitions/BDC" },
|
|
"minecraft:entity_collision": { "$ref": "#/definitions/BDD" },
|
|
"minecraft:explosion_resistance": { "$ref": "#/definitions/BDE" },
|
|
"minecraft:flammable": { "$ref": "#/definitions/BDF" },
|
|
"minecraft:friction": { "$ref": "#/definitions/BDG" },
|
|
"minecraft:geometry": { "$ref": "#/definitions/BDH" },
|
|
"minecraft:immovable": { "$ref": "#/definitions/BDI" },
|
|
"minecraft:loot": { "$ref": "#/definitions/BDJ" },
|
|
"minecraft:map_color": { "$ref": "#/definitions/BEA" },
|
|
"minecraft:material_instances": { "$ref": "#/definitions/BEB" },
|
|
"minecraft:onlypistonpush": { "$ref": "#/definitions/BEC" },
|
|
"minecraft:on_fall_on": { "$ref": "#/definitions/BED" },
|
|
"minecraft:on_interact": { "$ref": "#/definitions/BEE" },
|
|
"minecraft:on_placed": { "$ref": "#/definitions/BEF" },
|
|
"minecraft:on_player_destroyed": { "$ref": "#/definitions/BEG" },
|
|
"minecraft:on_player_placing": { "$ref": "#/definitions/BEH" },
|
|
"minecraft:on_step_off": { "$ref": "#/definitions/BEI" },
|
|
"minecraft:on_step_on": { "$ref": "#/definitions/BEJ" },
|
|
"minecraft:pick_collision": { "$ref": "#/definitions/BFA" },
|
|
"minecraft:placement_filter": { "$ref": "#/definitions/BFB" },
|
|
"minecraft:preventsjumping": { "$ref": "#/definitions/BFC" },
|
|
"minecraft:random_ticking": { "$ref": "#/definitions/BFD" },
|
|
"minecraft:rotation": { "$ref": "#/definitions/BFE" },
|
|
"minecraft:ticking": { "$ref": "#/definitions/BFF" },
|
|
"minecraft:unit_cube": { "$ref": "#/definitions/BFG" },
|
|
"minecraft:unwalkable": { "$ref": "#/definitions/BFH" }
|
|
}
|
|
},
|
|
"BCH": {
|
|
"additionalProperties": false,
|
|
"type": "integer",
|
|
"title": "Block Light Absorption 1.17.0",
|
|
"description": "The amount of light this block will absorb.",
|
|
"default": 0
|
|
},
|
|
"BCI": {
|
|
"additionalProperties": false,
|
|
"type": "number",
|
|
"title": "Block Light Emission 1.17.0",
|
|
"description": "The amount of light this block will emit in a range [0.0, 1.0].",
|
|
"minimum": 0,
|
|
"maximum": 1,
|
|
"default": 0.0
|
|
},
|
|
"BCJ": {
|
|
"additionalProperties": false,
|
|
"type": "boolean",
|
|
"title": "Break On Push 1.17.0",
|
|
"description": "When pushed by a piston the block breaks."
|
|
},
|
|
"BDA": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Breathability 1.17.0",
|
|
"description": "Property describing the breathability of the block, and whether it's treated as a solid block or a block of air",
|
|
"enum": ["solid", "air"],
|
|
"default": "solid"
|
|
},
|
|
"BDB": {
|
|
"additionalProperties": false,
|
|
"type": "number",
|
|
"title": "Destroy Time 1.17.0",
|
|
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times. Time is measured in seconds with base equipment.",
|
|
"default": 0.0
|
|
},
|
|
"BDC": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Display Name 1.17.0",
|
|
"description": "Specifies the language file key that maps to what text will be displayed when you hover over the block."
|
|
},
|
|
"BDD": {
|
|
"title": "Entity Collision 1.17.0",
|
|
"description": "Can only be set to false or an object, 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" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BDE": {
|
|
"additionalProperties": false,
|
|
"type": "number",
|
|
"title": "Explosion Resistance 1.17.0",
|
|
"description": "Sets the explosion resistance for this block.",
|
|
"default": 0.0
|
|
},
|
|
"BDF": {
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "Flammable 1.17.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. Value must be greater than or equal to 0.",
|
|
"title": "Burn Odds"
|
|
},
|
|
"flame_odds": {
|
|
"type": "integer",
|
|
"default": 0,
|
|
"description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.",
|
|
"title": "Flame Odds"
|
|
}
|
|
}
|
|
},
|
|
"BDG": {
|
|
"additionalProperties": false,
|
|
"type": "number",
|
|
"title": "Friction 1.17.0",
|
|
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
|
|
"default": 0.1
|
|
},
|
|
"BDH": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Geometry 1.17.0",
|
|
"description": "The geometry description identifier to use, this identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
|
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
|
},
|
|
"BDI": {
|
|
"additionalProperties": false,
|
|
"type": "boolean",
|
|
"title": "Immovable 1.17.0",
|
|
"description": "An Immovable block cannot be pushed by pistons"
|
|
},
|
|
"BDJ": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Loot 1.17.0",
|
|
"description": "The path of the loot table that this component will use when the block is destroyed.",
|
|
"pattern": "loot_tables/.*\\.json$"
|
|
},
|
|
"BEA": {
|
|
"additionalProperties": false,
|
|
"type": "string",
|
|
"title": "Map Color 1.17.0",
|
|
"description": "A color represented as a hex value. This will be the color rendered to a map.",
|
|
"format": "color-hex",
|
|
"examples": ["#FFFFFF"]
|
|
},
|
|
"BEB_material_instance": {
|
|
"title": "Material Instance",
|
|
"description": "A single material instance",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ambient_occlusion": { "title": "Ambient Occlusion", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"face_dimming": { "title": "Face Dimming", "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
|
"render_method": {
|
|
"type": "string",
|
|
"title": "Render Method",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"enum": ["blend", "opaque", "alpha_test"]
|
|
},
|
|
"texture": { "type": "string", "title": "Texture", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
},
|
|
"BEB": {
|
|
"type": "object",
|
|
"title": "Material Instances 1.17.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/BEB_material_instance" } },
|
|
"additionalProperties": { "$ref": "#/definitions/BEB_material_instance" }
|
|
},
|
|
"BEC": { "type": "boolean", "title": "Only Piston Push 1.17.0", "description": "Blocks with those components won't stick to stickyPistons" },
|
|
"BED": {
|
|
"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": "Minimum Fall Distance"
|
|
},
|
|
"target": { "type": "string", "default": "self", "description": "The target of event executed on the block.", "title": "Target" }
|
|
}
|
|
},
|
|
"BEE": {
|
|
"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" }
|
|
}
|
|
},
|
|
"BEF": {
|
|
"type": "object",
|
|
"title": "On Placed 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BEG": {
|
|
"type": "object",
|
|
"title": "On Player Destroyed 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BEH": {
|
|
"type": "object",
|
|
"title": "On Player Placing 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BEI": {
|
|
"type": "object",
|
|
"title": "On Step Off 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BEJ": {
|
|
"type": "object",
|
|
"title": "On Step On 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BFA": {
|
|
"title": "Pick Collision 1.17.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" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"BFB": {
|
|
"title": "Placement Filter 1.17.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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BFC": {
|
|
"title": "Prevents Jumping 1.17.0",
|
|
"description": "This component makes it so actors can't jump when walking on this block",
|
|
"type": "boolean"
|
|
},
|
|
"BFD": {
|
|
"title": "Random Ticking 1.17.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",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"BFE": {
|
|
"title": "Rotation 1.17.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" }
|
|
]
|
|
},
|
|
"BFF": {
|
|
"title": "Ticking 1.17.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"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BFG": { "title": "Unit Cube 1.17.0", "description": "Specifies that a unit cube is to be used with tessellation.", "type": "string" },
|
|
"BFH": {
|
|
"title": "Unwalkable 1.17.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"
|
|
},
|
|
"BFI_event_base": {
|
|
"title": "Event",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"$ref": "#/definitions/BFI_event_functions",
|
|
"properties": {
|
|
"sequence": {
|
|
"title": "Sequence",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Sequence",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"$ref": "#/definitions/BFI_event_functions"
|
|
}
|
|
},
|
|
"randomize": {
|
|
"title": "Randomize",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "Randomize",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"$ref": "#/definitions/BFI_event_functions",
|
|
"required": ["weight"],
|
|
"properties": {
|
|
"weight": { "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 }
|
|
}
|
|
}
|
|
},
|
|
"add_mob_effect": { "$ref": "#/definitions/BFJ" },
|
|
"damage": { "$ref": "#/definitions/BGA" },
|
|
"decrement_stack": { "$ref": "#/definitions/BGB" },
|
|
"die": { "$ref": "#/definitions/BGC" },
|
|
"play_effect": { "$ref": "#/definitions/BGD" },
|
|
"play_sound": { "$ref": "#/definitions/BGE" },
|
|
"remove_mob_effect": { "$ref": "#/definitions/BGF" },
|
|
"run_command": { "$ref": "#/definitions/BGG" },
|
|
"set_block": { "$ref": "#/definitions/BGH" },
|
|
"set_block_at_pos": { "$ref": "#/definitions/BGI" },
|
|
"set_block_property": { "$ref": "#/definitions/BGJ" },
|
|
"spawn_loot": { "$ref": "#/definitions/BHA" },
|
|
"swing": { "$ref": "#/definitions/BHB" },
|
|
"teleport": { "$ref": "#/definitions/BHC" },
|
|
"transform_item": { "$ref": "#/definitions/BHD" }
|
|
}
|
|
},
|
|
"BFI_event_functions": {
|
|
"title": "Event",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"add_mob_effect": { "$ref": "#/definitions/BFJ" },
|
|
"damage": { "$ref": "#/definitions/BGA" },
|
|
"decrement_stack": { "$ref": "#/definitions/BGB" },
|
|
"die": { "$ref": "#/definitions/BGC" },
|
|
"play_effect": { "$ref": "#/definitions/BGD" },
|
|
"play_sound": { "$ref": "#/definitions/BGE" },
|
|
"remove_mob_effect": { "$ref": "#/definitions/BGF" },
|
|
"run_command": { "$ref": "#/definitions/BGG" },
|
|
"set_block": { "$ref": "#/definitions/BGH" },
|
|
"set_block_at_pos": { "$ref": "#/definitions/BGI" },
|
|
"set_block_property": { "$ref": "#/definitions/BGJ" },
|
|
"spawn_loot": { "$ref": "#/definitions/BHA" },
|
|
"swing": { "$ref": "#/definitions/BHB" },
|
|
"teleport": { "$ref": "#/definitions/BHC" },
|
|
"transform_item": { "$ref": "#/definitions/BHD" }
|
|
}
|
|
},
|
|
"BFJ": {
|
|
"type": "object",
|
|
"description": "Apply mob effect to target.",
|
|
"title": "Add Mob Effect 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGA": {
|
|
"type": "object",
|
|
"description": "Deals damage to the target.",
|
|
"title": "Damage 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGB": {
|
|
"type": "object",
|
|
"description": "Decrement item stack.",
|
|
"title": "Decrement Stack 1.17.0",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
},
|
|
"BGC": {
|
|
"type": "object",
|
|
"description": "Kill target. If target is self and this is run from a block then destroy the block.",
|
|
"title": "Die 1.17.0",
|
|
"additionalProperties": false,
|
|
"properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } }
|
|
},
|
|
"BGD": {
|
|
"type": "object",
|
|
"description": "Spawns a particle effect relative to target position.",
|
|
"title": "Play Effect 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGE": {
|
|
"type": "object",
|
|
"description": "Play a sound relative to target position.",
|
|
"title": "Playsound 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGF": {
|
|
"type": "object",
|
|
"description": "Removes mob effect from target.",
|
|
"title": "Remove Mob Effect 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGG": {
|
|
"type": "object",
|
|
"description": "Triggers a slash command or a list of slash commands.",
|
|
"title": "Run Command 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGH": {
|
|
"type": "object",
|
|
"description": "Sets this block to another block type.",
|
|
"title": "Set Block 1.17.0",
|
|
"additionalProperties": false,
|
|
"properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } }
|
|
},
|
|
"BGI": {
|
|
"type": "object",
|
|
"description": "Sets a block relative to this block to another block type.",
|
|
"title": "Set Block At Pos 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BGJ": {
|
|
"type": "object",
|
|
"description": "Sets a block property on this block",
|
|
"title": "Set Block Property 1.17.0",
|
|
"additionalProperties": false,
|
|
"properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } }
|
|
},
|
|
"BHA": {
|
|
"type": "object",
|
|
"description": "Spawn loot from block.",
|
|
"title": "Spawn Loot 1.17.0",
|
|
"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" }
|
|
}
|
|
},
|
|
"BHB": {
|
|
"type": "object",
|
|
"description": "Event causes the actor to swing.",
|
|
"title": "Swing 1.17.0",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
},
|
|
"BHC": {
|
|
"type": "object",
|
|
"description": "Teleport target randomly around destination point.",
|
|
"title": "Teleport 1.17.0",
|
|
"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": "Maximum range the target can teleport relative to the origin destination.",
|
|
"title": "Maximum 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" }
|
|
}
|
|
},
|
|
"BHD": {
|
|
"type": "object",
|
|
"description": "Transforms item into another item.",
|
|
"title": "Transform Item 1.17.0",
|
|
"additionalProperties": false,
|
|
"properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } }
|
|
},
|
|
"BFI": {
|
|
"title": "Events",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"properties": {
|
|
"minecraft:on_interact": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:on_step_on": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:on_step_off": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:on_fall_on": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:on_placed": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:on_player_placing": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:on_player_destroyed": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:ticking": { "$ref": "#/definitions/BFI_event_base" },
|
|
"minecraft:random_ticking": { "$ref": "#/definitions/BFI_event_base" }
|
|
},
|
|
"additionalProperties": { "$ref": "#/definitions/BFI_event_base" }
|
|
},
|
|
"BCG": {
|
|
"description": "Minecraft blocks 1.17.0",
|
|
"required": ["format_version", "minecraft:block"],
|
|
"title": "Block",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"format_version": {
|
|
"title": "1.17.0 Format Version",
|
|
"type": "string",
|
|
"const": "1.17.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": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"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/BFI" },
|
|
"components": { "type": "object", "title": "Component", "$ref": "#/definitions/BCG_components_ref" },
|
|
"permutations": {
|
|
"type": "array",
|
|
"title": "Permutations",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"items": {
|
|
"title": "Permutation",
|
|
"description": "UNDOCUMENTED",
|
|
"$comment": "UNDOCUMENTED",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"condition": { "title": "Condition", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/HH" },
|
|
"components": { "type": "object", "title": "Component", "$ref": "#/definitions/BCG_components_ref" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BHE": {
|
|
"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"
|
|
}
|
|
}
|
|
}
|