Files
minecraft-bedrock-json-schemas/source/resource/blocks.json
Xterionix 40569873a8 Updated for 1.21.60 (#334)
* - Add crafting item catalogs
* - Removed experimental warning for item visual
* - Added renders_when_invisible entity component
* - Removed experimental warning for liquid detection
* - Added property inheritance to breedable
* - Added min_looked_at_duration field to look_at component
* - Added combine_parent_colors to breedable
* - Update catalog file schema
* - Split storage item components
* - Added new entity filters
* - Added surface opacity to water appearance biome component
* - Remove actor_id loot table example as it is no longer the standard
* - Add set_armor_trim trim loot table function
* - Added match_tool loot table condition
* - Added creature_spawn_probability component
* - Added verticalFlySpeed to has_ability
* - Update descriptions and default values
* - Add base field to block_sounds
* - Removed block sounds enum as creators can specify custom ones too
* - Change default format version
2025-02-13 14:38:27 +01:00

99 lines
3.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.block.json",
"type": "object",
"title": "Blocks",
"description": "The minecraft block definition file.",
"definitions": {
"texture": {
"oneOf": [
{ "type": "string" },
{
"additionalProperties": false,
"type": "object",
"properties": {
"down": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"up": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"side": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"south": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"north": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"west": { "type": "string", "pattern": "^[\\w_\\-]+$" },
"east": { "type": "string", "pattern": "^[\\w_\\-]+$" }
}
}
]
}
},
"propertyNames": { "pattern": "^[\\w_\\-:\\.]+$" },
"properties": {
"format_version": {
"oneOf": [
{ "$ref": "../general/format_version.json" },
{
"title": "Format Version",
"description": "A version that tells Minecraft what type of data format can be expected when reading this file.",
"type": "array",
"default": [1, 1, 0],
"examples": [[1, 1, 0]],
"items": {
"type": "integer"
},
"minItems": 3,
"maxItems": 3,
"uniqueItems": false,
"defaultSnippets": [
{
"label": "New Format version",
"body": [1, 1, 0]
}
]
}
]
}
},
"additionalProperties": {
"additionalProperties": false,
"title": "Block",
"description": "Block texture definition.",
"type": "object",
"properties": {
"brightness_gamma": {
"type": "number",
"title": "Brightness Gamma",
"description": "Specifies the gamma brightness level to apply to the block texture."
},
"carried_textures": {
"$ref": "#/definitions/texture",
"title": "Carried Textures",
"description": "Carried Textures."
},
"isotropic": {
"title": "Isotropic",
"description": "Marks if this block is isotropic or not, or which side are.",
"oneOf": [
{ "type": "boolean" },
{
"additionalProperties": false,
"type": "object",
"properties": {
"down": { "type": "boolean" },
"up": { "type": "boolean" },
"side": { "type": "boolean" },
"south": { "type": "boolean" },
"north": { "type": "boolean" },
"west": { "type": "boolean" },
"east": { "type": "boolean" }
}
}
]
},
"sound": {
"type": "string",
"title": "Sound",
"description": "The sound definition of this block."
},
"textures": { "$ref": "#/definitions/texture", "title": "Textures", "description": "Textures." }
}
}
}