2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
2021-04-04 13:52:35 +02:00
"$id" : "blockception.minecraft.behavior.1.16.0.blocks" ,
2020-11-01 17:22:42 +01:00
"description" : "Minecraft blocks 1.16.0" ,
"required" : [ "format_version" , "minecraft:block" ] ,
"title" : "Block" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"format_version" : {
2021-03-21 15:18:38 +01:00
"title" : "1.16.0 Format Version" ,
2020-11-01 17:22:42 +01:00
"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" : {
2021-03-21 15:18:38 +01:00
"title" : "Block Definitions" ,
2020-11-01 17:22:42 +01:00
"description" : "A custom block definition" ,
"type" : "object" ,
"additionalProperties" : false ,
"required" : [ "description" , "components" ] ,
"properties" : {
"description" : {
2021-03-21 15:18:38 +01:00
"title" : "Block Description" ,
2020-11-01 17:22:42 +01:00
"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" : "../../../general/block/identifier.json"
} ,
"is_experimental" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If this block is experimental, it will only be registered if the world is marked as experimantal." ,
2021-03-21 15:18:38 +01:00
"title" : "Is Experimental"
2020-11-01 17:22:42 +01:00
} ,
"register_to_creative_menu" : {
"type" : "boolean" ,
"default" : false ,
"description" : "Whether or not to register this block to the creative inventory menu." ,
2021-03-21 15:18:38 +01:00
"title" : "Register To Creative Menu"
2021-02-25 01:08:06 +01:00
} ,
"properties" : {
"title" : "Properties" ,
"description" : "UNDOCUMENATED" ,
2021-03-21 15:18:38 +01:00
"propertyNames" : { "pattern" : "^([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)$" } ,
2021-02-25 01:08:06 +01:00
"additionalProperties" : {
2021-03-13 18:56:04 +01:00
"title" : "Property" ,
"description" : "A block property" ,
"oneOf" : [
{
"type" : "array" ,
"items" : {
2021-03-21 15:18:38 +01:00
"title" : "Property Value" ,
2021-03-13 18:56:04 +01:00
"description" : "The value of this property" ,
2021-03-13 18:59:53 +01:00
"anyOf" : [ { "type" : "boolean" } , { "type" : "number" } , { "type" : "integer" } , { "type" : "string" } ]
2021-03-13 18:56:04 +01:00
}
} ,
{ "type" : "object" }
]
2021-02-25 01:08:06 +01:00
}
2020-11-01 17:22:42 +01:00
}
}
} ,
2021-03-21 15:18:38 +01:00
"components" : { "$ref" : "../1.10.0/components.json" }
2020-11-01 17:22:42 +01:00
}
}
}
}