Files
minecraft-data/schemas/attributes_schema.json
T
extremeheat fa4c64ea7c Update attributes schema, add bedrock data (#692)
* Update attributes schema, add bedrock data

* bedrock fix
2023-07-24 22:12:34 +02:00

34 lines
884 B
JSON

{
"title": "attributes",
"type": "array",
"uniqueItems": true,
"items" : {
"title": "attribute",
"type": "object",
"properties": {
"resource": {
"description": "The Mojang name of an attribute (usually is generic.[name] or minecraft:generic.[name]",
"type": "string"
},
"name": {
"description": "The name of an attribute",
"type": "string",
"pattern": "\\S+"
},
"min": {
"description": "The minimum value of an attribute",
"type": "number"
},
"max": {
"description": "The maximum value of an attribute",
"type": "number"
},
"default": {
"description": "The default value of an attribute",
"type": "number"
}
},
"required": ["resource", "name", "min", "max", "default"],
"additionalProperties":false
}
}